#ifndef USSWITCHBUTTON_H #define USSWITCHBUTTON_H #include "AutoProperty.h" #define US_SWITCH_BUTTON(NAME, TITLE, IMAGE, ENABLE, VISIBLE, DEFAULT_VALUE) \ US_SIMPLE_BUTTON(NAME, TITLE, IMAGE, ENABLE, VISIBLE) \ US_PROPERTY(bool, NAME, DEFAULT_VALUE) \ #define US_SWITCH_BUTTON_CUSTOM_SETTER(NAME, TITLE, IMAGE, ENABLE, VISIBLE, DEFAULT_VALUE) \ US_SIMPLE_BUTTON(NAME, TITLE, IMAGE, ENABLE, VISIBLE) \ US_PROPERTY_CUSTOM_SETTER(bool, NAME, DEFAULT_VALUE) \ #endif //USSWITCHBUTTON_H