Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_UIFieldSetters.h File Reference


Namespaces

namespace  CP_UIFieldSetters

Functions

bool CP_SInt16ToEditField (CP_EditField *inEditField, SInt16 inValue)
bool CP_FloatToEditField (CP_EditField *inEditField, float inValue)
bool CP_SInt16ToEditField (CP_View *inSuperview, UInt32 inObjectID, SInt16 inValue, bool inRecrusive=kCP_NoRecrusiveSearch)
bool CP_SInt32ToEditField (CP_View *inSuperview, UInt32 inObjectID, SInt32 inValue, bool inRecrusive=kCP_NoRecrusiveSearch)
bool CP_UInt32ToEditField (CP_View *inSuperview, UInt32 inObjectID, UInt32 inValue, bool inRecrusive=kCP_NoRecrusiveSearch)
bool CP_FloatToEditField (CP_View *inSuperview, UInt32 inObjectID, float inValue, bool inRecrusive=kCP_NoRecrusiveSearch)
bool CP_StringToEditField (CP_View *inSuperview, UInt32 inObjectID, const CP_String &inValue, bool inRecrusive=kCP_NoRecrusiveSearch)
bool CP_BoolToPlatformControl (CP_PlatformControl *inPlatformControl, const bool inValue)
bool CP_BoolToPlatformControl (CP_View *inSuperview, UInt32 inObjectID, bool inValue, bool inRecrusive=kCP_NoRecrusiveSearch)
bool CP_SInt32ToPopupMenu (CP_PopupMenu *inPopupMenu, const SInt32 inValue)
bool CP_SInt32ToPopupMenu (CP_View *inSuperview, UInt32 inObjectID, const SInt32 inValue, bool inRecrusive=kCP_NoRecrusiveSearch)
bool CP_RGBColorToSelectColorButton (CP_SelectColorButton *inSelectColorButton, const CP_RGBColor &inValue)
bool CP_RGBColorToSelectColorButton (CP_View *inSuperview, UInt32 inObjectID, const CP_RGBColor &inValue, bool inRecrusive=kCP_NoRecrusiveSearch)
bool CP_StringToStaticText (CP_StaticText *inStaticText, const CP_String inValue)
bool CP_StringToStaticText (CP_View *inSuperview, UInt32 inObjectID, const CP_String inValue, bool inRecrusive=kCP_NoRecrusiveSearch)
bool CP_StringToTextView (CP_TextView *inTextView, const CP_String inValue)
bool CP_StringToTextView (CP_View *inSuperview, UInt32 inObjectID, const CP_String inValue, bool inRecrusive=kCP_NoRecrusiveSearch)

Function Documentation

bool CP_UIFieldSetters::CP_SInt16ToEditField CP_EditField inEditField,
SInt16  inValue
 

Sets the text of a CP_EditField from the passed in SInt16.

Parameters:
inValue The SInt16 to set the field to.
Exceptions:
none 
Returns:
bool True if we were able to set the text.

bool CP_UIFieldSetters::CP_FloatToEditField CP_EditField inEditField,
float  inValue
 

Sets the text of a CP_EditField from the passed in float.

Parameters:
inValue The float to set the field to.
Exceptions:
none 
Returns:
bool True if we were able to set the text.

bool CP_UIFieldSetters::CP_SInt16ToEditField CP_View inSuperview,
UInt32  inObjectID,
SInt16  inValue,
bool  inRecrusive
 

Sets the text of a CP_EditField from the passed in SInt16.

Parameters:
inSuperview The superview that contains this edit field.
inObjectID The object ID of the edit field.
inValue The SInt16 to set the field to.
inRecrusive If true, then search in any subviews of the superview.
Exceptions:
none 
Returns:
bool True if we were able to set the text.

bool CP_UIFieldSetters::CP_SInt32ToEditField CP_View inSuperview,
UInt32  inObjectID,
SInt32  inValue,
bool  inRecrusive
 

Sets the text of a CP_EditField from the passed in SInt32.

Parameters:
inSuperview The superview that contains this edit field.
inObjectID The object ID of the edit field.
inValue The SInt32 to set the field to.
inRecrusive If true, then search in any subviews of the superview.
Exceptions:
none 
Returns:
bool True if we were able to set the text.

bool CP_UIFieldSetters::CP_UInt32ToEditField CP_View inSuperview,
UInt32  inObjectID,
UInt32  inValue,
bool  inRecrusive
 

Sets the text of a CP_EditField from the passed in UInt32.

Parameters:
inSuperview The superview that contains this edit field.
inObjectID The object ID of the edit field.
inValue The SInt32 to set the field to.
inRecrusive If true, then search in any subviews of the superview.
Exceptions:
none 
Returns:
bool True if we were able to set the text.

bool CP_UIFieldSetters::CP_FloatToEditField CP_View inSuperview,
UInt32  inObjectID,
float  inValue,
bool  inRecrusive
 

