Added window icon resource.
This commit is contained in:
parent
32116210b8
commit
2c370389fd
|
@ -0,0 +1,5 @@
|
||||||
|
<!DOCTYPE RCC><RCC version="1.0">
|
||||||
|
<qresource>
|
||||||
|
<file>fceux.png</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
|
@ -400,7 +400,7 @@ set(SRC_DRIVERS_SDL
|
||||||
|
|
||||||
set(SOURCES ${SRC_CORE} ${SRC_DRIVERS_COMMON} ${SRC_DRIVERS_SDL})
|
set(SOURCES ${SRC_CORE} ${SRC_DRIVERS_COMMON} ${SRC_DRIVERS_SDL})
|
||||||
|
|
||||||
add_executable( fceux ${SOURCES} )
|
add_executable( fceux ${SOURCES} ../resources.qrc )
|
||||||
|
|
||||||
target_link_libraries( fceux
|
target_link_libraries( fceux
|
||||||
${Qt5Widgets_LIBRARIES}
|
${Qt5Widgets_LIBRARIES}
|
||||||
|
|
|
@ -35,6 +35,7 @@ consoleWin_t::consoleWin_t(QWidget *parent)
|
||||||
//viewport = new ConsoleViewSDL_t(this);
|
//viewport = new ConsoleViewSDL_t(this);
|
||||||
|
|
||||||
setCentralWidget(viewport);
|
setCentralWidget(viewport);
|
||||||
|
setWindowIcon(QIcon(":fceux.png"));
|
||||||
|
|
||||||
gameTimer = new QTimer( this );
|
gameTimer = new QTimer( this );
|
||||||
mutex = new QMutex( QMutex::NonRecursive );
|
mutex = new QMutex( QMutex::NonRecursive );
|
||||||
|
|
|
@ -0,0 +1,55 @@
|
||||||
|
/* XPM */
|
||||||
|
static const char * icon_xpm[] = {
|
||||||
|
"32 32 20 1",
|
||||||
|
" c None",
|
||||||
|
". c #040204",
|
||||||
|
"+ c #84A284",
|
||||||
|
"@ c #C42204",
|
||||||
|
"# c #8482C4",
|
||||||
|
"$ c #FCFEFC",
|
||||||
|
"% c #848284",
|
||||||
|
"& c #648284",
|
||||||
|
"* c #646284",
|
||||||
|
"= c #444244",
|
||||||
|
"- c #A4A284",
|
||||||
|
"; c #C4A284",
|
||||||
|
"> c #C48284",
|
||||||
|
", c #A4CAF4",
|
||||||
|
"' c #244244",
|
||||||
|
") c #444204",
|
||||||
|
"! c #442204",
|
||||||
|
"~ c #446244",
|
||||||
|
"{ c #646244",
|
||||||
|
"] c #644244",
|
||||||
|
" ",
|
||||||
|
" ........ ",
|
||||||
|
" ............... ",
|
||||||
|
" ........................ ",
|
||||||
|
" ...........................+ ",
|
||||||
|
" ............@@..@@........... ",
|
||||||
|
" .#............@@............$$ ",
|
||||||
|
" .##..........@@.@.....$$%%%%$$ ",
|
||||||
|
" &...........@....@$$$$$$%%&%$$ ",
|
||||||
|
" *&...............$$$$$$$%%&%$$ ",
|
||||||
|
" =&*.......-;;>;...$$,$$$%**&.. ",
|
||||||
|
" '&&..............$$,,,%=)!~.. ",
|
||||||
|
" ~&&............-%%##%*.~'=%& ",
|
||||||
|
" *&&.....+%%****&&%%&*.&!!' ",
|
||||||
|
" **&%&***********&&&*~{'= ",
|
||||||
|
" ********=**~**~**~ ",
|
||||||
|
" *****~******] ",
|
||||||
|
" **~***]' ",
|
||||||
|
" ~]== ",
|
||||||
|
" ",
|
||||||
|
" ..... .... .... .. ..@@ @@",
|
||||||
|
" ..... .... .... .. ..@@@ @@@",
|
||||||
|
" .. .. .. .. .. @@@ @@@ ",
|
||||||
|
" .... .. .. .. .. @@@@@@ ",
|
||||||
|
" .... .. ... .. .. @@@@ ",
|
||||||
|
" .. .. ... .. .. @@@@ ",
|
||||||
|
" .. .. .. .. .. @@@@@@ ",
|
||||||
|
" .. .. .. .. .. @@@ @@@ ",
|
||||||
|
" .. .... .... .....@@@ @@@",
|
||||||
|
" .. .... .... ... @@ @@",
|
||||||
|
" ",
|
||||||
|
" "};
|
Loading…
Reference in New Issue