Added a dist target and dist/ subdirectory, for easing creation of uploadable distrib...
commit839e80f908c34ed260a069f400e57e1acd0456c1
authordwk <dwk@b022f027-f587-4676-bc72-f0cf7b603704>
Sun, 26 Aug 2007 00:34:01 +0000 (26 00:34 +0000)
committerdwk <dwk@b022f027-f587-4676-bc72-f0cf7b603704>
Sun, 26 Aug 2007 00:34:01 +0000 (26 00:34 +0000)
treef9c54ee44153c9fab0a6b88ca5bd4b007e02168d
parentc6689a46e190b53ffbefcb85ebce7918853d56a3
Added a dist target and dist/ subdirectory, for easing creation of uploadable distributions of xuni. dist creates xuni.tar.gz, which contains 336 files: 1.7 MB (4.0 MB unpacked!). Using bzip2 instead of gzip brings down the size by 0.1 MB, and eliminating the Doxygen documentation brings it down 0.5 MB. It's possible that this target will be superseeded by an svn version.

Modified fill_area() to use SDL_FillRect() only when the colour to fill the area with is completely opaque (alpha = 255). Otherwise, it uses SDL_BlitSurface() via blit_surface_repeat_area(). Without this bugfix, the centres of buttons were always 100% opaque, making the outline theme look very strange indeed.

Added experimental support for special cursors. These cursors are blitted by xuni, not handled through the SDL's cursor handling routines. There are several disadvantages of this kind of cursor, the main one being that the screen must be repainted upon every SDL_MOUSEMOTION event, or at least very frequently. With low FPS, this gives the cursor jerky movement. On the plus side, the cursor doesn't have to be black-and-white: there's a cursor that fits the alienglow theme very nicely.

Cursor ratios are currently fixed at 4:3, just like text point size is at 1:1.2 (5:6).

Made the main menu ignore mouse motion and click events. Otherwise, in static mode, it was repainted every time one of those events occured.

Added an item into the TODO list.
Makefile
TODO
gui/alienglow/cursor.png [new file with mode: 0644]
src/graphics.c
src/graphics.h
src/loop.c
src/menu.c
src/menu.h