|
|
| version 1.2, 2003/12/19 16:08:02 | version 1.4, 2004/03/02 16:34:50 |
|---|---|
| Line 114 gui_qt_set_window_title(const char* str) | Line 114 gui_qt_set_window_title(const char* str) |
| np2EmulationWindow->setCaption(str); | np2EmulationWindow->setCaption(str); |
| } | } |
| void | |
| gui_qt_messagebox(const char *title, const char *msg) | |
| { | |
| printf("%s\n", title); | |
| printf(msg); | |
| } | |
| // toolkit data | // toolkit data |
| gui_toolkit_t qt_toolkit = { | gui_toolkit_t qt_toolkit = { |
| gui_qt_get_toolkit, | gui_qt_get_toolkit, |
| Line 125 gui_toolkit_t qt_toolkit = { | Line 133 gui_toolkit_t qt_toolkit = { |
| gui_qt_widget_quit, | gui_qt_widget_quit, |
| gui_qt_event_process, | gui_qt_event_process, |
| gui_qt_set_window_title, | gui_qt_set_window_title, |
| gui_qt_messagebox, | |
| }; | }; |
| Line 270 emulationWindow::about() | Line 279 emulationWindow::about() |
| emulationScreen::emulationScreen(QWidget *parent, const char *name, WFlags f) | emulationScreen::emulationScreen(QWidget *parent, const char *name, WFlags f) |
| : QWidget(parent, name, f) | : QWidget(parent, name, f) |
| , m_Surface(0) | , m_Surface(0) |
| , m_Offscreen(0) | |
| , m_Painter(0) | , m_Painter(0) |
| #if !defined(Q_WS_QWS) | |
| , m_Offscreen(0) | |
| #endif | |
| { | { |
| m_SrcRect.setRect(0, 0, 0, 0); | m_SrcRect.setRect(0, 0, 0, 0); |