nux-0.9.46

Nux/Area.h File Reference

#include <sigc++/sigc++.h>
#include "NuxCore/InitiallyUnownedObject.h"
#include "Focusable.h"
#include "Utils.h"
#include "WidgetMetrics.h"
#include "NuxCore/InitiallyUnownedObject.h"

Go to the source code of this file.

Data Structures

class  nux::Area
class  nux::Area::LayoutProperties

Namespaces

namespace  nux

Enumerations

enum  nux::MinorDimensionSize {
  nux::MINOR_SIZE_FULL, nux::MINOR_SIZE_PERCENTAGE, nux::MINOR_SIZE_FIX, nux::MINOR_SIZE_MATCHCONTENT,
  nux::eFull = MINOR_SIZE_FULL, nux::ePercentage = MINOR_SIZE_PERCENTAGE, nux::eFix = MINOR_SIZE_FIX, nux::eMatchContent = MINOR_SIZE_MATCHCONTENT
}
enum  nux::MinorDimensionPosition {
  nux::MINOR_POSITION_TOP, nux::MINOR_POSITION_BOTTOM, nux::MINOR_POSITION_LEFT, nux::MINOR_POSITION_RIGHT,
  nux::MINOR_POSITION_CENTER, nux::eAbove = MINOR_POSITION_TOP, nux::eBelow = MINOR_POSITION_BOTTOM, nux::eLeft = MINOR_POSITION_LEFT,
  nux::eRight = MINOR_POSITION_RIGHT, nux::eCenter = MINOR_POSITION_CENTER
}
 

Policy for and element position in the minor dimension of a layout.

More...
enum  nux::LayoutContentDistribution {
  nux::MAJOR_POSITION_TOP, nux::MAJOR_POSITION_BOTTOM, nux::MAJOR_POSITION_LEFT, nux::MAJOR_POSITION_RIGHT,
  nux::MAJOR_POSITION_CENTER, nux::MAJOR_POSITION_EXPAND, nux::eStackTop = MAJOR_POSITION_TOP, nux::eStackBottom = MAJOR_POSITION_BOTTOM,
  nux::eStackLeft = MAJOR_POSITION_LEFT, nux::eStackRight = MAJOR_POSITION_RIGHT, nux::eStackCenter = MAJOR_POSITION_CENTER, nux::eStackExpand = MAJOR_POSITION_EXPAND
}
 

Control how a layout distribute its children position.

More...
enum  nux::SizeCompliance {
  nux::SIZE_EQUAL_WIDTH = (1L), nux::SIZE_EQUAL_HEIGHT = (1L) << 1, nux::SIZE_SMALLER_WIDTH = (1L) << 2, nux::SIZE_SMALLER_HEIGHT = (1L) << 3,
  nux::SIZE_LARGER_WIDTH = (1L) << 4, nux::SIZE_LARGER_HEIGHT = (1L) << 5, nux::SIZE_FORCE_COMPLY = (1L) << 6, nux::eCompliantWidth = SIZE_EQUAL_WIDTH,
  nux::eCompliantHeight = SIZE_EQUAL_HEIGHT, nux::eSmallerWidth = SIZE_SMALLER_WIDTH, nux::eSmallerHeight = SIZE_SMALLER_HEIGHT, nux::eLargerWidth = SIZE_LARGER_WIDTH,
  nux::eLargerHeight = SIZE_LARGER_HEIGHT, nux::eForceComply = SIZE_FORCE_COMPLY
}