mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
rename UINode::setHover to UINode::setMouseEnter
This commit is contained in:
parent
79e4a28b4d
commit
89be2a1837
3 changed files with 5 additions and 5 deletions
|
|
@ -47,7 +47,7 @@ void UINode::setAlign(Align align) {
|
|||
this->align = align;
|
||||
}
|
||||
|
||||
void UINode::setHover(bool flag) {
|
||||
void UINode::setMouseEnter(bool flag) {
|
||||
actions.notify(flag ? UIAction::MOUSE_ENTER : UIAction::MOUSE_LEAVE, gui);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ namespace gui {
|
|||
virtual void setAlign(Align align);
|
||||
Align getAlign() const;
|
||||
|
||||
virtual void setHover(bool flag);
|
||||
virtual void setMouseEnter(bool flag);
|
||||
bool isHover() const;
|
||||
|
||||
void setMouseOver(bool flag);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue