Moved a large number of gui-related functions out of graphics.c and into gui.c.
commitc6689a46e190b53ffbefcb85ebce7918853d56a3
authordwk <dwk@b022f027-f587-4676-bc72-f0cf7b603704>
Sat, 25 Aug 2007 22:10:52 +0000 (25 22:10 +0000)
committerdwk <dwk@b022f027-f587-4676-bc72-f0cf7b603704>
Sat, 25 Aug 2007 22:10:52 +0000 (25 22:10 +0000)
treed66186b060e0022d4390d372ebe1e1d84f7aafaa
parente0bd417a6f24a8393b0f172b78cd82a6db431af6
Moved a large number of gui-related functions out of graphics.c and into gui.c.

Modified paint_box() to use SDL_FillRect() instead of SDL_BlitSurface() to fill in the centre of the box. This gained an FPS at the main menu, from 21 to 22 or 22 to 23 (fullscreen). fill_area() and get_pixel() (formerly gp()) were re-created to help implement this.

Modified the Makefiles to stop using -L$(SDLLIBPATH) when it isn't necessary. This makes most of the source file compilation lines printed by make fit onto one line under Linux.

Put COPYING under svn version control.

Created the bluesq theme, based on the old default theme, and ultimately, denora.

Created font_height(), which just calls TTF_FontHeight().

Added a few Doxygen documentation comments to graphics.c.

Fixed some errors due to code copying in allocate_widgets().

Added handled = 1 to loop.c's handler for ALT-F9 (minimize window).
21 files changed:
COPYING [new file with mode: 0644]
TODO
gui/bluesq/check.png [new file with mode: 0644]
gui/bluesq/in/corners.png [new file with mode: 0644]
gui/bluesq/in_act/corners.png [new file with mode: 0644]
gui/bluesq/in_hov/corners.png [new file with mode: 0644]
gui/bluesq/out/corners.png [new file with mode: 0644]
gui/bluesq/out_act/corners.png [new file with mode: 0644]
gui/bluesq/out_hov/corners.png [new file with mode: 0644]
gui/outline/check.png [new file with mode: 0644]
src/Makefile
src/Makewin
src/depend
src/font.c
src/font.h
src/graphics.c
src/graphics.h
src/gui.c
src/gui.h
src/loop.c
src/menu.c