Mercurial > fife-parpg
comparison ext/guichan-0.8.1/ChangeLog @ 0:4a0efb7baf70
* Datasets becomes the new trunk and retires after that :-)
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 29 Jun 2008 18:44:17 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4a0efb7baf70 |
---|---|
1 Version 0.8.1 | |
2 ============= | |
3 * A couple of minor GCC 3.4.2. issues have been fixed. | |
4 * Add ons are now refered to as contribs all contribs have been added | |
5 to the main source directory under the contrib directory. All | |
6 contribs now also reside in a namespace called contrib. | |
7 * ScrollArea::isOpaque and ScrollArea::setOpaque have been added to | |
8 control if a scroll area should draw its background or not. | |
9 * DELETE is now undefined in Key.hpp if present. It should hopefully | |
10 take care of some problems with windows.h defining delete which | |
11 sometimes breaks Key.hpp. | |
12 * Soname support has been fixed. The correct version number should | |
13 now be used in the produced binaries. | |
14 | |
15 Version 0.8.0 | |
16 ============= | |
17 * Widget::showPart has been added to be used when a specific | |
18 part of a widget should be visible. An example is when a text | |
19 area wants a specific text part to be visible in a scroll area. | |
20 This function uses BasicContainer::showWidgetPart. | |
21 * ListBox::setWrappingKeyboardSelection and | |
22 ListBox::isWrappingKeyboardSelection have been renamed to | |
23 ListBox::setWrappingEnabled and ListBox::isWrappingEnabled. | |
24 * Rectangle::intersect has been renamed to Rectangle::isIntersecting. | |
25 * Widget::hasModalFocus and Widget::hasModalMouseInputFocus has been | |
26 renamed to Widget::isModalFocused and Widget::isModalMouseInputFocused. | |
27 * Widget::generateAction has been renamed to | |
28 Widget::distributeActionEvent. | |
29 * All the examples have been improved. Examples have been added for | |
30 HGE, OpenGL with SDL and for OpenGL with Allegro. | |
31 * Widget::drawBorder, Widget::getBorderSize and Widget::setBorderSize | |
32 have been renamed to Widget::drawFrame, Widget::getFrameSize and | |
33 Widget::setFrameSize. | |
34 * The alignment enum in Graphics, the orientation enum in Slider and | |
35 the scroll policy enum in ScrollArea are no longer anonymous enums. | |
36 * RadioButton::setMarked and RadioButton::isMarked have been | |
37 renamed to RadioButton::setSelected and RadioButton::isSelected. | |
38 * CheckBox::setMarked, CheckBox::isMarked and CheckBox::toggle have been | |
39 renamed to CheckBox::setSelected, CheckBox::isSelected and | |
40 CheckBox::toggleSelected. | |
41 * An image button widget, a button capable of displaying an image, | |
42 has been added. | |
43 * A widget listener has been added used to listen for resized events, | |
44 hidden events, shown events and moved events from a widget. | |
45 * Two new widgets have been added, a tabbed area widget and a tab widget | |
46 to be used with the tabbed widget. | |
47 * A selection listener interface has been added used to listen for | |
48 value change events from a list box and a drop down. | |
49 * A bug has been fixed where mouse entered and exited events weren't | |
50 honored when a widget gained or released modal focus or modal mouse input | |
51 focus. | |
52 * An id property has been added to Widget. The property can be used to uniquely | |
53 identify widgets inside a container. BasicContainer and Container have been | |
54 enhanced with the ability to find a widget given an id. An id can be | |
55 useful when using GUIs created from an XML file or created with a Gui | |
56 editor. | |
57 * An OpenGL image loader that uses Allegro to load images has been | |
58 added along with an example of how to use Guichan with AllegroGL. | |
59 * A bug with setting the selection colour for DropDown has been fixed. | |
60 Before the fix the selection coloured was ignored by the internal | |
61 ListBox of DropDown. | |
62 * Distribution of mouse entered and mouse exited events have been fixed. | |
63 A mouse entered event is distributed to a widget when the mouse enters | |
64 a widget and a mouse exited event is distributed to a widget as soon | |
65 as the mouse leaves the widget. | |
66 * OpenGL true type font has been added as an add on. The font uses the OGLFT | |
67 font library, http://oglft.sourceforge.net/. | |
68 * A bug has been fixed where a segfault could occur when a drop down widget | |
69 was deleted. | |
70 * Button now has configurable spacing. | |
71 | |
72 Version 0.7.1 | |
73 ============= | |
74 * A problem with make dist has been fixed to include the source of the | |
75 addons, the HGE support and the OpenLayer support. | |
76 | |
77 Version 0.7.0 | |
78 ============= | |
79 * Focus has been changed to be applied synchronously, hence | |
80 FocusHandler::applyChanges has been removed. | |
81 * Mouse coordinates in mouse events have been changed so they always are | |
82 relative to the widget receiving the event and not as before relative to | |
83 the source widget. | |
84 * The distribution of key events has changed. Key events are now distributed | |
85 like mouse events, events are first distributed to the source widget followed | |
86 by the parents of the source widget. | |
87 * HGE support has been added. | |
88 * OpenLayer support has been added. | |
89 * A focus listener has been added. Due to the addition of a focus listener | |
90 the functions Widget::focusLost and Widget::focusGained have been removed. | |
91 To receive widget focus events a widget should now inherit from FocusListener | |
92 and listen for events from itself. | |
93 * Many small bug fixes. | |
94 | |
95 Version 0.6.1 | |
96 ============= | |
97 * The functions add, remove and clear have been removed from Widget. | |
98 They now reside protected in basic container. | |
99 * Inclusion of OpenGL headers has been fixed on Mac. | |
100 | |
101 Version 0.6.0 | |
102 ============= | |
103 * A lot of function definitions from BasicContainer have been moved down to | |
104 Widget, but Widget doesn't provide any useful implementations of these | |
105 functions. Useful implementations still reside in BasicContainer. | |
106 For container widget implementations inheriting from BasicContainer, as before, | |
107 should work just fine. The reason for the move of definitions is to be able to | |
108 consider a widget a container for the sake of simplicity when it comes to | |
109 distribution of input. | |
110 * The functions Widget::lostFocus andWidget::gotFocus have been renamed to | |
111 Widget::focusLost and Widget::focusGained. | |
112 * DeathListener is a new interface which can be used to listen for a widget's | |
113 death. Because of the presence of death listeners the function | |
114 BasicContainer::_announceDeath has been removed. | |
115 * MouseListener now has the function mouseDragged which is called if a widget | |
116 is dragged. | |
117 * All distribution of input is now handled by the Gui class. Because of this | |
118 all functions regarding input have been removed from the classes Widget | |
119 and BasicContainer. | |
120 * All functions of KeyListener and MouseListener have been renamed. The reason | |
121 for this is that the functions now bear the names of the well known Java | |
122 listeners which will hopefully be more intuitive for most people. | |
123 * All input events can now be consumed making it easier to implement hot key | |
124 bindings. | |
125 * Mouse input (now called mouse events) are now distributed bottom up starting | |
126 from the widget directly under the mouse. | |
127 * Widgets can now ask for modal mouse input focus. A widget with modal mouse input | |
128 focus will be the only widget recieving mouse input, no matter where the mouse | |
129 input occurs. This can be very useful for some widgets, like a drop down which | |
130 acquires modal mouse input focus when folded down to be able to fold back up as | |
131 soon as the mouse is pressed outside of the drop down. | |
132 * Events are now present in Guichan. All listener classes now take event classes | |
133 as parameters which is a very big API change. The presence of events has propagated | |
134 changes to all input classes to better reflect the new usage of events. | |
135 * DropDown now acts on mouse wheel up and mouse wheel down when having focus. | |
136 * ListBox now acts on mouse wheel up and mouse wheel down when having focus. | |
137 * Widgets will no longer acquire focus if a mouse wheel up or a mouse wheel down | |
138 occurs over a widget. | |
139 * The header exception.hpp is now included properly in openglsdlimageloader.hpp. | |
140 * Many small fixes. | |
141 | |
142 Version 0.5.0 | |
143 ============= | |
144 * Slider now acts on the mouse wheel moving the slider to the left on | |
145 mouse wheel down and to the right on mouse wheen up. | |
146 * ListBox now has the ability to wrap keyboard selection. Wrapping means | |
147 that if the key up is pressed and the first item is selected, then | |
148 the last item will get selected. If the key down is pressed and the last | |
149 item is selected, then the first item will get selected. | |
150 * Redesign of the Image class. Image now has different subclasses for | |
151 different Graphics objects. The static method load in the Image class | |
152 loads the appropiate type of image if an ImageLoader is set. | |
153 * The function action in ActionListener now takes a pointer to the | |
154 Widget who called the function, it makes handling of action events, | |
155 hopefully, cleaner. | |
156 * ScrollArea now scrolls if the open space around the markers is clicked. | |
157 * ScrollArea now has functions to set the amount to scroll when ScrollArea's | |
158 buttons are pushed, each button can have it's own amount. | |
159 * Changed the function name of Widget::hasFocus and FocusHandler::hasFocus | |
160 to isFocused. | |
161 * Moved a lot of common container functionality into BasicContainer. | |
162 This made the code and API a lot cleaner. Affected classes are: | |
163 BasicContainer - now holds a lot of common functionality for containers. | |
164 Container - implementation is now a lot smaller. | |
165 Window - window now inherits from Container and can have several child | |
166 widgets. | |
167 ScrollArea - smaller, nicer code. | |
168 TextBox & ListBox - Takes advantage of the new Container API to get rid | |
169 of a dynamic cast. | |
170 * Added drawBackground to ScrollArea to simplify overloading. | |
171 * Added functions for global KeyListeners in Gui. Global KeyListeners | |
172 can be just about any object inheriting from KeyListener. | |
173 * Fixed an offset by one error in AllegroGraphics::_beginDraw. | |
174 The initial clip area is now correct. | |
175 * Added alpha blending with SDL for 16bpp and 24 bpp mode. | |
176 | |
177 Version 0.4.0 | |
178 ============= | |
179 * The GCN_EXCEPTION macro is now capable of determine the function in | |
180 which the exception was thrown. Also, you can get the function name | |
181 from the Exception class. | |
182 * Added a fix to make both versions of drawImage in | |
183 AllegroGraphics, OpenGLGraphics and SDLGraphics visible | |
184 and usable. | |
185 * Optimized fillRect in SDLGraphics slightly when using alpha | |
186 blending. However, SDLGraphics still needs a lot of optimizing | |
187 in other parts. | |
188 * Removed the filename from the Image class, as it wasn't really | |
189 used for anything. | |
190 * Updated ImageFont with support for font images with several rows | |
191 of glyphs. | |
192 * Added modal focus to widgets. Widgets can now request modal focus | |
193 stealing all input from other widgets. Can be useful when making | |
194 dialog windows. | |
195 * Many small fixes. | |
196 | |
197 Version 0.3.0 | |
198 ============= | |
199 * Every Guichan library now contains a C function which can be | |
200 used with autotools check, for instance the Guichan SDL library | |
201 contains the function gcnSDL wich can be used when struggling | |
202 with autoconf. Other functions are gcnAllegro in Guichan Allegro, | |
203 gcnOpenGL in Guichan OpenGL and gcnGuichanVersion in the Guichan | |
204 core. | |
205 * Slider now stores only the current selected value and calculates | |
206 everything from that value. It should take care of some resizing | |
207 problems. Also, slider has now an orientation, which means you can | |
208 create a slider which has a vertical or horizontal orientation. | |
209 The previous slider had only a horizontal orientation. | |
210 * Fixed alpha problem with images loaded and displayed with SDL. | |
211 * Added a new widget, the window widget. | |
212 * SDL.h is now included the proper way meaning you can install | |
213 SDL anywhere and Guichan will include the right headers as long | |
214 as sdl-config knows where the headers are. | |
215 * Added ability to disable widgets. | |
216 * Changed slightly how focus works. Focus is now applied after the | |
217 input is processed. This resolved some problems when widgets | |
218 fight over focus. | |
219 * Changed the behaviour of the mouse handling. Widgets will get | |
220 mouse input if the mouse is dragged outside of the widget, | |
221 even if they don't have focus. | |
222 * Many small fixes. | |
223 | |
224 Version 0.2.0 | |
225 ============= | |
226 * Added isPressed() method to the Button. | |
227 * Doubleclicking now works with SDL | |
228 * Added --enable-force argument for Allegro, SDL, SDL Image and OpenGL | |
229 to the configure script which forces Guichan to compile with the | |
230 forced support. | |
231 * Updated platform.hpp to be able to handle compilation with MinGW. | |
232 * Splited DECLSPEC define into GCN_CORE_DECLSPEC and | |
233 GCN_EXTENSION_DECLSPEC. | |
234 * Fixed bugs in ScrollArea and DropDown involving focus and mouse input, | |
235 * Changed the look when CheckBox is marked. | |
236 * Changed the look when CheckBox and RadioButton are focused. | |
237 They now draw a rectangle around their captions (common behaivour in Guis). | |
238 * Removed unaccesary logic functions (which didn't do anything) in | |
239 widget RadioButton and CheckBox. | |
240 * Added a new widget called Slider, and it is a... slider! | |
241 * Removed getWidth for glyphs in Font. | |
242 * Removed function drawGlyph in Font and in addon SDLTrueTypeFont. | |
243 Added drawGlyph function in ImageFont and DefaultFont. | |
244 drawGlyph in Font is easy to missunderstand and could lead to | |
245 strange implementations of Font. | |
246 * Added getCurrentClipArea function in Graphics. | |
247 * All functions in container are now virtual (thanks to Garo pointing this out). | |
248 * Added function setSize in Widget. | |
249 * Added an "addons" directory in the distrobution. It will contain | |
250 usefull classes with Guichan that are not compiled into the library. | |
251 They are not compiled because they need dependencies other then | |
252 Guichans or are to specific. For now, "addons" only contain one | |
253 class, SDLTrueTypeFont giving True Type Font abilities to Guichan | |
254 through the SDL_ttf library and hence will only work with SDLGraphics. | |
255 SDLTrueTypeFont was contributed by Walluce Pinkham (and edited by us). | |
256 Thank you Walluce! | |
257 * Added getColor function in Graphics. Implemented in SDLGraphics, | |
258 AllegroGraphics and OpenGLGraphics. | |
259 * Fixed a problem with the DropDown widget. When the widget was focused | |
260 with a mouse press, you couldn't select elements with up and down keys. | |
261 * Merged drawText, drawTextCenter and drawTextRight into one function | |
262 drawText which takes an alignment parameter (thanks Ted!). | |
263 Widgets taking advantage of this are Button and Label. | |
264 * As a result of the added border support, almost every widget have | |
265 been changed for the better, e.g removal of offsets. | |
266 * Added support for borders. This is a major API change introducing | |
267 some new functions to Widget. | |
268 * Lots of small bugfixes | |
269 | |
270 Version 0.1.0 | |
271 ============= | |
272 * Guichan_allegro MSVC 6 compatibility fix. | |
273 * TextBox doesn't draw its caret if its not editable. | |
274 * Better exception with more information in ImageFont, | |
275 added row spacing and glyph spacing functions. | |
276 * Fixed problem in ImageFont when loading a corrupt file. | |
277 It will now throw an exception (thanks Terin!). | |
278 * Implemented _getRawData() in AllegroImageLoader. | |
279 * Fixed Image. It is now overloadable. | |
280 * DropDown sets the colors for its internal widgets if they are | |
281 not custom widgets (not given to the DropDown by the user). | |
282 * Now all default widgets respect the alpha channel in the colors. | |
283 * Non focusable widgets will now not recieve key input ever. | |
284 In previous version, focused widgets would still remain focused | |
285 after setting them to not be focusable. | |
286 * Moved tab handling from Gui to the FocusHandler. | |
287 * Splitted setTabable to setTabInEnabled and setTabOutEnabled. | |
288 Widgets can now have different behaviours on tab in and tab out. | |
289 The old setTabable is equivalent to setTabInEnabled. | |
290 * isVisisble now checks if parent is visible | |
291 * Added alpha channel support in AllegroGraphics for | |
292 drawing primitives | |
293 * Added experimental alpha channel support in SDLGraphics | |
294 for 32 bpp | |
295 * Added full alpha channel support in OpenGLGraphics | |
296 * Fixed OpenGL graphics to disable GL_LIGHTING before draw | |
297 * Fixed container problem. Nonvisible widgets no longer | |
298 recieves mouse input. | |
299 * Fixed mouse out problem with SDLInput | |
300 * Fixed alpha problem with the SDLImageLoader | |
301 | |
302 Version 0.0.1 | |
303 ============= | |
304 * Initial release |