mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
32 lines
573 B
C++
32 lines
573 B
C++
#ifndef OPENMW_MWGUI_DEBUGWINDOW_H
|
|
#define OPENMW_MWGUI_DEBUGWINDOW_H
|
|
|
|
#include "windowbase.hpp"
|
|
|
|
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
|