Crazy Eddies GUI System 0.7.5
Public Member Functions
CEGUI::WindowProperties::Margin Class Reference

Property to access window margin. More...

Inheritance diagram for CEGUI::WindowProperties::Margin:
Collaboration diagram for CEGUI::WindowProperties::Margin:

List of all members.

Public Member Functions

String get (const PropertyReceiver *receiver) const
 Return the current value of the Property as a String.
void set (PropertyReceiver *receiver, const String &value)
 Sets the value of the property.

Detailed Description

Property to access window margin.

This property offers access to the margin property. This property controls the margins of the window when it's inserted into a layout container. When the window isn't in a layout container, margin doesn't have any effect.

Usage:
  • Name: Margin
  • Format: "{top:{[tops],[topo]},left:{[lefts],[lefto]},bottom:{[bottoms],[bottomo]},right:{[rights],[righto]}}".
Where [Text] is:
  • [tops] is top scale

Member Function Documentation

String CEGUI::WindowProperties::Margin::get ( const PropertyReceiver receiver) const [virtual]

Return the current value of the Property as a String.

Parameters:
receiverPointer to the target object.
Returns:
String object containing a textual representation of the current value of the Property

Implements CEGUI::Property.

void CEGUI::WindowProperties::Margin::set ( PropertyReceiver receiver,
const String value 
) [virtual]

Sets the value of the property.

Parameters:
receiverPointer to the target object.
valueA String object that contains a textual representation of the new value to assign to the Property.
Returns:
Nothing.
Exceptions:
InvalidRequestExceptionThrown when the Property was unable to interpret the content of value.

Implements CEGUI::Property.