Logo Search packages:      
Sourcecode: zebra version File versions  Download package

int zebra_processor_is_visible ( zebra_processor_t processor  ) 

retrieve the current state of the ouput window.

Returns:
1 if the output window is currently displayed, 0 if not.

-1 if an error occurs

Definition at line 615 of file processor.c.

References zebra_processor_is_visible().

Referenced by zebra::Processor::is_visible(), and zebra_processor_is_visible().

{
    if(proc_lock(proc) < 0)
        return(-1);
    int visible = proc->window && proc->visible;
    proc_unlock(proc);
    return(visible);
}


Generated by  Doxygen 1.6.0   Back to index