PolyUITreeEvent.h 599 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * PolyUITreeEvent.h
  3. * Poly
  4. *
  5. * Created by Ivan Safrin on 7/29/08.
  6. * Copyright 2008 __MyCompanyName__. All rights reserved.
  7. *
  8. */
  9. // @package UI
  10. #pragma once
  11. #include "PolyGlobals.h"
  12. #include "PolyEvent.h"
  13. #include "PolyUITree.h"
  14. namespace Polycode {
  15. class UITree;
  16. class _PolyExport UITreeEvent : public Event {
  17. public:
  18. UITreeEvent(UITree *selection);
  19. UITreeEvent();
  20. ~UITreeEvent();
  21. static const int NEED_REFRESH_EVENT = 2000;
  22. static const int SELECTED_EVENT = 2001;
  23. static const int EXECUTED_EVENT = 2002;
  24. UITree *selection;
  25. protected:
  26. };
  27. }