//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //controltype_button_startup //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int controltype_button_startup() { //Register this type with the ControlMaster control_registertype( "Button", //Name of control type true, //Can be parentless false, //Can parent true, //Can child CONTROL_ID_BUTTON, &controltype_button_create, &controltype_button_destroy, &controltype_button_event, &controltype_button_notify, &controltype_button_message, &controltype_button_getdata, &controltype_button_getstringdata, &controltype_button_menu_context, &controltype_button_notifytype ); //Register this type with the ControlMaster control_registertype( "SwitchButton", //Name of control type true, //Can be parentless false, //Can parent true, //Can child CONTROL_ID_SWITCHBUTTON, &controltype_switchbutton_create, &controltype_button_destroy, &controltype_button_event, &controltype_button_notify, &controltype_button_message, &controltype_button_getdata, &controltype_button_getstringdata, &controltype_switchbutton_menu_context, &controltype_button_notifytype ); return 0; }
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //controltype_label_startup //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int controltype_label_startup() { //Register this type with the ControlMaster control_registertype( "Frame", //Name of control type true, //Can be parentless true, //Can parent true, //Can child CONTROL_ID_FRAME, &controltype_frame_create, &controltype_label_destroy, &controltype_label_event, &controltype_label_notify, &controltype_label_message, &controltype_frame_getdata, &controltype_label_getstringdata, &controltype_label_menu_context, &controltype_label_notifytype ); //Register this type with the ControlMaster control_registertype( "Label", //Name of control type true, //Can be parentless false, //Can parent true, //Can child CONTROL_ID_LABEL, &controltype_label_create, &controltype_label_destroy, &controltype_label_event, &controltype_label_notify, &controltype_label_message, &controltype_label_getdata, &controltype_label_getstringdata, &controltype_label_menu_context, &controltype_label_notifytype ); return 0; }