Sets the text of a CP_EditField from the passed in float.

Parameters:
inSuperview The superview that contains this edit field.
inObjectID The object ID of the edit field.
inValue The float to set the field to.
inRecrusive If true, then search in any subviews of the superview.
Exceptions:
none 
Returns:
bool True if we were able to set the text.

bool CP_UIFieldSetters::CP_StringToEditField CP_View inSuperview,
UInt32  inObjectID,
const CP_String inValue,
bool  inRecrusive
 

Sets the text of a CP_EditField from the passed in CP_String.

Parameters:
inSuperview The superview that contains this edit field.
inObjectID The object ID of the edit field.
inValue The CP_String to set the field to.
inRecrusive If true, then search in any subviews of the superview.
Exceptions:
none 
Returns:
bool True if we were able to set the text.

bool CP_UIFieldSetters::CP_BoolToPlatformControl CP_PlatformControl inPlatformControl,
const bool  inValue
 

Sets the value of the platform control from the passed in bool value.

Parameters:
inValue The bool to set the platform control to.
Exceptions:
none 
Returns:
bool True if we were able to set the value of the control.

bool CP_UIFieldSetters::CP_BoolToPlatformControl CP_View inSuperview,
UInt32  inObjectID,
const bool  inValue,
bool  inRecrusive
 

Sets the value of the platform control from the passed in bool value.

Parameters:
inSuperview The superview that contains this edit field.
inObjectID The object ID of the edit field.
inValue The SInt32 to set the field to.
inRecrusive If true, then search in any subviews of the superview.
Exceptions:
none 
Returns:
bool True if we were able to set the value of the field to.

bool CP_UIFieldSetters::CP_SInt32ToPopupMenu CP_PopupMenu inPopupMenu,
const SInt32  inValue
 

Sets the value of the popup menu from the passed in SInt32.

Parameters:
inValue The SInt32 to set the popup menu to.
Exceptions:
none 
Returns:
bool True if we were able to set the value of the popup.

bool CP_UIFieldSetters::CP_SInt32ToPopupMenu CP_View inSuperview,
UInt32  inObjectID,
const SInt32  inValue,
bool  inRecrusive
 

Sets the value of the popup menu from the passed in SInt32.

Parameters:
inSuperview The superview that contains this edit field.
inObjectID The object ID of the edit field.
inValue The SInt32 to set the field to.
inRecrusive If true, then search in any subviews of the superview.
Exceptions:
none 
Returns:
bool True if we were able to set the value of the field to.

bool CP_UIFieldSetters::CP_RGBColorToSelectColorButton CP_SelectColorButton inSelectColorButton,
const CP_RGBColor inValue
 

Sets the color of a CP_SelectColorButton from the passed in CP_RGBColor.

Parameters:
inValue The CP_RGBColor to set the field to.
Exceptions:
none 
Returns:
bool True if we were able to set the text.

bool CP_UIFieldSetters::CP_RGBColorToSelectColorButton CP_View inSuperview,
UInt32  inObjectID,
const CP_RGBColor inValue,
bool  inRecrusive
 

Sets the color of a CP_SelectColorButton from the passed in CP_RGBColor.

Parameters:
inSuperview The superview that contains this edit field.
inObjectID The object ID of the edit field.
inValue The CP_RGBColor to set the field to.
inRecrusive If true, then search in any subviews of the superview.
Exceptions:
none 
Returns:
bool True if we were able to set the color of the button.

bool CP_StringToStaticText CP_StaticText inStaticText,
const CP_String  inValue
 

bool CP_UIFieldSetters::CP_StringToStaticText CP_View inSuperview,
UInt32  inObjectID,
const CP_String  inValue,
bool  inRecrusive
 

Sets the text of a CP_StaticText from the passed in CP_String.

Parameters:
inSuperview The superview that contains this static text.
inObjectID The object ID of the edit field.
inValue The SInt16 to set the field to.
inRecrusive If true, then search in any subviews of the superview.
Exceptions:
none 
Returns:
bool True if we were able to set the text.

bool CP_UIFieldSetters::CP_StringToTextView CP_TextView inTextView,
const CP_String  inValue
 

Sets the text of a CP_TextView from the passed in CP_String.

Parameters:
inValue The CP_String to set the field to.
Exceptions:
none 
Returns:
bool True if we were able to set the text.

bool CP_UIFieldSetters::CP_StringToTextView CP_View inSuperview,
UInt32  inObjectID,
const CP_String  inValue,
bool  inRecrusive
 

Sets the text of a CP_TextView from the passed in CP_String.

Parameters:
inSuperview The superview that contains this text view.
inObjectID The object ID of the edit field.
inValue The SInt16 to set the field to.
inRecrusive If true, then search in any subviews of the superview.
Exceptions:
none 
Returns:
bool True if we were able to set the text.


Generated on Sat Sep 17 20:01:18 2005 for CPLAT by  doxygen 1.4.0