# Changes 0.2.9
- Litium Chenge Static Object to set instead of add layer - Add UI7 Color Selector (Not done) - Add NoClose flag as well as a is_shown address to set to close menus completly - Add u32 input for nameless ui7 ids - Add Debug Vertex/Index counters to DrawLists and IO - Add an Anywhere Released bool to Input API to decide if object should always react or only if curser is inside its box - Add Focused Menu System to Drag API to make sure to not care about the menu input process order - Let Menus only have 1 Drawlist instead of 3 Put Close, Resize, Move, Collapse and Scroll into their own handlers - Add a DeadHeader color to make a visual diffrence between Menus and Focused Menu - Add a GetRef to Theme for Color edit - Fix DrawList Line not rendering if going out of screen - Clear All CLipRects after process DrawList - Fix SeparatorText glitch - Fix Typos - Add IO Input Support to Containers
This commit is contained in:
		| @@ -41,6 +41,7 @@ enum UI7Color_ { | ||||
|   UI7Color_Text,                    ///< UI7 Text Color | ||||
|   UI7Color_TextDead,                ///< UI7 Dead Text Color | ||||
|   UI7Color_Header,                  ///< UI7 Menu Header Color | ||||
|   UI7Color_HeaderDead,              ///< Inactive Header | ||||
|   UI7Color_Selector,                ///< UI7 Selector Color | ||||
|   UI7Color_Checkmark,               ///< UI7 Checkmark Color | ||||
|   UI7Color_FrameBackground,         ///< UI7 Frame Background | ||||
| @@ -118,6 +119,20 @@ class Theme : public SmartCtor<Theme> { | ||||
|     return e->second; | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|    * [UNSAFE] to use | ||||
|    * Get the Color Ref of a Color ReferenceID | ||||
|    * @param c ReferenceID | ||||
|    */ | ||||
|   u32& GetRef(UI7Color c) { | ||||
|     auto e = theme.find(c); | ||||
|     if (e == theme.end()) { | ||||
|       static u32 noclr = 0x00000000; | ||||
|       return noclr; | ||||
|     } | ||||
|     return e->second; | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|    * Operator wrapper for get | ||||
|    * @param c Color ReferenceID | ||||
|   | ||||
		Reference in New Issue
	
	Block a user