UIPlayerWidget.cpp 660 B

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
  2. // Please see LICENSE.md in repository root for license information
  3. // https://github.com/AtomicGameEngine/AtomicGameEngine
  4. #include "AtomicEditor.h"
  5. #include <Atomic/UI/UI.h>
  6. #include <Atomic/IO/Log.h>
  7. #include "UIPlayerWidget.h"
  8. using namespace tb;
  9. namespace AtomicEditor
  10. {
  11. PlayerWidget::PlayerWidget(Context* context) :
  12. AEWidget(context)
  13. {
  14. UI* tbui = GetSubsystem<UI>();
  15. tbui->LoadResourceFile(delegate_, "AtomicEditor/editor/ui/playerwidget.tb.txt");
  16. }
  17. PlayerWidget::~PlayerWidget()
  18. {
  19. }
  20. bool PlayerWidget::OnEvent(const TBWidgetEvent &ev)
  21. {
  22. return false;
  23. }
  24. }