2014-09-28 17:57:14 +02:00
|
|
|
#ifndef OPENMW_MWGUI_DEBUGWINDOW_H
|
|
|
|
#define OPENMW_MWGUI_DEBUGWINDOW_H
|
|
|
|
|
|
|
|
#include "windowbase.hpp"
|
|
|
|
|
|
|
|
namespace MWGui
|
|
|
|
{
|
|
|
|
|
|
|
|
class DebugWindow : public WindowBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
DebugWindow();
|
|
|
|
|
2020-10-16 22:18:54 +04:00
|
|
|
void onFrame(float dt) override;
|
2014-09-28 17:57:14 +02:00
|
|
|
|
2022-05-22 02:47:58 +02:00
|
|
|
static void startLogRecording();
|
|
|
|
|
2014-09-28 17:57:14 +02:00
|
|
|
private:
|
2022-05-08 22:43:30 +02:00
|
|
|
void updateLogView();
|
2022-11-26 21:25:18 +01:00
|
|
|
void updateLuaProfile();
|
2022-05-08 22:43:30 +02:00
|
|
|
void updateBulletProfile();
|
|
|
|
|
2014-09-28 17:57:14 +02:00
|
|
|
MyGUI::TabControl* mTabControl;
|
2022-05-08 22:43:30 +02:00
|
|
|
MyGUI::EditBox* mLogView;
|
2022-11-26 21:25:18 +01:00
|
|
|
MyGUI::EditBox* mLuaProfiler;
|
2014-09-28 17:57:14 +02:00
|
|
|
MyGUI::EditBox* mBulletProfilerEdit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|