Rose
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | Friends | List of all members
rose::LayoutHint Class Reference

Public Types

enum  GridLayoutHint : int { EndStride, AxisSize, AxisOffset }
 
enum  Attachment : int {
  Attachment::None, Attachment::TopLeft, Attachment::TopRight, Attachment::BottomLeft,
  Attachment::BottomRight, Attachment::Top, Attachment::Left, Attachment::TopTo,
  Attachment::LeftTo, Attachment::Bottom, Attachment::Right, Attachment::BottomTo,
  Attachment::RightTo, Attachment::TopWith, Attachment::LeftWith, Attachment::BottomWith,
  Attachment::RightWith
}
 

Public Member Functions

 LayoutHint (Attachment attachment, int index)
 
 LayoutHint (GridLayoutHint hint, int value)
 

Static Public Attributes

static constexpr size_t AttachmentHint = 0
 
static constexpr size_t GridHint = 1
 
static constexpr int RefIndexNone = std::numeric_limits<int>::max()
 

Protected Attributes

size_t mHintClass
 
int mValueType
 
int mValue
 

Friends

class Visual
 

Member Enumeration Documentation

◆ Attachment

enum rose::LayoutHint::Attachment : int
strong
Enumerator
None 

No attachment.

TopLeft 

Attach to the top left corner of the container.

TopRight 

Attach to the top right corner of the container.

BottomLeft 

Attach to the bottom left corner of the container.

BottomRight 

Attach to the bottom right corner of the container.

Top 

Attach top to the top of the container.

Left 

Attach left to the left of the container.

TopTo 

Attach top to the bottom of indexed object.

LeftTo 

Attach left to the right of indexed object.

Bottom 

Attach bottom to the bottom of the container.

Right 

Attach right to the right of the container.

BottomTo 

Attach bottom to the top of indexed object.

RightTo 

Attach right to the left of indexed object.

TopWith 

Set top even with top of indexed object.

LeftWith 

Set left even with left of index object.

BottomWith 

Set bottom even with bottom of indexed object.

RightWith 

Set right even with right of indexed object.


The documentation for this class was generated from the following file: