Clean up and fixes.

--HG--
branch : dev-2.1-transformable-node
This commit is contained in:
Martí­n Lucas Golini
2018-01-15 16:58:00 -03:00
parent 5ec7a0cbed
commit d59f25168f
4 changed files with 37 additions and 111 deletions

View File

@@ -29,9 +29,8 @@ enum NODE_FLAGS_VALUES {
NODE_FLAG_DIRTY_POLY = (1<<20),
NODE_FLAG_WINDOW = (1<<21),
NODE_FLAG_POSITION_DIRTY = (1<<22),
NODE_FLAG_TRANFORM_DIRTY = (1<<23),
NODE_FLAG_TRANFORM_INVERT_DIRTY = (1<<24),
NODE_FLAG_FREE_USE = (1<<25)
NODE_FLAG_POLYGON_DIRTY = (1<<23),
NODE_FLAG_FREE_USE = (1<<24)
};
#define UI_HALIGN_LEFT TEXT_ALIGN_LEFT

View File

@@ -542,7 +542,9 @@ class EE_API UINode : public Transformable {
Sizei getSkinSize( UISkin * Skin, const Uint32& State = UISkinState::StateNormal );
Rectf getRectf();
Rectf getScreenBounds();
Rectf getLocalBounds();
void drawHighlightFocus();