1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
Version 0.4.0
=============
* The GCN_EXCEPTION macro is now capable of determine the function in
which the exception was thrown. Also, you can get the function name
from the Exception class.
* Added a fix to make both versions of drawImage in
AllegroGraphics, OpenGLGraphics and SDLGraphics visible
and usable.
* Optimized fillRect in SDLGraphics slightly when using alpha
blending. However, SDLGraphics still needs a lot of optimizing
in other parts.
* Removed the filename from the Image class, as it wasn't really
used for anything.
* Updated ImageFont with support for font images with several rows
of glyphs.
* Added modal focus to widgets. Widgets can now request modal focus
stealing all input from other widgets. Can be useful when making
dialog windows.
* Many small fixes.
Version 0.3.0
=============
* Every Guichan library now contains a C function which can be
used with autotools check, for instance the Guichan SDL library
contains the function gcnSDL wich can be used when struggling
with autoconf. Other functions are gcnAllegro in Guichan Allegro,
gcnOpenGL in Guichan OpenGL and gcnGuichanVersion in the Guichan
core.
* Slider now stores only the current selected value and calculates
everything from that value. It should take care of some resizing
problems. Also, slider has now an orientation, which means you can
create a slider which has a vertical or horizontal orientation.
The previous slider had only a horizontal orientation.
* Fixed alpha problem with images loaded and displayed with SDL.
* Added a new widget, the window widget.
* SDL.h is now included the proper way meaning you can install
SDL anywhere and Guichan will include the right headers as long
as sdl-config knows where the headers are.
* Added ability to disable widgets.
* Changed slightly how focus works. Focus is now applied after the
input is processed. This resolved some problems when widgets
fight over focus.
* Changed the behaviour of the mouse handling. Widgets will get
mouse input if the mouse is dragged outside of the widget,
even if they don't have focus.
* Many small fixes.
Version 0.2.0
=============
* Added isPressed() method to the Button.
* Doubleclicking now works with SDL
* Added --enable-force argument for Allegro, SDL, SDL Image and OpenGL
to the configure script which forces Guichan to compile with the
forced support.
* Updated platform.hpp to be able to handle compilation with MinGW.
* Splited DECLSPEC define into GCN_CORE_DECLSPEC and
GCN_EXTENSION_DECLSPEC.
* Fixed bugs in ScrollArea and DropDown involving focus and mouse input,
* Changed the look when CheckBox is marked.
* Changed the look when CheckBox and RadioButton are focused.
They now draw a rectangle around their captions (common behaivour in Guis).
* Removed unaccesary logic functions (which didn't do anything) in
widget RadioButton and CheckBox.
* Added a new widget called Slider, and it is a... slider!
* Removed getWidth for glyphs in Font.
* Removed function drawGlyph in Font and in addon SDLTrueTypeFont.
Added drawGlyph function in ImageFont and DefaultFont.
drawGlyph in Font is easy to missunderstand and could lead to
strange implementations of Font.
* Added getCurrentClipArea function in Graphics.
* All functions in container are now virtual (thanks to Garo pointing this out).
* Added function setSize in Widget.
* Added an "addons" directory in the distrobution. It will contain
usefull classes with Guichan that are not compiled into the library.
They are not compiled because they need dependencies other then
Guichans or are to specific. For now, "addons" only contain one
class, SDLTrueTypeFont giving True Type Font abilities to Guichan
through the SDL_ttf library and hence will only work with SDLGraphics.
SDLTrueTypeFont was contributed by Walluce Pinkham (and edited by us).
Thank you Walluce!
* Added getColor function in Graphics. Implemented in SDLGraphics,
AllegroGraphics and OpenGLGraphics.
* Fixed a problem with the DropDown widget. When the widget was focused
with a mouse press, you couldn't select elements with up and down keys.
* Merged drawText, drawTextCenter and drawTextRight into one function
drawText which takes an alignment parameter (thanks Ted!).
Widgets taking advantage of this are Button and Label.
* As a result of the added border support, almost every widget have
been changed for the better, e.g removal of offsets.
* Added support for borders. This is a major API change introducing
some new functions to Widget.
* Lots of small bugfixes
Version 0.1.0
=============
* Guichan_allegro MSVC 6 compatibility fix.
* TextBox doesn't draw its caret if its not editable.
* Better exception with more information in ImageFont,
added row spacing and glyph spacing functions.
* Fixed problem in ImageFont when loading a corrupt file.
It will now throw an exception (thanks Terin!).
* Implemented _getRawData() in AllegroImageLoader.
* Fixed Image. It is now overloadable.
* DropDown sets the colors for its internal widgets if they are
not custom widgets (not given to the DropDown by the user).
* Now all default widgets respect the alpha channel in the colors.
* Non focusable widgets will now not recieve key input ever.
In previous version, focused widgets would still remain focused
after setting them to not be focusable.
* Moved tab handling from Gui to the FocusHandler.
* Splitted setTabable to setTabInEnabled and setTabOutEnabled.
Widgets can now have different behaviours on tab in and tab out.
The old setTabable is equivalent to setTabInEnabled.
* isVisisble now checks if parent is visible
* Added alpha channel support in AllegroGraphics for
drawing primitives
* Added experimental alpha channel support in SDLGraphics
for 32 bpp
* Added full alpha channel support in OpenGLGraphics
* Fixed OpenGL graphics to disable GL_LIGHTING before draw
* Fixed container problem. Nonvisible widgets no longer
recieves mouse input.
* Fixed mouse out problem with SDLInput
* Fixed alpha problem with the SDLImageLoader
Version 0.0.1
=============
* Initial release
|