MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / OnMouseEvent

Method OnMouseEvent

src/toggle_bitmap.cpp:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void ToggleBitmap::OnMouseEvent(wxMouseEvent &) {
64 if (command.Validate(context))
65 command(context);
66 Refresh(false);
67}
68
69void ToggleBitmap::OnPaint(wxPaintEvent &) {
70 wxAutoBufferedPaintDC dc(this);

Callers

nothing calls this directly

Calls 1

ValidateMethod · 0.45

Tested by

no test coverage detected