mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
More general UI code clean up and documentation.
This commit is contained in:
@@ -126,10 +126,6 @@ enum class PropertyId : Uint32 {
|
||||
TotalSteps = String::hash( "total-steps" ),
|
||||
VerticalExpand = String::hash( "vertical-expand" ),
|
||||
DisplayPercent = String::hash( "display-percent" ),
|
||||
FillerPaddingLeft = String::hash( "filler-padding-left" ),
|
||||
FillerPaddingTop = String::hash( "filler-padding-top" ),
|
||||
FillerPaddingRight = String::hash( "filler-padding-right" ),
|
||||
FillerPaddingBottom = String::hash( "filler-padding-bottom" ),
|
||||
MovementSpeed = String::hash( "movement-speed" ),
|
||||
MinValue = String::hash( "min-value" ),
|
||||
MaxValue = String::hash( "max-value" ),
|
||||
|
||||
@@ -18,7 +18,6 @@ enum class ShorthandId : Uint32 {
|
||||
ForegroundPosition = String::hash( "foreground-position" ),
|
||||
LayoutMargin = String::hash( "layout-margin" ),
|
||||
LayoutMarginUnderscore = String::hash( "layout_margin" ),
|
||||
FillerPadding = String::hash( "filler-padding" ),
|
||||
RotationOriginPoint = String::hash( "rotation-origin-point" ),
|
||||
ScaleOriginPoint = String::hash( "scale-origin-point" ),
|
||||
BorderColor = String::hash( "border-color" ),
|
||||
|
||||
@@ -14,7 +14,6 @@ class EE_API UIProgressBar : public UIWidget {
|
||||
bool DisplayPercent = false;
|
||||
bool VerticalExpand = true;
|
||||
Vector2f MovementSpeed = Vector2f( 64.f, 0 );
|
||||
Rectf FillerPadding;
|
||||
};
|
||||
|
||||
static UIProgressBar* New();
|
||||
@@ -49,10 +48,6 @@ class EE_API UIProgressBar : public UIWidget {
|
||||
|
||||
const bool& getVerticalExpand() const;
|
||||
|
||||
void setFillerPadding( const Rectf& padding );
|
||||
|
||||
const Rectf& getFillerPadding() const;
|
||||
|
||||
void setDisplayPercent( const bool& displayPercent );
|
||||
|
||||
const bool& getDisplayPercent() const;
|
||||
|
||||
Reference in New Issue
Block a user