#include <uborder.hpp>
Inheritance diagram for UBorder:
Public Types | |
enum | { NONE = 0, FLAT, SHADOW, ETCHED } |
Public Member Functions | |
UBorder (int decoration=-ETCHED) | |
UBorder (int decoration, class UColor &color, class UColor &bgcolor, int top_bottom_margin=1, int left_right_margin=1, u_modes=0) | |
creates a new Border with custom properties | |
UBorder (const UBorder &) | |
creates a new Border that is a copy of another Border. | |
UBorder (bool overlaid, const UArgs &) | |
creates an active border (used to create scrollpanes, etc). | |
UBorder & | operator= (const UBorder &) |
bool | isOverlaid () const |
UColor & | bgcolor () |
UColor & | color () |
returns internal fields | |
const UColor & | getBgcolor () const |
const UColor & | getColor () const |
int | getDecoration () const |
void | setDecoration (int decoration) |
const UMargins & | getMargins () const |
void | setMargins (const class UMargins &) |
virtual class UGroup * | getSubGroup () |
returns the children of an active UBorder. | |
virtual void | update () |
updates graphics. | |
Static Public Attributes | |
static UBorder | none |
static UBorder | empty |
static UBorder | flat |
static UBorder | shadowIn |
static UBorder | shadowOut |
static UBorder | etchedIn |
static UBorder | etchedOut |
predefined borders. |
|
creates a new Border with custom properties arguments:
|
|
returns internal fields these objects can be shared by other objects and their value can be changed by clients. They are automatically deleted when the UBorder is deleted if they dont have other parents and are not pointed by any uptr<> |