Broken auto sizing
This commit is contained in:
@@ -20,6 +20,36 @@ namespace Dawn {
|
||||
virtual void getSelfQuads(UICanvas &ctx);
|
||||
|
||||
public:
|
||||
/**
|
||||
* Overrided method by the UI Element that requests the minimum
|
||||
* width of the content.
|
||||
*
|
||||
* @return The minimum width of the content.
|
||||
*/
|
||||
virtual float_t getContentWidth();
|
||||
|
||||
/**
|
||||
* Overrided method by the UI Element that requests the minimum
|
||||
* height of the content.
|
||||
*
|
||||
* @return The minimum height of the content.
|
||||
*/
|
||||
virtual float_t getContentHeight();
|
||||
|
||||
/**
|
||||
* Returns the width of this component.
|
||||
*
|
||||
* @return The width of this component.
|
||||
*/
|
||||
virtual float_t getWidth();
|
||||
|
||||
/**
|
||||
* Returns the height of this component.
|
||||
*
|
||||
* @return The height of this component.
|
||||
*/
|
||||
virtual float_t getHeight();
|
||||
|
||||
/**
|
||||
* Virtual method overridden by the UIElement to get the children of
|
||||
* this component.
|
||||
|
Reference in New Issue
Block a user