You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/apps/openmw/mwgui/debugwindow.hpp

38 lines
635 B
C++

#ifndef OPENMW_MWGUI_DEBUGWINDOW_H
#define OPENMW_MWGUI_DEBUGWINDOW_H
#include "windowbase.hpp"
namespace MyGUI
{
class EditBox;
class TabControl;
}
namespace MWGui
{
class DebugWindow : public WindowBase
{
public:
DebugWindow();
void onFrame(float dt) override;
static void startLogRecording();
private:
void updateLogView();
void updateLuaProfile();
void updateBulletProfile();
MyGUI::TabControl* mTabControl;
MyGUI::EditBox* mLogView;
MyGUI::EditBox* mLuaProfiler;
MyGUI::EditBox* mBulletProfilerEdit;
};
}
#endif