3#ifndef GAME_CLIENT_UI_RECT_H
4#define GAME_CLIENT_UI_RECT_H
136 void Draw(
ColorRGBA Color,
int Corners,
float Rounding)
const;
static IGraphics * s_pGraphics
Definition: ui_rect.h:12
float h
Definition: ui_rect.h:17
vec2 Size() const
Definition: ui_rect.h:150
float y
Definition: ui_rect.h:17
void Margin(vec2 Cut, CUIRect *pOtherRect) const
Definition: ui_rect.cpp:139
void HSplitMid(CUIRect *pTop, CUIRect *pBottom, float Spacing=0.0f) const
Definition: ui_rect.cpp:9
void Draw(ColorRGBA Color, int Corners, float Rounding) const
Definition: ui_rect.cpp:169
void HSplitTop(float Cut, CUIRect *pTop, CUIRect *pBottom) const
Definition: ui_rect.cpp:32
vec2 TopLeft() const
Definition: ui_rect.h:144
void VSplitLeft(float Cut, CUIRect *pLeft, CUIRect *pRight) const
Definition: ui_rect.cpp:97
void HMargin(float Cut, CUIRect *pOtherRect) const
Definition: ui_rect.cpp:159
void VSplitMid(CUIRect *pLeft, CUIRect *pRight, float Spacing=0.0f) const
Definition: ui_rect.cpp:74
void HSplitBottom(float Cut, CUIRect *pTop, CUIRect *pBottom) const
Definition: ui_rect.cpp:53
vec2 Center() const
Definition: ui_rect.h:156
float w
Definition: ui_rect.h:17
void VMargin(float Cut, CUIRect *pOtherRect) const
Definition: ui_rect.cpp:154
bool Inside(vec2 Point) const
Definition: ui_rect.cpp:164
void VSplitRight(float Cut, CUIRect *pLeft, CUIRect *pRight) const
Definition: ui_rect.cpp:118
float x
Definition: ui_rect.h:17
void Draw4(ColorRGBA ColorTopLeft, ColorRGBA ColorTopRight, ColorRGBA ColorBottomLeft, ColorRGBA ColorBottomRight, int Corners, float Rounding) const
Definition: ui_rect.cpp:174
static void Init(IGraphics *pGraphics)
Definition: ui_rect.h:15
Definition: graphics.h:183
vector2_base< float > vec2
Definition: vmath.h:158