libbluray | branch: master | hpi1 <[email protected]> | Wed May 4 14:53:07 2011 +0300| [f477eea1df3d47af3f3788e4e7e7bf36c91860a1] | committer: hpi1
Grouped GC_CTRL_* enums > http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=f477eea1df3d47af3f3788e4e7e7bf36c91860a1 --- src/libbluray/decoders/graphics_controller.h | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/libbluray/decoders/graphics_controller.h b/src/libbluray/decoders/graphics_controller.h index a0123e2..30ef627 100644 --- a/src/libbluray/decoders/graphics_controller.h +++ b/src/libbluray/decoders/graphics_controller.h @@ -40,15 +40,21 @@ typedef struct graphics_controller_s GRAPHICS_CONTROLLER; typedef void (*gc_overlay_proc_f)(void *, const struct bd_overlay_s * const); typedef enum { - GC_CTRL_NOP, + /* */ + GC_CTRL_NOP, /* No input. Render page / run timers / run animations */ + GC_CTRL_RESET, /* reset graphics controller */ + + /* user input */ GC_CTRL_VK_KEY, /* param: bd_vk_key_e */ + GC_CTRL_MOUSE_MOVE, /* move selected button to (x,y), param: (x<<16 | y) */ + + /* HDMV VM control messages */ GC_CTRL_ENABLE_BUTTON, /* param: button_id */ GC_CTRL_DISABLE_BUTTON, /* param: button_id */ GC_CTRL_SET_BUTTON_PAGE, GC_CTRL_POPUP, /* param: on/off */ GC_CTRL_IG_END, /* execution of IG object is complete */ - GC_CTRL_RESET, /* reset graphics controller */ - GC_CTRL_MOUSE_MOVE, /* move selected button to (x,y), param: (x<<16 | y) */ + } gc_ctrl_e; typedef struct { _______________________________________________ libbluray-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libbluray-devel
