diff -r 5d0cbeb02bf3 -r 557a4e13afef mapeditor.cpp --- a/mapeditor.cpp Wed Mar 29 09:11:09 2006 +0000 +++ b/mapeditor.cpp Mon Apr 10 11:21:35 2006 +0000 @@ -125,6 +125,8 @@ extern Settings settings; +extern QString iconPath; + int MapEditor::mapNum=0; // make instance /////////////////////////////////////////////////////////////////////// @@ -168,22 +170,13 @@ // Create bitmap cursors, patform dependant #if defined(Q_OS_MACX) - #include "icons/cursorhandopen16.xpm" - #include "icons/cursorcolorpicker16.xpm" - QBitmap cb( 16, 16, chandopen, TRUE ); - QBitmap cm( 16, 16, chandopenmask, TRUE ); - handOpenCursor=QCursor ( cb, cm ); + handOpenCursor=QCursor ( QPixmap(iconPath+"cursorhandopen16.png") ); // set hot spot to tip of picker - pickColorCursor=QCursor ( cursorcolorpicker_xpm, 1,15 ); + pickColorCursor=QCursor ( QPixmap (iconPath+"cursorcolorpicker16.png"), 1,15 ); #else - #include "icons/cursorhandopen.xpm" - #include "icons/cursorcolorpicker.xpm" - - QBitmap cb( 32, 32, chandopen, TRUE ); - QBitmap cm( 32, 32, chandopenmask, TRUE ); - handOpenCursor=QCursor ( cb, cm ); + handOpenCursor=QCursor (QPixmap(iconPath+"cursorhandopen16.png")); // set hot spot to tip of picker - pickColorCursor=QCursor ( cursorcolorpicker_xpm, 5,27 ); + pickColorCursor=QCursor ( QPixmap(iconPath+"cursorcolorpicker.png"), 5,27 ); #endif pickingColor=false;