39class UIMultiLineEdit :
public UIWidget
46 mouseState_t m_mouseState;
47 bool m_shiftForcedDown;
52 CLASS_PROTOTYPE(UIMultiLineEdit);
55 void FrameInitialized(
void)
override;
56 void PointToSelectionPoint(
const UIPoint2D& p, selectionpoint_t& sel);
57 str& LineFromLineNumber(
int num,
bool resetpos);
58 void EnsureSelectionPointVisible(selectionpoint_t& point);
59 void BoundSelectionPoint(selectionpoint_t& point);
60 void SortSelection(selectionpoint_t **topsel, selectionpoint_t **botsel);
61 void UpdateCvarEvent(
Event *ev);
62 void SetEdit(
Event *ev);
63 bool IsSelectionEmpty(
void);
68 void Draw(
void)
override;
69 qboolean KeyEvent(
int key,
unsigned int time)
override;
70 void CharEvent(
int ch)
override;
72 void MouseDown(
Event *ev);
73 void MouseUp(
Event *ev);
74 void MouseDragged(
Event *ev);
75 void Scroll(
Event *ev);
76 void DragTimer(
Event *ev);
77 void SizeChanged(
Event *ev);
78 void setData(
const char *data);
79 void getData(
str& data);
81 void CopySelection(
void);
82 void PasteSelection(
void);
83 void DeleteSelection(
void);
84 void setChanged(
bool b);