# Changes 0.2.8
- Fix Flickering problem in StaticText api - Fix Lagacy and Container HandleScrolling InBox checks - Add IO Flags define for future - Implement Single Object Dragging API by IO Context - Add TreeNodes - Use ioMenuPadding and ItemSpace - Add StyleEditorMenu - Rework ContainerApi to take functions from IO and add an Update function template for Updating internal values if required - Use new DragApi for MenuCollabse, MenuDragging, MenuResize, SliderDragging and TreeNodes Open/Close - Add Helper Defines for Metrics Menu [INTERNAL] - Add TimeTrace as Tree to Metrics as well as other new Data - Add GetRawObject to StaticText for custom rendering like ui7 - Add DrawlistRegestry to correctly render Menus in their own layer ranges
This commit is contained in:
		| @@ -35,14 +35,10 @@ class Image : public Container { | ||||
|   /** | ||||
|    * Constructor for the Image Object | ||||
|    * @param img Image Texture Reference | ||||
|    * @param pos Base Position | ||||
|    * @param lr Renderer Reference [to determinate screen] | ||||
|    * @param size Custom Size of the Image | ||||
|    */ | ||||
|   Image(Texture::Ref img, vec2 pos, LI::Renderer::Ref lr, vec2 size = 0.f) { | ||||
|     this->screen = lr->CurrentScreen(); | ||||
|   Image(Texture::Ref img, vec2 size = 0.f) { | ||||
|     this->img = img; | ||||
|     this->SetPos(pos); | ||||
|     this->newsize = size; | ||||
|     if (size.x() != 0 || size.y() != 0) { | ||||
|       this->SetSize(size); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user