DISTRHO Plugin Framework
Public Member Functions | Protected Member Functions | List of all members
ImageAboutWindow Class Reference
Inheritance diagram for ImageAboutWindow:
Window Widget

Public Member Functions

 ImageAboutWindow (Window &parent, const Image &image=Image())
 
 ImageAboutWindow (Widget *widget, const Image &image=Image())
 
void setImage (const Image &image)
 
- Public Member Functions inherited from Window
 Window (Application &app)
 
 Window (Application &app, Window &parent)
 
 Window (Application &app, intptr_t parentId)
 
void show ()
 
void hide ()
 
void close ()
 
void exec (bool lockWait=false)
 
void focus ()
 
void repaint () noexcept
 
bool openFileBrowser (const FileBrowserOptions &options)
 
bool isVisible () const noexcept
 
void setVisible (bool yesNo)
 
bool isResizable () const noexcept
 
void setResizable (bool yesNo)
 
uint getWidth () const noexcept
 
uint getHeight () const noexcept
 
Size< uint > getSize () const noexcept
 
void setSize (uint width, uint height)
 
void setSize (Size< uint > size)
 
const char * getTitle () const noexcept
 
void setTitle (const char *title)
 
void setTransientWinId (uintptr_t winId)
 
ApplicationgetApp () const noexcept
 
intptr_t getWindowId () const noexcept
 
void addIdleCallback (IdleCallback *const callback)
 
void removeIdleCallback (IdleCallback *const callback)
 
- Public Member Functions inherited from Widget
 Widget (Window &parent)
 
 Widget (Widget *groupWidget)
 
virtual ~Widget ()
 
bool isVisible () const noexcept
 
void setVisible (bool yesNo)
 
void show ()
 
void hide ()
 
uint getWidth () const noexcept
 
uint getHeight () const noexcept
 
const Size< uint > & getSize () const noexcept
 
void setWidth (uint width) noexcept
 
void setHeight (uint height) noexcept
 
void setSize (uint width, uint height) noexcept
 
void setSize (const Size< uint > &size) noexcept
 
int getAbsoluteX () const noexcept
 
int getAbsoluteY () const noexcept
 
const Point< int > & getAbsolutePos () const noexcept
 
void setAbsoluteX (int x) noexcept
 
void setAbsoluteY (int y) noexcept
 
void setAbsolutePos (int x, int y) noexcept
 
void setAbsolutePos (const Point< int > &pos) noexcept
 
ApplicationgetParentApp () const noexcept
 
WindowgetParentWindow () const noexcept
 
bool contains (int x, int y) const noexcept
 
bool contains (const Point< int > &pos) const noexcept
 
void repaint () noexcept
 
uint getId () const noexcept
 
void setId (uint id) noexcept
 

Protected Member Functions

void onDisplay () override
 
bool onKeyboard (const KeyboardEvent &) override
 
bool onMouse (const MouseEvent &) override
 
void onReshape (uint width, uint height) override
 
- Protected Member Functions inherited from Window
virtual void onDisplayBefore ()
 
virtual void onDisplayAfter ()
 
virtual void onClose ()
 
virtual void fileBrowserSelected (const char *filename)
 
- Protected Member Functions inherited from Widget
virtual bool onSpecial (const SpecialEvent &)
 
virtual bool onMotion (const MotionEvent &)
 
virtual bool onScroll (const ScrollEvent &)
 
virtual void onResize (const ResizeEvent &)
 

Member Function Documentation

void ImageAboutWindow::onDisplay ( )
overrideprotectedvirtual

A function called to draw the view contents with OpenGL.

Implements Widget.

bool ImageAboutWindow::onKeyboard ( const KeyboardEvent )
overrideprotectedvirtual

A function called when a key is pressed or released.

Returns
True to stop event propagation, false otherwise.

Reimplemented from Widget.

bool ImageAboutWindow::onMouse ( const MouseEvent )
overrideprotectedvirtual

A function called when a mouse button is pressed or released.

Returns
True to stop event propagation, false otherwise.

Reimplemented from Widget.


The documentation for this class was generated from the following file: