xe::ui control for hosting a turbobadger UI.

This commit is contained in:
Ben Vanik
2015-07-01 15:58:04 -07:00
parent dec0d12cc9
commit 4ec0655751
19 changed files with 1069 additions and 13 deletions

View File

@@ -13,6 +13,7 @@
#include "xenia/base/logging.h"
#include "xenia/base/platform.h"
#include "xenia/base/threading.h"
#include "xenia/debug/ui/turbo_badger_control.h"
namespace xe {
namespace debug {
@@ -88,7 +89,7 @@ bool MainWindow::Initialize() {
// Setup the GL control that actually does the drawing.
// We run here in the loop and only touch it (and its context) on this
// thread. That means some sync-fu when we want to swap.
control_ = std::make_unique<xe::ui::gl::WGLControl>(loop());
control_ = std::make_unique<TurboBadgerControl>(loop());
AddChild(control_.get());
Resize(1440, 1200);