mapeditor.cpp
changeset 269 4c3e9fa0093b
parent 267 5d0cbeb02bf3
child 294 3492af261af2
     1.1 --- a/mapeditor.cpp	Wed Mar 29 09:11:09 2006 +0000
     1.2 +++ b/mapeditor.cpp	Mon Apr 10 11:00:23 2006 +0000
     1.3 @@ -125,6 +125,8 @@
     1.4  
     1.5  extern Settings settings;
     1.6  
     1.7 +extern QString iconPath;
     1.8 +
     1.9  int MapEditor::mapNum=0;	// make instance
    1.10  
    1.11  ///////////////////////////////////////////////////////////////////////
    1.12 @@ -168,22 +170,13 @@
    1.13  
    1.14  	// Create bitmap cursors, patform dependant
    1.15  	#if defined(Q_OS_MACX)
    1.16 -		#include "icons/cursorhandopen16.xpm"
    1.17 -		#include "icons/cursorcolorpicker16.xpm"
    1.18 -		QBitmap cb( 16, 16, chandopen, TRUE );
    1.19 -		QBitmap cm( 16, 16, chandopenmask, TRUE );
    1.20 -		handOpenCursor=QCursor ( cb, cm );		
    1.21 +		handOpenCursor=QCursor ( QPixmap(iconPath+"cursorhandopen16.png") );		
    1.22  		// set hot spot to tip of picker			
    1.23 -		pickColorCursor=QCursor ( cursorcolorpicker_xpm, 1,15 ); 
    1.24 +		pickColorCursor=QCursor ( QPixmap (iconPath+"cursorcolorpicker16.png"), 1,15 ); 
    1.25  	#else
    1.26 -		#include "icons/cursorhandopen.xpm"
    1.27 -		#include "icons/cursorcolorpicker.xpm"
    1.28 -
    1.29 -		QBitmap cb( 32, 32, chandopen, TRUE );
    1.30 -		QBitmap cm( 32, 32, chandopenmask, TRUE );
    1.31 -		handOpenCursor=QCursor ( cb, cm );		
    1.32 +		handOpenCursor=QCursor (QPixmap(iconPath+"cursorhandopen16.png"));		
    1.33  		// set hot spot to tip of picker			
    1.34 -		pickColorCursor=QCursor ( cursorcolorpicker_xpm, 5,27 ); 
    1.35 +		pickColorCursor=QCursor ( QPixmap(iconPath+"cursorcolorpicker.png"), 5,27 ); 
    1.36  	#endif
    1.37  
    1.38  	pickingColor=false;