GGPictureLook struct
#include <GGUI/Public/UITypes.h>
How an image or a progress bar is drawn beyond its basics. Kept with the node's image input and carried into the snapshot; the fields marked bindable follow GGProperty bindings.
Public variables
- float Slice
- nine-slice borders (left, top, right, bottom) in the image's pixels; zero: none
- float Region
- the part shown (x, y, width, height) in the image's pixels; zero width: all of it
- uint8_t Flip
- 1 across, 2 down, 3 both
- bool bTile
- repeated at its own size instead of scaled
- float Greyscale
- 0..1; bindable (GGProperty::
Greyscale) - GGFillToward Toward
- which way a bar fills
- bool bRadial
- a ring or pie rather than a bar
- float Start
- radial: where the fill starts, degrees clockwise from the top
- float Sweep
- radial: how far a full bar reaches, degrees
- float Segments
- pips; 0: one bar. Bindable (GGProperty::
Segments) - bool bTrailing
- a second fill follows the value down after a delay (health lost)
- float TrailDelay
- seconds before it follows; bindable (GGProperty::
TrailDelay) - float TrailTime
- seconds it takes to catch up; bindable (GGProperty::
TrailTime) - float Trail
- the trailing fill shown now, 0..1; set by the document's clock
Friends
- auto operator==(const GGPictureLook&, const GGPictureLook&) -> bool defaulted
- every member equal