Console.pkg 998 B

12345678910111213141516171819202122232425262728
  1. $#include "Console.h"
  2. class Console : public Object
  3. {
  4. void SetDefaultStyle(XMLFile* style);
  5. void SetVisible(bool enable);
  6. void Toggle();
  7. void SetNumRows(unsigned rows);
  8. void SetNumHistoryRows(unsigned rows);
  9. void UpdateElements();
  10. XMLFile* GetDefaultStyle() const;
  11. BorderImage* GetBackground() const;
  12. LineEdit* GetLineEdit() const;
  13. bool IsVisible() const;
  14. unsigned GetNumRows() const;
  15. unsigned GetNumHistoryRows() const;
  16. unsigned GetHistoryPosition() const;
  17. const String& GetHistoryRow(unsigned index) const;
  18. tolua_property__get_set XMLFile* defaultStyle;
  19. tolua_readonly tolua_property__get_set BorderImage* background;
  20. tolua_readonly tolua_property__get_set LineEdit* lineEdit;
  21. tolua_property__is_set bool visible;
  22. tolua_property__get_set unsigned numRows;
  23. tolua_property__get_set unsigned numHistoryRows;
  24. tolua_readonly tolua_property__get_set unsigned historyPosition;
  25. };