DDraceNetwork Docs
ui.cpp File Reference
#include "ui.h"
#include "ui_scrollregion.h"
#include <base/math.h>
#include <base/system.h>
#include <engine/client.h>
#include <engine/graphics.h>
#include <engine/input.h>
#include <engine/keys.h>
#include <engine/shared/config.h>
#include <game/localization.h>
#include <limits>
Include dependency graph for ui.cpp:

Classes

struct  SCursorAndBoundingBox
 

Functions

static SCursorAndBoundingBox CalcFontSizeCursorHeightAndBoundingBox (ITextRender *pTextRender, const char *pText, int Flags, float &Size, float MaxWidth, const SLabelProperties &LabelProps)
 
static int GetFlagsForLabelProperties (const SLabelProperties &LabelProps, const CTextCursor *pReadCursor)
 

Function Documentation

◆ CalcFontSizeCursorHeightAndBoundingBox()

static SCursorAndBoundingBox CalcFontSizeCursorHeightAndBoundingBox ( ITextRender pTextRender,
const char *  pText,
int  Flags,
float &  Size,
float  MaxWidth,
const SLabelProperties LabelProps 
)
static

◆ GetFlagsForLabelProperties()

static int GetFlagsForLabelProperties ( const SLabelProperties LabelProps,
const CTextCursor pReadCursor 
)
static