Created
January 19, 2019 01:10
-
-
Save SunXiaoShan/71adfadce2c84db558c3f91d3d1be42f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Widget { | |
public: | |
Widget(); | |
~Widget(); | |
public: | |
void setHighlighted(); | |
void setHighlightable(bool active); | |
void resetHighlight(); | |
bool isHighlighted(); | |
vector<Widget *> getHighlightableChildren(); | |
protected: | |
Widget *getHighlighChild(); | |
public: | |
Rect frame; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment