|
ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
|
A constraint offered by an ancestor View to a descendant during View::sizeThatSatisfies. More...
#include <View.h>
Public Types | |
| enum | { ViewConstraintEqual , ViewConstraintMax , ViewConstraintUnspecified } |
Data Fields | |
| enum ViewConstraint:: { ... } | mode |
| int | value |
| The constraint value; a size in pixels. | |
A constraint offered by an ancestor View to a descendant during View::sizeThatSatisfies.
| anonymous enum |
| Enumerator | |
|---|---|
| ViewConstraintEqual | The offered value is final; the View must resolve to exactly this size. |
| ViewConstraintMax | The offered value is an upper bound; the View may resolve to any size up to it.
|
| ViewConstraintUnspecified | No bound is offered; the ancestor is itself unresolved for this axis. |
Definition at line 132 of file View.h.
| enum { ... } ViewConstraint::mode |
| int ViewConstraint::value |