#include <vector>
#include <string>
#include "SDLMain.h"
#include "CSMessageListener.h"
#include "CSLAF.h"
#include "CSLog.h"
#include "CSLayoutManager.h"
#include "CSInset.h"
Go to the source code of this file.
Data Structures | |
class | CSGrafikElement |
Typedefs | |
typedef std::vector< CSGrafikElement * > | CSGrafikElements |
Variables | |
const int | BORDER_STATE_VISIBLE = 1 |
const int | BORDER_STATE_PRESSED = 2 |
const int | BORDER_STATE_HOVERING = 4 |
const int | BORDER_STATE_FOCUSED = 8 |
const int | BORDER_STATE_ACTIVATED = 16 |
const int | BORDER_STATE_ENABLED = 32 |
const int | BORDER_STATE_DEFAULT = BORDER_STATE_VISIBLE |
const int | BUTTON_VISIBLE = BORDER_STATE_VISIBLE |
Button state -> pressed. | |
const int | BUTTON_PRESSED = BORDER_STATE_PRESSED |
Button state -> pressed. | |
const int | BUTTON_HOVERING = BORDER_STATE_HOVERING |
Button state -> hovering (unpressed) (implemented in CSMenu). | |
const int | BUTTON_FOCUSED = BORDER_STATE_FOCUSED |
Button state -> focused (unpressed) (not done yet). | |
const int | BUTTON_ACTIVATED = BORDER_STATE_ACTIVATED |
Button state -> activated (unpressed) (not done yet). | |
const int | BUTTON_ENABLED = BORDER_STATE_ENABLED |
Button state -> disabled (unpressed) (not done yet). | |
const int | BUTTON_DEFAULT = BUTTON_VISIBLE + BUTTON_ENABLED |
Button state -> unpressed. | |
const int | POSITION_NOT_SET = -1 |
positon information is not given | |
const int | POSITION_NORTH = 0 |
positon NORTH, item is placed above the element with the smallest y - pos value | |
const int | POSITION_SOUTH = 1 |
positon SOUTH, item is placed below the element with the greatest y - pos value | |
const int | POSITION_EAST = 2 |
positon EAST, item is placed left the element with the greatest x - pos value | |
const int | POSITION_WEST = 3 |
positon WEST, item is placed right the element with the smallest y - pos value | |
const int | POSITION_CENTER = 4 |
positon CENTER, makes only sense if component is autosizing both x and y | |
const int | POSITION_ABSOLUT = 5 |
not used | |
const int | POSITION_ORDER_TOP = POSITION_NORTH |
same as POSITION_NORTH | |
const int | POSITION_ORDER_BOTTOM = POSITION_SOUTH |
same as POSITION_SOUTH | |
const int | POSITION_ORDER_LEFT = POSITION_WEST |
same as POSITION_WEST | |
const int | POSITION_ORDER_RIGHT = POSITION_EAST |
same as POSITION_EAST | |
const int | TYPE_HORIZONTAL = 0 |
element is arranged horizontal | |
const int | TYPE_VERTICAL = 1 |
element is arranged vertical | |
const int | TYPE_CHANGE_UP = 1 |
const int | TYPE_CHANGE_INIT = 2 |
const int | TYPE_CHANGE_DOWN = -1 |
const int | TYPE_CHANGE_ONLY_ME = -2 |
const int | LAYOUT_ELEMENT = 1 |
const int | LAYOUT_INTERNAL = 8 |
const int | LAYOUT_LAYOUT = 16 |
const int | LAYOUT_MOVE = 2 |
const int | LAYOUT_SIZE = 4 |
const int | LAYOUT_NOT = 0 |
const int | MOUSE_CURSOR_TYPE_DEFAULT = 0 |
const int | MOUSE_CURSOR_TYPE_SIZING = 1 |
|
|
Definition at line 11 of file CSGrafikElement.h. Referenced by CSListbox::paint(), CSRoundedBorder::paint(), and CSBorder::paint(). |
|
Definition at line 12 of file CSGrafikElement.h. Referenced by CSRoundedBorder::paint(), and CSBorder::paint(). |
|
Definition at line 13 of file CSGrafikElement.h. Referenced by CSRoundedBorder::paint(), and CSBorder::paint(). |
|
Definition at line 14 of file CSGrafikElement.h. |
|
Definition at line 15 of file CSGrafikElement.h. |
|
Definition at line 16 of file CSGrafikElement.h. |
|
Definition at line 18 of file CSGrafikElement.h. Referenced by CSBorder::CSBorder(), and CSGrafikElement::init(). |
|
Button state -> pressed.
Definition at line 21 of file CSGrafikElement.h. Referenced by CSMenu::reactOnMessageMenu(), and CSMenuItem::reactOnMessageMenuItem(). |
|
Button state -> pressed.
Definition at line 22 of file CSGrafikElement.h. Referenced by CSButton::reactOnMessageButton(), CSCheckBox::reactOnMessageCheckBox(), CSMenu::reactOnMessageMenu(), and CSMenuItem::reactOnMessageMenuItem(). |
|
Button state -> hovering (unpressed) (implemented in CSMenu).
Definition at line 23 of file CSGrafikElement.h. Referenced by CSMenu::reactOnMessageMenu(), and CSMenuItem::reactOnMessageMenuItem(). |
|
Button state -> focused (unpressed) (not done yet).
Definition at line 24 of file CSGrafikElement.h. |
|
Button state -> activated (unpressed) (not done yet).
Definition at line 25 of file CSGrafikElement.h. |
|
Button state -> disabled (unpressed) (not done yet).
Definition at line 26 of file CSGrafikElement.h. Referenced by CSButton::reactOnMessageButton(), and CSCheckBox::reactOnMessageCheckBox(). |
|
Button state -> unpressed.
Definition at line 28 of file CSGrafikElement.h. Referenced by CSCheckBox::CSCheckBox(), CSMenuBar::getMenuState(), CSMenuBar::initMenuBar(), CSMenuItem::reactOnMessageMenuItem(), and CSMenuBar::resetMenu(). |
|
positon information is not given
Definition at line 30 of file CSGrafikElement.h. Referenced by CSLayoutData::init(). |
|
positon NORTH, item is placed above the element with the smallest y - pos value
Definition at line 31 of file CSGrafikElement.h. Referenced by CSBar::addElementAt(), CSDesktop::CSDesktop(), CSLayoutManagerBorder::getMinimumHeight(), CSLayoutManagerBorder::getMinimumWidth(), CSWindow::initWindow(), and CSLayoutManagerBorder::layoutElements(). |
|
positon SOUTH, item is placed below the element with the greatest y - pos value
Definition at line 32 of file CSGrafikElement.h. Referenced by CSDesktop::CSDesktop(), CSScrollbar::CSScrollbar(), CSLayoutManagerBorder::getMinimumHeight(), CSLayoutManagerBorder::getMinimumWidth(), CSWindow::initWindow(), CSLayoutManagerBorder::layoutElements(), and CSMenu::openMenu(). |
|
positon EAST, item is placed left the element with the greatest x - pos value
Definition at line 33 of file CSGrafikElement.h. Referenced by CSDesktop::CSDesktop(), CSScrollbar::CSScrollbar(), CSLayoutManagerBorder::getMinimumHeight(), CSLayoutManagerBorder::getMinimumWidth(), CSWindow::initWindow(), CSLayoutManagerBorder::layoutElements(), CSListbox::rebuildElement(), CSCombobox::rebuildElement(), and CSWindow::rebuildElementWindow(). |
|
positon WEST, item is placed right the element with the smallest y - pos value
Definition at line 34 of file CSGrafikElement.h. Referenced by CSBar::addElementAt(), CSDesktop::CSDesktop(), CSMenu::CSMenu(), CSLayoutManagerBorder::getMinimumHeight(), CSLayoutManagerBorder::getMinimumWidth(), CSWindow::initWindow(), CSLayoutManagerBorder::layoutElements(), and CSWindow::rebuildElementWindow(). |
|
positon CENTER, makes only sense if component is autosizing both x and y
Definition at line 35 of file CSGrafikElement.h. Referenced by CSDesktop::CSDesktop(), CSLayoutManagerBorder::getMinimumHeight(), CSLayoutManagerBorder::getMinimumWidth(), CSWindow::initWindow(), and CSLayoutManagerBorder::layoutElements(). |
|
not used
Definition at line 36 of file CSGrafikElement.h. |
|
same as POSITION_NORTH
Definition at line 39 of file CSGrafikElement.h. Referenced by CSMenu::addMenuItem(), CSDesktop::CSDesktop(), CSBar::initBar(), and CSLayoutManagerStackVertical::layoutElements(). |
|
same as POSITION_SOUTH
Definition at line 40 of file CSGrafikElement.h. Referenced by CSLayoutManagerStackVertical::layoutElements(). |
|
same as POSITION_WEST
Definition at line 41 of file CSGrafikElement.h. Referenced by CSBar::initBar(), and CSLayoutManagerStackHorizontal::layoutElements(). |
|
same as POSITION_EAST
Definition at line 42 of file CSGrafikElement.h. Referenced by CSLayoutManagerStackHorizontal::layoutElements(). |
|
element is arranged horizontal
Definition at line 44 of file CSGrafikElement.h. Referenced by CSBar::addElementAt(), CSGradientArea::CSGradientArea(), CSMenuBar::CSMenuBar(), CSScrollbar::CSScrollbar(), CSBar::initBar(), CSScrollbar::layoutSetupScrollbar(), CSScrollbar::paint(), CSGradientArea::paint(), CSScrollbar::reactOnMessageScrollbar(), CSScrollbar::rebuildElement(), and CSWindow::rebuildElementWindow(). |
|
element is arranged vertical
Definition at line 45 of file CSGrafikElement.h. Referenced by CSScrollbar::CSScrollbar(), CSLAF::getAreaInternal(), CSScrollbar::layoutSetupScrollbar(), CSScrollbar::paint(), CSScrollbar::reactOnMessageScrollbar(), CSScrollbar::rebuildElement(), CSListbox::rebuildElement(), and CSWindow::rebuildElementWindow(). |
|
Definition at line 47 of file CSGrafikElement.h. |
|
Definition at line 48 of file CSGrafikElement.h. |
|
Definition at line 49 of file CSGrafikElement.h. |
|
Definition at line 50 of file CSGrafikElement.h. |
|
Definition at line 52 of file CSGrafikElement.h. |
|
Definition at line 53 of file CSGrafikElement.h. |
|
Definition at line 54 of file CSGrafikElement.h. |
|
Definition at line 55 of file CSGrafikElement.h. |
|
Definition at line 56 of file CSGrafikElement.h. |
|
Definition at line 57 of file CSGrafikElement.h. |
|
Definition at line 80 of file CSGrafikElement.h. Referenced by CSGrafikElement::cursorDefault(). |
|
Definition at line 81 of file CSGrafikElement.h. Referenced by CSGrafikElement::cursorSizing(), and CSGrafikElement::getCursor(). |