dfhack/library/include/modules/Gui.h

36 lines
729 B
C

2010-04-04 16:48:19 -06:00
#ifndef CL_MOD_GUI
#define CL_MOD_GUI
/*
* Gui: Query the DF's GUI state
*/
2010-05-25 22:48:23 -06:00
#include "dfhack/DFExport.h"
2010-04-04 16:48:19 -06:00
namespace DFHack
{
2010-05-23 15:06:10 -06:00
class DFContextPrivate;
2010-04-04 16:48:19 -06:00
struct t_viewscreen;
class DFHACK_EXPORT Gui
{
public:
2010-05-23 15:06:10 -06:00
Gui(DFHack::DFContextPrivate * d);
2010-04-04 16:48:19 -06:00
~Gui();
bool Start();
bool Finish();
///true if paused, false if not
bool ReadPauseState();
/// read the DF menu view state (stock screen, unit screen, other screens
bool ReadViewScreen(t_viewscreen &);
/// read the DF menu state (designation menu ect)
uint32_t ReadMenuState();
private:
struct Private;
Private *d;
};
}
2010-05-01 18:38:18 -06:00
#endif