Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cont = UI_CreateStatic( FRAME.root )[]{ caption = "TestRoot" };
- UI_CreateHoverAnimator( cont,
- { x = 100, y = 100, width = 100, height = 100, backgroundColor = UIColor(0.3,0.4,0.5) }, // state without hover
- { x = 50, y = 50, width = 200, height = 200, backgroundColor = UIColor(0.5,0.4,0.3) }, // state with hover (keys inside both should match)
- 0.4 ); // transition time
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement