The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

gii_expose_event (9)
  • >> gii_expose_event (9) ( Linux man: Ядро )
  •  

    NAME

    gii_expose_event - LibGII expose events
     
    

    SYNOPSIS

    #include <ggi/events.h>
    
    
     

    DESCRIPTION

    If an application loses the focus and is not physically displayed (e.g. console switching, iconifying), it may be stopped. Some targets may implement a backbuffer and allow continuing, though.

    After reactivation, the application will receive a redraw event, evExpose.  

    GENERATED EVENTS

    The gii_expose_event is used for the evExpose event.  

    STRUCTURE MEMBERS

    typedef struct gii_expose_event {
    
            COMMON_DATA;
    
            uint32  x,y;
            uint32  h,w;
    
    } gii_expose_event;
    
    

    The fields describe the region which needs to be redrawn.  

    EXAMPLES

     

    EVEXPOSE HANDLING SKELETON

            ggi_visual_t vis;
            ggi_event ev;
    
            /* ... wait and get the event... */
    
            if (ev.any.type == evExpose) {
    
                    /* We might not be able to render partially ... */
                    render_screen(vis);
                    
                    /* but flush only the region needed */
                    ggiFlushRegion(vis, ev.expose.x, ev.expose.y,
                                        ev.expose.w, ev.expose.h);
            }
    
            /* ... etc ... */
    
    
     

    SEE ALSO

    gii_event(9)


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    GENERATED EVENTS
    STRUCTURE MEMBERS
    EXAMPLES
    EVEXPOSE HANDLING SKELETON
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Спонсоры:
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2021 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру