Logo Search packages:      
Sourcecode: blender version File versions

GHOST_TSuccess GHOST_SystemCarbon::getButtons ( GHOST_Buttons buttons  )  const [virtual]

Returns the state of the mouse buttons (ouside the message queue).

buttons The state of the buttons.
Indication of success.

Implements GHOST_System.

Definition at line 517 of file GHOST_SystemCarbon.cpp.

References GHOST_Buttons::clear(), and GHOST_Buttons::set().

    Boolean theOnlyButtonIsDown = ::Button();
    buttons.set(GHOST_kButtonMaskLeft, theOnlyButtonIsDown);
    return GHOST_kSuccess;

Generated by  Doxygen 1.6.0   Back to index