23 lines
552 B
C++
23 lines
552 B
C++
#ifndef LOADING_WINDOW_GTK
|
|
#define LOADING_WINDOW_GTK
|
|
|
|
#include "LoadingWindow_Null.h"
|
|
|
|
extern void CreateGtkLoadingWindow();
|
|
extern void DestroyGtkLoadingWindow();
|
|
extern void SetGtkLoadingWindowText(const char *s);
|
|
|
|
class LoadingWindow_Gtk : public LoadingWindow {
|
|
public:
|
|
LoadingWindow_Gtk() { CreateGtkLoadingWindow(); }
|
|
~LoadingWindow_Gtk() { DestroyGtkLoadingWindow(); }
|
|
|
|
void SetText(CString str) { SetGtkLoadingWindowText(str.c_str()); }
|
|
void Paint() { }
|
|
};
|
|
|
|
#undef ARCH_LOADING_WINDOW
|
|
#define ARCH_LOADING_WINDOW LoadingWindow_Gtk
|
|
|
|
#endif
|