Polyphase Game Engine
Loading...
Searching...
No Matches
Widget.h File Reference
#include "PolyphaseAPI.h"
#include "Rect.h"
#include "EngineTypes.h"
#include "Factory.h"
#include "AssetRef.h"
#include "Nodes/Node.h"
#include "Maths.h"
#include <vector>
#include <string>
#include "Graphics/GraphicsConstants.h"

Go to the source code of this file.

Classes

class  Widget
 

Enumerations

enum class  AnchorMode : uint8_t {
  TopLeft , TopMid , TopRight , MidLeft ,
  Mid , MidRight , BottomLeft , BottomMid ,
  BottomRight , TopStretch , MidHorizontalStretch , BottomStretch ,
  LeftStretch , MidVerticalStretch , RightStretch , FullStretch ,
  Count
}
 
enum  MarginFlag : uint8_t { MF_Left = 1 << 0 , MF_Top = 1 << 1 , MF_Right = 1 << 2 , MF_Bottom = 1 << 3 }
 

Enumeration Type Documentation

◆ AnchorMode

enum class AnchorMode : uint8_t
strong
Enumerator
TopLeft 
TopMid 
TopRight 
MidLeft 
Mid 
MidRight 
BottomLeft 
BottomMid 
BottomRight 
TopStretch 
MidHorizontalStretch 
BottomStretch 
LeftStretch 
MidVerticalStretch 
RightStretch 
FullStretch 
Count 

◆ MarginFlag

enum MarginFlag : uint8_t
Enumerator
MF_Left 
MF_Top 
MF_Right 
MF_Bottom