# 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:
		| @@ -37,7 +37,7 @@ SOFTWARE. | ||||
|  *         Major Minor Patch Build | ||||
|  * 0x01010000 -> 1.1.0-0 | ||||
|  */ | ||||
| #define UI7_VERSION 0x00020800 | ||||
| #define UI7_VERSION 0x00020900 | ||||
|  | ||||
| namespace PD { | ||||
| namespace UI7 { | ||||
| @@ -68,7 +68,7 @@ class Context : public SmartCtor<Context> { | ||||
|    * @return If the Menu was Created | ||||
|    * (useless as false results in an error screen) | ||||
|    */ | ||||
|   bool BeginMenu(const ID& id, UI7MenuFlags flags = 0); | ||||
|   bool BeginMenu(const ID& id, UI7MenuFlags flags = 0, bool* show = nullptr); | ||||
|   /** | ||||
|    * Get the Current Menu | ||||
|    * for example for auto m = ctx->GetCurrentMenu | ||||
| @@ -126,13 +126,13 @@ class Context : public SmartCtor<Context> { | ||||
|   // Debugging / Demo / About | ||||
|  | ||||
|   /** About Menu */ | ||||
|   void AboutMenu(); | ||||
|   void AboutMenu(bool* show = nullptr); | ||||
|  | ||||
|   /** Metrics */ | ||||
|   void MetricsMenu(); | ||||
|   void MetricsMenu(bool* show = nullptr); | ||||
|  | ||||
|   /** Style Editor Menu (Includes Theme Editor) */ | ||||
|   void StyleEditor(); | ||||
|   void StyleEditor(bool* show = nullptr); | ||||
|  | ||||
|  private: | ||||
|   // Used in Overlays | ||||
|   | ||||
		Reference in New Issue
	
	Block a user