#include <windowborderside.h>
Public Member Functions | |
WindowBorderSide (s16 x, s16 y, u16 width, u16 height) | |
virtual void | draw (Rect clipRect) |
virtual bool | focus () |
virtual bool | blur () |
Protected Member Functions | |
virtual | ~WindowBorderSide () |
WindowBorderSide (const WindowBorderSide &windowBorderSide) |
Class providing a gadget that mimics the appearance of the AmigaOS 3.x window side border. Forms part of the AmigaWindow gadget.
WindowBorderSide::WindowBorderSide | ( | s16 | x, | |
s16 | y, | |||
u16 | width, | |||
u16 | height | |||
) |
Constructor.
x | The x co-ordinate of the gadget. | |
y | The y co-ordinate of the gadget. | |
width | The width of the gadget. | |
height | The height of the gadget. |
virtual WoopsiUI::WindowBorderSide::~WindowBorderSide | ( | ) | [inline, protected, virtual] |
Destructor.
WoopsiUI::WindowBorderSide::WindowBorderSide | ( | const WindowBorderSide & | windowBorderSide | ) | [inline, protected] |
Copy constructor is protected to prevent usage.
bool WindowBorderSide::blur | ( | ) | [virtual] |
Remove focus from the gadget.
Reimplemented from WoopsiUI::Gadget.
void WindowBorderSide::draw | ( | Rect | clipRect | ) | [virtual] |
Draw the area of this gadget that falls within the clipping region. Called by the draw() function to draw all visible regions.
clipRect | The clipping region to draw. |
Reimplemented from WoopsiUI::Gadget.
Reimplemented in WoopsiUI::SkinnedWindowBorderLeft, and WoopsiUI::SkinnedWindowBorderRight.
bool WindowBorderSide::focus | ( | ) | [virtual] |
Give the gadget focus.
Reimplemented from WoopsiUI::Gadget.