17 #ifndef DGL_WIDGET_HPP_INCLUDED 
   18 #define DGL_WIDGET_HPP_INCLUDED 
   20 #include "Geometry.hpp" 
  231     void setSize(uint width, uint height) noexcept;
 
  287     bool contains(
int x, 
int y) const noexcept;
 
  303     uint 
getId() const noexcept;
 
  309     void setId(uint 
id) noexcept;
 
  321     virtual 
bool onKeyboard(const KeyboardEvent&);
 
  327     virtual 
bool onSpecial(const SpecialEvent&);
 
  333     virtual 
bool onMouse(const MouseEvent&);
 
  339     virtual 
bool onMotion(const MotionEvent&);
 
  345     virtual 
bool onScroll(const ScrollEvent&);
 
  350     virtual 
void onResize(const ResizeEvent&);
 
  370     bool    fNeedsFullViewport;
 
  374     Point<
int> fAbsolutePos;
 
  380     DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(
Widget)
 
  387 #endif // DGL_WIDGET_HPP_INCLUDED 
Definition: Window.hpp:30
Definition: StandaloneWindow.hpp:28