| 1 |
%module fife |
| 2 |
%{ |
| 3 |
#include "gui/librocket/librocketmanager.h" |
| 4 |
#include "gui/guimanager.h" |
| 5 |
%} |
| 6 |
|
| 7 |
%include "gui/guimanager.i" |
| 8 |
|
| 9 |
namespace FIFE { |
| 10 |
|
| 11 |
%feature("notabstract") LibRocketManager; |
| 12 |
class LibRocketManager : public IGUIManager { |
| 13 |
public: |
| 14 |
|
| 15 |
LibRocketManager(); |
| 16 |
virtual ~LibRocketManager(); |
| 17 |
|
| 18 |
void init(const std::string& backend, int32_t screenWidth, int32_t screenHeight); |
| 19 |
void loadFont(const std::string& filepath); |
| 20 |
|
| 21 |
void showDebugger() const; |
| 22 |
void hideDebugger() const; |
| 23 |
}; |
| 24 |
} |