Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Added David Hedbor's Qtopia patches
- Loading branch information
Showing
20 changed files
with
1,613 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
/* Include the SDL main definition header */ | ||
#include "SDL_main.h" | ||
#ifdef main | ||
#undef main | ||
#endif | ||
#ifdef QWS | ||
#include <qpe/qpeapplication.h> | ||
#include <qapplication.h> | ||
#endif | ||
|
||
extern int SDL_main(int argc, char *argv[]); | ||
|
||
int main(int argc, char *argv[]) | ||
{ | ||
#ifdef QWS | ||
// This initializes the Qtopia application. It needs to be done here | ||
// because it parses command line options. | ||
QPEApplication *app = new QPEApplication(argc, argv); | ||
QWidget dummy; | ||
app->showMainWidget(&dummy); | ||
#endif | ||
return(SDL_main(argc, argv)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Makefile.in | ||
Makefile | ||
.libs | ||
*.o | ||
*.lo | ||
*.la |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
## Makefile.am for SDL using the Qtopia backend | ||
|
||
noinst_LTLIBRARIES = libvideo_qtopia.la | ||
libvideo_qtopia_la_SOURCES = $(QTOPIA_SRCS) | ||
|
||
# The SDL BWindow video driver sources | ||
QTOPIA_SRCS = \ | ||
SDL_QWin.h \ | ||
SDL_QWin.cc \ | ||
SDL_QPEApp.h \ | ||
SDL_QPEApp.cc \ | ||
SDL_lowvideo.h \ | ||
SDL_sysmouse.cc \ | ||
SDL_sysmouse_c.h \ | ||
SDL_sysvideo.cc \ | ||
SDL_syswm.cc \ | ||
SDL_syswm_c.h \ | ||
SDL_sysevents.cc \ | ||
SDL_sysevents_c.h |
Oops, something went wrong.