#include <windowborderbottom.h>
Public Member Functions | |
WindowBorderBottom (s16 x, s16 y, u16 width, u16 height, u8 sideBorderSize) | |
virtual void | draw (Rect clipRect) |
virtual bool | focus () |
virtual bool | blur () |
Protected Member Functions | |
virtual | ~WindowBorderBottom () |
WindowBorderBottom (const WindowBorderBottom &windowBorderBottom) | |
Protected Attributes | |
u8 | _sideBorderSize |
Class providing a gadget that mimics the appearance of the AmigaOS 3.x window bottom border. Forms part of the AmigaWindow gadget.
WoopsiUI::WindowBorderBottom::WindowBorderBottom | ( | s16 | x, | |
s16 | y, | |||
u16 | width, | |||
u16 | height, | |||
u8 | sideBorderSize | |||
) |
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. | |
sideBorderSize | The width of the borders on either side of the gadget. This is required so that the border can draw its bevelled top correctly. |
virtual WoopsiUI::WindowBorderBottom::~WindowBorderBottom | ( | ) | [inline, protected, virtual] |
Destructor.
WoopsiUI::WindowBorderBottom::WindowBorderBottom | ( | const WindowBorderBottom & | windowBorderBottom | ) | [inline, protected] |
Copy constructor is protected to prevent usage.
virtual bool WoopsiUI::WindowBorderBottom::blur | ( | ) | [virtual] |
Remove focus from the gadget.
Reimplemented from WoopsiUI::Gadget.
virtual void WoopsiUI::WindowBorderBottom::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.
virtual bool WoopsiUI::WindowBorderBottom::focus | ( | ) | [virtual] |
Give the gadget focus.
Reimplemented from WoopsiUI::Gadget.
u8 WoopsiUI::WindowBorderBottom::_sideBorderSize [protected] |
Width of the windw's side border