MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / ExtendedTextBox

Method ExtendedTextBox

Applications/TextEdit/exttextbox.cpp:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#define LINE_NUM_PANEL_WIDTH 40
6
7ExtendedTextBox::ExtendedTextBox(rect_t bounds) : Lemon::GUI::TextBox(bounds, true){
8 textBoxBounds = bounds;
9 textBoxBounds.pos.x += LINE_NUM_PANEL_WIDTH;
10 textBoxBounds.size.x -= LINE_NUM_PANEL_WIDTH;
11 normalBounds = bounds;
12}
13
14void ExtendedTextBox::Paint(surface_t* surface){
15 char num[10];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected