KolibriLib
Loading...
Searching...
No Matches
KolibriLib::UI::UIElement Class Reference

Элемент интерфейса More...

#include <UI.hpp>

Inheritance diagram for KolibriLib::UI::UIElement:
KolibriLib::UI::Form KolibriLib::UI::Images::image KolibriLib::UI::buttons::Button KolibriLib::UI::text::TextLabel KolibriLib::UI::CheckBox

Public Member Functions

 UIElement (const Coord &coord={0, 0}, const Size &size={16, 16}, const Color::Color &MainColor=0, const unsigned &Margin=DefaultMargin)
 
Size GetSize ()
 
void SetSize (Size NewSize)
 
unsigned GetMargin ()
 
Color::Color GetColor ()
 Получить осносной цвет элемента
 
void SetColor (Color::Color NewColor)
 
void SetCoord (Coord NewCoord)
 
Coord GetCoord ()
 
UIElementoperator= (const UIElement &Element)
 

Protected Attributes

Coord _coord
 Координаты
 
Size _size
 Размер
 
Color::Color _MainColor
 
unsigned _Margin
 Отступы
 

Detailed Description

Элемент интерфейса

как шиблон для других классов

Member Function Documentation

◆ GetColor()

Color::Color KolibriLib::UI::UIElement::GetColor ( )
inline

Получить осносной цвет элемента

Returns
Функция возвращает _MainColor

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