CheckBox.pkg 452 B

1234567891011121314151617
  1. $#include "CheckBox.h"
  2. class CheckBox : public BorderImage
  3. {
  4. CheckBox(Context* context);
  5. virtual ~CheckBox();
  6. void SetChecked(bool enable);
  7. void SetCheckedOffset(const IntVector2& rect);
  8. void SetCheckedOffset(int x, int y);
  9. bool IsChecked() const;
  10. const IntVector2& GetCheckedOffset() const;
  11. tolua_property__is_set bool checked;
  12. tolua_property__get_set IntVector2& checkedOffset;
  13. };