OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Classes | Macros
stb_textedit.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  StbUndoRecord
 
struct  StbUndoState
 
struct  STB_TexteditState
 
struct  StbTexteditRow
 

Macros

#define STB_TEXTEDIT_UNDOSTATECOUNT   99
 
#define STB_TEXTEDIT_UNDOCHARCOUNT   999
 
#define STB_TEXTEDIT_CHARTYPE   int
 
#define STB_TEXTEDIT_POSITIONTYPE   int
 

Class Documentation

struct StbUndoRecord

Definition at line 272 of file stb_textedit.h.

Class Members
STB_TEXTEDIT_POSITIONTYPE where
short insert_length
short delete_length
short char_storage
struct StbUndoState

Definition at line 281 of file stb_textedit.h.

Collaboration diagram for StbUndoState:
[legend]
Class Members
StbUndoRecord undo_rec[STB_TEXTEDIT_UNDOSTATECOUNT]
STB_TEXTEDIT_CHARTYPE undo_char[STB_TEXTEDIT_UNDOCHARCOUNT]
short undo_point
short redo_point
short undo_char_point
short redo_char_point
struct STB_TexteditState

Definition at line 290 of file stb_textedit.h.

Collaboration diagram for STB_TexteditState:
[legend]
Class Members
int cursor
int select_start
int select_end
unsigned char insert_mode
unsigned char cursor_at_end_of_line
unsigned char initialized
unsigned char has_preferred_x
unsigned char single_line
unsigned char padding1
unsigned char padding2
unsigned char padding3
float preferred_x
StbUndoState undostate
struct StbTexteditRow

Definition at line 333 of file stb_textedit.h.

Class Members
float x0
float x1
float baseline_y_delta
float ymin
float ymax
int num_chars

Macro Definition Documentation

#define STB_TEXTEDIT_UNDOSTATECOUNT   99

Definition at line 260 of file stb_textedit.h.

#define STB_TEXTEDIT_UNDOCHARCOUNT   999

Definition at line 263 of file stb_textedit.h.

#define STB_TEXTEDIT_CHARTYPE   int

Definition at line 266 of file stb_textedit.h.

#define STB_TEXTEDIT_POSITIONTYPE   int

Definition at line 269 of file stb_textedit.h.