Jump to content

Template:GraphObjectMethods: Difference between revisions

From BCI2000 Wiki
Mellinger (talk | contribs)
No edit summary
Mellinger (talk | contribs)
 
Line 1: Line 1:
==Methods inherited from [[Programming Reference:GraphObject Class|GraphObject]]==
===Show()===
===Show()===
Makes the object visible. Initially, objects are created in visible state.
Makes the object visible. Initially, objects are created in visible state.

Latest revision as of 15:39, 11 September 2008

Show()

Makes the object visible. Initially, objects are created in visible state.

Hide()

Makes the object invisible.

Invalidate()

Invalidates the object's bounding rectangle, i.e. marks it as needing to be repainted. Typically, this function is called from a derived class, indicating that a change in object properties has occurred that requires a repaint.

Paint()

Asks an object to paint itself by calling its OnPaint event handler.

Change()

Notifies an object of a change in display properties by calling its OnChange event handler.

bool Click(GUI::Point)

Tests whether the specified point is inside an object's bounding rectangle, and calls its OnClick event handler if this is the case.