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

Method OnMouseMove

Applications/TextEdit/exttextbox.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void ExtendedTextBox::OnMouseMove(vector2i_t mousePos){
44 if((mousePos.x - fixedBounds.pos.x) > LINE_NUM_PANEL_WIDTH){
45 fixedBounds = textBoxBounds;
46 TextBox::OnMouseMove(mousePos);
47 fixedBounds = normalBounds;
48 }
49}
50
51void ExtendedTextBox::UpdateFixedBounds(){
52 Widget::UpdateFixedBounds();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected