00001 // This is core/vgui/vgui_popup_params.h 00002 #ifndef vgui_popup_params_h_ 00003 #define vgui_popup_params_h_ 00004 //: 00005 // \file 00006 // \author Philip C. Pritchett, Robotics Research Group, University of Oxford 00007 // \date 21 Jan 00 00008 // \brief contains class vgui_popup_params 00009 // 00010 // \verbatim 00011 // Modifications 00012 // 10 Sep. 2004 Peter Vanroose Inlined all 1-line methods in class decl 00013 // \endverbatim 00014 00015 class vgui_popup_params 00016 { 00017 public: 00018 vgui_popup_params() : x(-1), y(-1), recurse(true), nested(false), defaults(false) {} 00019 // viewport coordinates of mouse when used to activate popup menu 00020 int x,y; 00021 bool recurse; 00022 bool nested; 00023 bool defaults; 00024 }; 00025 00026 #endif // vgui_popup_params_h_