|
AUI Framework
master
Cross-platform base for C++ UI apps
|
Classes# | |
| struct | Item |
Public Member Functions# | |
| ASplitterHelper (ALayoutDirection direction) | |
| void | setDirection (ALayoutDirection direction) |
| void | beginDrag (const glm::ivec2 &mousePos) |
| bool | mouseDrag (const glm::ivec2 &mousePos) |
| void | endDrag () |
| const AVector< Item > & | items () const |
| void | setItems (AVector< Item > items) |
| void | setItems (const AVector< _< AView > > &items) |
| bool | isDragging () const |
| bool | isDraggingArea (glm::ivec2 position) |
| int | reclaimSpace (int space, size_t dividerIndex) |
| Reclaims space via specified divider index. | |
| int | reclaimSpace (int space) |
| Reclaims space via the last divider. | |
|
inline |
| space | space to reclaim in px. Cannot be zero. |
Negative space reclaims space from the left direction of dividerIndex, positive space reclaims space from the right direction of dividerIndex.
| int ASplitterHelper::reclaimSpace | ( | int | space, |
| size_t | dividerIndex ) |
| space | space to reclaim in px. Cannot be zero. |
| dividerIndex | divider index. |
Negative space reclaims space from the left direction of dividerIndex, positive space reclaims space from the right direction of dividerIndex.