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

Method OnMouseUp

Applications/TextEdit/exttextbox.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void ExtendedTextBox::OnMouseUp(vector2i_t mousePos){
36 if((mousePos.x - fixedBounds.pos.x) > LINE_NUM_PANEL_WIDTH){
37 fixedBounds = textBoxBounds;
38 TextBox::OnMouseUp(mousePos);
39 fixedBounds = normalBounds;
40 }
41}
42
43void ExtendedTextBox::OnMouseMove(vector2i_t mousePos){
44 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