]> Dogcows Code - chaz/openbox/blobdiff - otk/button.hh
move the focus_order lists into the kernel
[chaz/openbox] / otk / button.hh
index 53d08a8645a145d11d4cfac95fc0a61e212d59b2..a3805aa069f459e1dc904075ce9a0feaeef8b0e4 100644 (file)
@@ -12,9 +12,6 @@ public:
   Button(Widget *parent);
   virtual ~Button();
 
-  virtual inline bool isDefault() const { return _default; }
-  virtual void setDefault(bool d);
-  
   virtual inline bool isPressed() const { return _pressed; }
 
   virtual void press(unsigned int mouse_button);
@@ -23,10 +20,11 @@ public:
   virtual void buttonPressHandler(const XButtonEvent &e);
   virtual void buttonReleaseHandler(const XButtonEvent &e);
 
+  virtual void clickHandler(unsigned int button) {(void)button;}
+
   virtual void styleChanged(const RenderStyle &style);
  
 private:
-  bool _default;
   bool _pressed;
   unsigned int _mouse_button;
 };
This page took 0.023792 seconds and 4 git commands to generate.