core/vgui/vgui_button.h
Go to the documentation of this file.
00001 // This is core/vgui/vgui_button.h
00002 #ifndef vgui_button_h_
00003 #define vgui_button_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 // \brief Enumeration of possible mouse buttons.
00010 //
00011 //  WIN32 NOTE: The middle mouse button does not produce a middle mouse button
00012 //  event by default on Windows.  If you are not getting middle mouse button
00013 //  events then look at Start->Settings->Control Panel->Mouse.  Check on
00014 //  the "Button Actions" tab that your middle mouse button is set to "Middle"
00015 //  - kym.
00016 
00017 #include <vcl_iosfwd.h>
00018 
00019 //: Enumeration of possible mouse buttons.
00020 enum vgui_button {
00021   vgui_BUTTON_NULL=0,
00022   vgui_LEFT  =0x1,
00023   vgui_MIDDLE=0x2,
00024   vgui_RIGHT =0x4
00025 };
00026 
00027 vcl_ostream& operator<<(vcl_ostream& s, vgui_button b);
00028 
00029 #endif // vgui_button_h_