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

Method OnMouseDown

Applications/TextEdit/exttextbox.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void ExtendedTextBox::OnMouseDown(vector2i_t mousePos){
28 if((mousePos.x - fixedBounds.pos.x) > LINE_NUM_PANEL_WIDTH){
29 fixedBounds = textBoxBounds;
30 TextBox::OnMouseDown(mousePos);
31 fixedBounds = normalBounds;
32 }
33}
34
35void ExtendedTextBox::OnMouseUp(vector2i_t mousePos){
36 if((mousePos.x - fixedBounds.pos.x) > LINE_NUM_PANEL_WIDTH){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected