diff options
| -rw-r--r-- | engines/wage/design.cpp | 8 | ||||
| -rw-r--r-- | engines/wage/gui.cpp | 20 | 
2 files changed, 14 insertions, 14 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index ef50a28133..86b325e2b9 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -102,7 +102,7 @@ void Design::paint(Graphics::ManagedSurface *surface, Graphics::MacPatterns &pat  		_surface->create(_bounds->width(), _bounds->height(), Graphics::PixelFormat::createFormatCLUT8());  		_surface->clear(kColorGreen); -		 +  		needRender = true;  	} @@ -265,7 +265,7 @@ void drawPixelPlain(int x, int y, int color, void *data) {  }  void Design::drawRect(Graphics::ManagedSurface *surface, Common::ReadStream &in, -	Graphics::MacPatterns &patterns, byte fillType, byte borderThickness, byte borderFillType) { +				Graphics::MacPatterns &patterns, byte fillType, byte borderThickness, byte borderFillType) {  	int16 y1 = in.readSint16BE();  	int16 x1 = in.readSint16BE();  	int16 y2 = in.readSint16BE(); @@ -294,7 +294,7 @@ void Design::drawRect(Graphics::ManagedSurface *surface, Common::ReadStream &in,  }  void Design::drawRoundRect(Graphics::ManagedSurface *surface, Common::ReadStream &in, -	Graphics::MacPatterns &patterns, byte fillType, byte borderThickness, byte borderFillType) { +				Graphics::MacPatterns &patterns, byte fillType, byte borderThickness, byte borderFillType) {  	int16 y1 = in.readSint16BE();  	int16 x1 = in.readSint16BE();  	int16 y2 = in.readSint16BE(); @@ -397,7 +397,7 @@ void Design::drawPolygon(Graphics::ManagedSurface *surface, Common::ReadStream &  }  void Design::drawOval(Graphics::ManagedSurface *surface, Common::ReadStream &in, -	Graphics::MacPatterns &patterns, byte fillType, byte borderThickness, byte borderFillType) { +			Graphics::MacPatterns &patterns, byte fillType, byte borderThickness, byte borderFillType) {  	int16 y1 = in.readSint16BE();  	int16 x1 = in.readSint16BE();  	int16 y2 = in.readSint16BE(); diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index a60395fb69..86c2a9bfad 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -66,18 +66,18 @@ static const Graphics::MenuData menuSubItems[] = {  	{ kMenuHighLevel, "Edit",	0, 0, false },  	{ kMenuFile, "New",			kMenuActionNew, 0, false },  	{ kMenuFile, "Open...",		kMenuActionOpen, 0, true }, -	{ kMenuFile, "Close",			kMenuActionClose, 0, true }, -	{ kMenuFile, "Save",			kMenuActionSave, 0, true }, +	{ kMenuFile, "Close",		kMenuActionClose, 0, true }, +	{ kMenuFile, "Save",		kMenuActionSave, 0, true },  	{ kMenuFile, "Save as...",	kMenuActionSaveAs, 0, true },  	{ kMenuFile, "Revert",		kMenuActionRevert, 0, false }, -	{ kMenuFile, "Quit",			kMenuActionQuit, 0, true }, - -	{ kMenuEdit, "Undo",			kMenuActionUndo, 'Z', false }, -	{ kMenuEdit, NULL,				0, 0, false }, -	{ kMenuEdit, "Cut",				kMenuActionCut, 'K', false }, -	{ kMenuEdit, "Copy",			kMenuActionCopy, 'C', false }, -	{ kMenuEdit, "Paste",			kMenuActionPaste, 'V', false }, -	{ kMenuEdit, "Clear",			kMenuActionClear, 'B', false }, +	{ kMenuFile, "Quit",		kMenuActionQuit, 0, true }, + +	{ kMenuEdit, "Undo",		kMenuActionUndo, 'Z', false }, +	{ kMenuEdit, NULL,			0, 0, false }, +	{ kMenuEdit, "Cut",			kMenuActionCut, 'K', false }, +	{ kMenuEdit, "Copy",		kMenuActionCopy, 'C', false }, +	{ kMenuEdit, "Paste",		kMenuActionPaste, 'V', false }, +	{ kMenuEdit, "Clear",		kMenuActionClear, 'B', false },  	{ 0, NULL,			0, 0, false }  };  | 
