|
@@ -48,8 +48,32 @@ namespace Framework
|
|
|
values concatenated by the operators +, -, / or *
|
|
|
+ auto: attribute will be ignored here and may be handled by the
|
|
|
subclasses
|
|
|
+ - (string) align-x: sets the x coordinate of the view. The value of
|
|
|
+ margin-x will be added
|
|
|
+ + start: 0
|
|
|
+ + end: parentWidth
|
|
|
+ + center: parentWidth / 2 - width / 2
|
|
|
+ + id of other element: other element x
|
|
|
+ - (string) margin-x: only available if align-x is specified.
|
|
|
+ + (int)%: specifies the distance to its x aligned coordinate in
|
|
|
+ percentage of parentWidth
|
|
|
+ + (int): specifies the distance to its x aligned coordinate in pixel
|
|
|
+ + (expression): calculates the distance from an expression that
|
|
|
+ contains values concatenated by the operators +, -, / or *
|
|
|
+ - (string) align-y: sets the y coordinate of the view. The value of
|
|
|
+ margin-y will be added
|
|
|
+ + start: 0
|
|
|
+ + end: parentWidth
|
|
|
+ + center: parentHeight / 2 - height / 2
|
|
|
+ + id of other element: other element y
|
|
|
+ - (string) margin-y: only available if align-y is specified.
|
|
|
+ + (int)%: specifies the distance to its y aligned coordinate in
|
|
|
+ percentage of parentHeight
|
|
|
+ + (int): specifies the distance to its y aligned coordinate in pixel
|
|
|
+ + (expression): calculates the distance from an expression that
|
|
|
+ contains values concatenated by the operators +, -, / or *
|
|
|
- (string) align-left: sets the x coordinate of the view. The value of
|
|
|
- margin-left will be added
|
|
|
+ margin-left will be added. Will be ignored when align-x is present.
|
|
|
+ start: 0
|
|
|
+ end: parentWidth
|
|
|
+ center: parentWidth / 2 - width / 2
|
|
@@ -59,10 +83,11 @@ namespace Framework
|
|
|
percentage of parentWidth
|
|
|
+ (int): specifies the distance to its left aligned coordinate in
|
|
|
pixel
|
|
|
- + (expression): calculates the width from an expression that contains
|
|
|
+ + (expression): calculates the distance from an expression that
|
|
|
+ contains values concatenated by the operators +, -, / or *
|
|
|
- (string) align-right: sets the x coordinate of the view. The value of
|
|
|
- margin-right will be subtracted. Will be ignored when align-left is
|
|
|
- present.
|
|
|
+ margin-right will be subtracted. Will be ignored when align-x or
|
|
|
+ align-left is present.
|
|
|
+ start: -width
|
|
|
+ end: parentWidth - width
|
|
|
+ center: parentWidth / 2 - width / 2
|
|
@@ -72,10 +97,10 @@ namespace Framework
|
|
|
percentage of parentWidth
|
|
|
+ (int): specifies the distance to its right aligned coordinate in
|
|
|
pixel
|
|
|
- + (expression): calculates the width from an expression that contains
|
|
|
- values concatenated by the operators +, -, / or *
|
|
|
+ + (expression): calculates the distance from an expression that
|
|
|
+ contains values concatenated by the operators +, -, / or *
|
|
|
- (string) align-top: sets the y coordinate of the view. The value of
|
|
|
- margin-top will be added
|
|
|
+ margin-top will be added. Will be ignored when align-y is present.
|
|
|
+ start: 0
|
|
|
+ end: parentHeight
|
|
|
+ center: parentHeight / 2 - height / 2
|
|
@@ -84,11 +109,11 @@ namespace Framework
|
|
|
+ (int)%: specifies the distance to its top aligned coordinate in
|
|
|
percentage of parentHeight
|
|
|
+ (int): specifies the distance to its top aligned coordinate in pixel
|
|
|
- + (expression): calculates the width from an expression that contains
|
|
|
- values concatenated by the operators +, -, / or *
|
|
|
+ + (expression): calculates the distance from an expression that
|
|
|
+ contains values concatenated by the operators +, -, / or *
|
|
|
- (string) align-bottom: sets the y coordinate of the view. The value of
|
|
|
- margin-bottom will be subtracted. Will be ignored when align-top is
|
|
|
- present.
|
|
|
+ margin-bottom will be subtracted. Will be ignored when align-y or
|
|
|
+ align-top is present.
|
|
|
+ start: -height
|
|
|
+ end: parentHeight - height
|
|
|
+ center: parentHeight / 2 - height / 2
|
|
@@ -98,19 +123,25 @@ namespace Framework
|
|
|
percentage of parentHeight
|
|
|
+ (int): specifies the distance to its bottom aligned coordinate in
|
|
|
pixel
|
|
|
- + (expression): calculates the width from an expression that contains
|
|
|
- values concatenated by the operators +, -, / or *
|
|
|
+ + (expression): calculates the distance from an expression that
|
|
|
+ contains values concatenated by the operators +, -, / or *
|
|
|
- (string) x: sets the x coordinate of the view. overwrites align-left
|
|
|
- and align-right
|
|
|
+ and align-right and align-x
|
|
|
+ (int)%: specifies the x coordinate in percentage of parentWidth
|
|
|
+ (int): specifies the x coordinate in pixel
|
|
|
- + (expression): calculates the width from an expression that contains
|
|
|
+ + (expression): calculates the x coordinate from an expression that
|
|
|
+ contains values concatenated by the operators +, -, / or *
|
|
|
- (string) y: sets the y coordinate of the view. overwrites align-top
|
|
|
- and align-bottom
|
|
|
+ and align-bottom and align-y
|
|
|
+ (int)%: specifies the y coordinate in percentage of parentHeight
|
|
|
+ (int): specifies the y coordinate in pixel
|
|
|
- + (expression): calculates the width from an expression that contains
|
|
|
+ + (expression): calculates the y from an expression that contains
|
|
|
values concatenated by the operators +, -, / or *
|
|
|
+
|
|
|
+ additional attributes if the created view is an instance of
|
|
|
+ ZeichnungHintergrund:
|
|
|
+ - (int) border: width of the border in pixel
|
|
|
+ - (int) border-color: color of the border format: 0xAARRGGBB
|
|
|
*/
|
|
|
class UIMLElement : public virtual ReferenceCounter
|
|
|
{
|
|
@@ -176,8 +207,8 @@ namespace Framework
|
|
|
- disabled: removes the style TextFeld::Style::Editierbar
|
|
|
- (string) width: sets the with
|
|
|
+ auto: setzt the width to the calculated needed width
|
|
|
- - (string) height: sets the with
|
|
|
- + auto: setzt the width to the calculated needed width
|
|
|
+ - (string) height: sets the height
|
|
|
+ + auto: setzt the height to the calculated needed height
|
|
|
- (string) vScroll: adds a vertical scroll bar
|
|
|
+ auto: the max vertical scroll size is set to the needed text height
|
|
|
and the click scroll per pixel will be set to font size
|
|
@@ -252,8 +283,8 @@ namespace Framework
|
|
|
- disabled: removes the style TextFeld::Style::Editierbar
|
|
|
- (string) width: sets the with
|
|
|
+ auto: setzt the width to the calculated needed width
|
|
|
- - (string) height: sets the with
|
|
|
- + auto: setzt the width to the calculated needed width
|
|
|
+ - (string) height: sets the height
|
|
|
+ + auto: setzt the height to the calculated needed height
|
|
|
- (string) vScroll: adds a vertical scroll bar
|
|
|
+ auto: the max vertical scroll size is set to the needed text height
|
|
|
and the click scroll per pixel will be set to font size
|
|
@@ -294,8 +325,8 @@ namespace Framework
|
|
|
- disabled: removes the style TextFeld::Style::Editierbar
|
|
|
- (string) width: sets the with
|
|
|
+ auto: setzt the width to the calculated needed width
|
|
|
- - (string) height: sets the with
|
|
|
- + auto: setzt the width to the calculated needed width
|
|
|
+ - (string) height: sets the height
|
|
|
+ + auto: setzt the height to the calculated needed height
|
|
|
- (string) vScroll: adds a vertical scroll bar
|
|
|
+ auto: the max vertical scroll size is set to the needed text height
|
|
|
and the click scroll per pixel will be set to font size
|
|
@@ -360,9 +391,15 @@ namespace Framework
|
|
|
+ (expression): calculates the width from an expression that contains
|
|
|
values concatenated by the operators +, -, / or *
|
|
|
- (string) vScroll: adds a vertical scroll bar
|
|
|
- + auto: the max vertical scroll size is set to the needed child elements height
|
|
|
+ + auto: the max vertical scroll size is set to the needed child
|
|
|
+ elements height
|
|
|
- (int) hScroll: adds a hotizontal scroll bar
|
|
|
- + auto: the max horizontal scroll size is set to the needed child elements width
|
|
|
+ + auto: the max horizontal scroll size is set to the needed child
|
|
|
+ elements width
|
|
|
+ - (string) width: sets the with
|
|
|
+ + auto: setzt the width to the calculated needed width
|
|
|
+ - (string) height: sets the height
|
|
|
+ + auto: setzt the height to the calculated needed height
|
|
|
*/
|
|
|
class UIMLFrame : public UIMLElement
|
|
|
{
|