#import "CocoaSpinbox.h"
Go to the source code of this file.
Functions | |
static void | CocoaGui_WSpinBox_Changed_handler (NSView *spinbox, void *data) |
static GWENHYWFAR_CB const char * | CocoaGui_WSpinBox_GetCharProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue) |
static GWENHYWFAR_CB int | CocoaGui_WSpinBox_GetIntProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue) |
static GWENHYWFAR_CB int | CocoaGui_WSpinBox_SetCharProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal) |
static GWENHYWFAR_CB int | CocoaGui_WSpinBox_SetIntProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal) |
int | CocoaGui_WSpinBox_Setup (GWEN_WIDGET *w) |
static void CocoaGui_WSpinBox_Changed_handler | ( | NSView * | spinbox, | |
void * | data | |||
) | [static] |
Definition at line 183 of file w_spinbox.mm.
References CocoaGui_Dialog_Leave(), DBG_ERROR, GWEN_Dialog_EmitSignal(), GWEN_DialogEvent_ResultAccept, GWEN_DialogEvent_ResultReject, GWEN_DialogEvent_TypeValueChanged, GWEN_Widget_GetDialog(), GWEN_Widget_GetName(), and GWEN_Widget_GetTopDialog().
static GWENHYWFAR_CB const char* CocoaGui_WSpinBox_GetCharProperty | ( | GWEN_WIDGET * | w, | |
GWEN_DIALOG_PROPERTY | prop, | |||
int | index, | |||
const char * | defaultValue | |||
) | [static] |
Definition at line 159 of file w_spinbox.mm.
References COCOA_DIALOG_WIDGET_REAL, DBG_WARN, GWEN_DialogProperty_Value, GWEN_LOGDOMAIN, GWEN_Widget_GetImplData(), GWEN_Widget_GetType(), GWEN_Widget_Type_toString(), and CocoaSpinbox::stringValue.
Referenced by CocoaGui_WSpinBox_Setup().
static GWENHYWFAR_CB int CocoaGui_WSpinBox_GetIntProperty | ( | GWEN_WIDGET * | w, | |
GWEN_DIALOG_PROPERTY | prop, | |||
int | index, | |||
int | defaultValue | |||
) | [static] |
Definition at line 83 of file w_spinbox.mm.
References COCOA_DIALOG_WIDGET_REAL, DBG_WARN, GWEN_DialogProperty_Enabled, GWEN_DialogProperty_Focus, GWEN_DialogProperty_Height, GWEN_DialogProperty_MaxValue, GWEN_DialogProperty_MinValue, GWEN_DialogProperty_Value, GWEN_DialogProperty_Width, GWEN_LOGDOMAIN, GWEN_Widget_GetImplData(), GWEN_Widget_GetType(), GWEN_Widget_Type_toString(), CocoaSpinbox::integerValue, CocoaSpinbox::maxValue, and CocoaSpinbox::minValue.
Referenced by CocoaGui_WSpinBox_Setup().
static GWENHYWFAR_CB int CocoaGui_WSpinBox_SetCharProperty | ( | GWEN_WIDGET * | w, | |
GWEN_DIALOG_PROPERTY | prop, | |||
int | index, | |||
const char * | value, | |||
int | doSignal | |||
) | [static] |
Definition at line 126 of file w_spinbox.mm.
References COCOA_DIALOG_WIDGET_REAL, DBG_WARN, GWEN_DialogProperty_Value, GWEN_LOGDOMAIN, GWEN_Widget_GetImplData(), GWEN_Widget_GetType(), GWEN_Widget_Type_toString(), and CocoaSpinbox::setStringValue:.
Referenced by CocoaGui_WSpinBox_Setup().
static GWENHYWFAR_CB int CocoaGui_WSpinBox_SetIntProperty | ( | GWEN_WIDGET * | w, | |
GWEN_DIALOG_PROPERTY | prop, | |||
int | index, | |||
int | value, | |||
int | doSignal | |||
) | [static] |
Definition at line 23 of file w_spinbox.mm.
References COCOA_DIALOG_WIDGET_REAL, DBG_WARN, GWEN_DialogProperty_Enabled, GWEN_DialogProperty_Focus, GWEN_DialogProperty_Height, GWEN_DialogProperty_MaxValue, GWEN_DialogProperty_MinValue, GWEN_DialogProperty_Value, GWEN_DialogProperty_Width, GWEN_LOGDOMAIN, GWEN_Widget_GetImplData(), GWEN_Widget_GetType(), GWEN_Widget_Type_toString(), CocoaSpinbox::makeFirstResponder, CocoaSpinbox::setIntegerValue:, CocoaSpinbox::setMaxValue:, and CocoaSpinbox::setMinValue:.
Referenced by CocoaGui_WSpinBox_Setup().
int CocoaGui_WSpinBox_Setup | ( | GWEN_WIDGET * | w | ) |
Definition at line 201 of file w_spinbox.mm.
References COCOA_DIALOG_WIDGET_CONTENT, COCOA_DIALOG_WIDGET_REAL, CocoaGui_WSpinBox_GetCharProperty(), CocoaGui_WSpinBox_GetIntProperty(), CocoaGui_WSpinBox_SetCharProperty(), CocoaGui_WSpinBox_SetIntProperty(), CocoaSpinbox::fillX, CocoaSpinbox::fillY, GWEN_Widget_AddChildGuiWidget(), GWEN_WIDGET_FLAGS_FILLX, GWEN_WIDGET_FLAGS_FILLY, GWEN_Widget_GetFlags(), GWEN_Widget_GetText(), GWEN_Widget_SetGetCharPropertyFn(), GWEN_Widget_SetGetIntPropertyFn(), GWEN_Widget_SetImplData(), GWEN_Widget_SetSetCharPropertyFn(), GWEN_Widget_SetSetIntPropertyFn(), and CocoaSpinbox::setStringValue:.
Referenced by CocoaGui_Dialog_SetupTree().