Urho3D
Classes | Enumerations | Functions
UIElement.h File Reference
#include "../Math/Vector2.h"
#include "../Input/InputConstants.h"
#include "../Resource/XMLFile.h"
#include "../Scene/Animatable.h"
#include "../UI/UIBatch.h"

Classes

class  Urho3D::UIElement
 Base class for UI elements. More...
 

Enumerations

enum  Urho3D::HorizontalAlignment { HA_LEFT = 0 , HA_CENTER , HA_RIGHT , HA_CUSTOM }
 UI element horizontal alignment.
 
enum  Urho3D::VerticalAlignment { VA_TOP = 0 , VA_CENTER , VA_BOTTOM , VA_CUSTOM }
 UI element vertical alignment.
 
enum  Urho3D::Corner {
  C_TOPLEFT = 0 , C_TOPRIGHT , C_BOTTOMLEFT , C_BOTTOMRIGHT ,
  MAX_UIELEMENT_CORNERS
}
 UI element corners.
 
enum  Urho3D::Orientation { O_HORIZONTAL = 0 , O_VERTICAL }
 UI element orientation.
 
enum  Urho3D::FocusMode { Urho3D::FM_NOTFOCUSABLE = 0 , Urho3D::FM_RESETFOCUS , Urho3D::FM_FOCUSABLE , Urho3D::FM_FOCUSABLE_DEFOCUSABLE }
 UI element focus mode. More...
 
enum  Urho3D::LayoutMode { Urho3D::LM_FREE = 0 , Urho3D::LM_HORIZONTAL , Urho3D::LM_VERTICAL }
 Layout operation mode. More...
 
enum  Urho3D::TraversalMode { Urho3D::TM_BREADTH_FIRST = 0 , Urho3D::TM_DEPTH_FIRST }
 Traversal mode for rendering. More...
 
enum  Urho3D::DragAndDropMode : unsigned { Urho3D::DD_DISABLED = 0x0 , Urho3D::DD_SOURCE = 0x1 , Urho3D::DD_TARGET = 0x2 , Urho3D::DD_SOURCE_AND_TARGET = 0x3 }
 

Functions

 Urho3D::URHO3D_FLAGSET (DragAndDropMode, DragAndDropModeFlags)
 

Enumeration Type Documentation

◆ DragAndDropMode

enum Urho3D::DragAndDropMode : unsigned
Enumerator
DD_DISABLED 

Drag and drop disabled.

DD_SOURCE 

Drag and drop source flag.

DD_TARGET 

Drag and drop target flag.

DD_SOURCE_AND_TARGET 

Drag and drop source and target.

◆ FocusMode

UI element focus mode.

Enumerator
FM_NOTFOCUSABLE 

Is not focusable and does not affect existing focus.

FM_RESETFOCUS 

Resets focus when clicked.

FM_FOCUSABLE 

Is focusable.

FM_FOCUSABLE_DEFOCUSABLE 

Is focusable and also defocusable by pressing ESC.

◆ LayoutMode

Layout operation mode.

Enumerator
LM_FREE 

No layout operations will be performed.

LM_HORIZONTAL 

Layout child elements horizontally and resize them to fit. Resize element if necessary.

LM_VERTICAL 

Layout child elements vertically and resize them to fit. Resize element if necessary.

◆ TraversalMode

Traversal mode for rendering.

Enumerator
TM_BREADTH_FIRST 

Traverse through children having same priority first and recurse into their children before traversing children having higher priority.

TM_DEPTH_FIRST 

Traverse through each child and its children immediately after in sequence.