summaryrefslogtreecommitdiff
path: root/src/window.h
AgeCommit message (Collapse)Author
2007-12-06(svn r11579) -Revert(r11578): some cases of key propagation are not handled ↵belugas
correctly. A better solution will be deviced, but not now. Let's not cause a ton of bug reports
2007-12-06(svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY ↵belugas
which specifies that the window holding it is actually one that enables an edit box. Use this flag when dispatching a key event instead of using some hard coded window IDs. This should ease a little bit the creation of new edit aware windows.
2007-12-04(svn r11568) -Codechange: Use bit shifts instead of values for flags. It ↵belugas
helps readability a little bit.
2007-12-02(svn r11554) -Codechange: be more consistent with the naming of the widget ↵rubidium
functions.
2007-12-02(svn r11553) -Fix: make a few widget 'accessor' function const when they ↵rubidium
should be const.
2007-12-02(svn r11551) -Codechange: Introduction of widget control members on struct ↵belugas
Window. These "new" members have the exact same functionalities as their pure functions "genitors" Ex: "Window::SetWidgetLoweredState(byte widget_index, bool lowered_stat)" is the member corresponding to "SetWindowWidgetLoweredState(Window *w, byte widget_index, bool lowered_stat)"
2007-11-20(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename ↵skidd13
the remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-15(svn r11439) -Codechange: replace some magic numbers by a ↵rubidium
ViewportPlaceMethod enumified constant. Patch by SmatZ.
2007-10-15(svn r11269) -Feature: user customisable faces. Patch by BigBB.rubidium
2007-09-09(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting ↵rubidium
subsystem. Patch by Progman.
2007-09-05(svn r11049) -Codechange: unify a large part of the vehicle details window. ↵rubidium
Based on a patch by nycom.
2007-07-29(svn r10730) -Codechange: allow (some) arbitrary data to be send to the ↵rubidium
WE_CREATE event.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-19(svn r10624) -Fix [FS#1047]: the production of banks could not be modified ↵rubidium
(either in scenario editor or with the cheat).
2007-06-22(svn r10265) -Feature: allow double-clicking on certain places: ↵truelight
build-vehicle and town-action
2007-06-21(svn r10262) -Fix (r10258): some places that needed to be changed to uint64 ↵rubidium
were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger.
2007-05-28(svn r9962) -Feature: Add smooth viewport scrolling. This must be enabled ↵peter1138
with patch setting 'smooth_scroll'
2007-05-23(svn r9900) -Codechange: Separate the variables for how to highlight a land ↵maedhros
area and what to do with it afterwards.
2007-05-21(svn r9897) -Codechange: prepare the toolbar for more road types.rubidium
2007-05-19(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you ↵rubidium
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-05-18(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type ↵rubidium
strictness.
2007-04-26(svn r9719) -Fix: in-game private messages did not work for clients with a ↵rubidium
Client ID > 255.
2007-04-06(svn r9568) -Documentation: doxygen and comment changes: Root of src is ↵belugas
finally done. Now, time to start clearing as much as possible
2007-03-10(svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple ↵belugas
truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon.
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-01(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few ↵belugas
comments style.
2007-02-23(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp ↵belugas
files with the @file tag as well as a few general comments style
2007-02-15(svn r8747) -Fixtron
-Codechange: Make the encoding of accepted aircraft types of airports a bit more sensible and move the enum into struct AirportFTAClass
2007-02-10(svn r8662) -Fix r8661: don't try to put negative values in unsigned varsbjarni
2007-02-06(svn r8610) -Codechange/Feature: rewrote the list handling in the ↵bjarni
autoreplace window -The user will notice the following changes: All vehicle types behaves in the same way Adding/removing an engine (new design and so on) can no longer result in the window selecting a new engine All valid replacements will be displayed since it looks at refitting options as well (this solves the missing ships with the newships GRF) Since you can't replace an engine into itself, the engine selected in the left list will no longer appear in the right list -The code changes: Instead of looping all engines all the time, each list generates a list like the build windows This ensures consistent list generation since only one function can loop all engines Unified code for all vehicle types It now use the lists to call the drawing code in the build vehicle window Works on selected EngineIDs instead of selected index in the list
2007-01-24(svn r8390) -Codechange (r8384): Rewrote ResizeButtons()bjarni
Now it only works on first and last widget to resize It now works with offsets correctly (no longer assumes the left is 0) It's no longer needed to have a widget right of the ones you resize Can handle any number of widgets
2007-01-24(svn r8384) -Codechange: [GUI] instead of writing a resize button function ↵bjarni
for each window, a global ResizeButtons() is added
2007-01-21(svn r8333) -Codechange: when invalidating a build window list, set a flag ↵bjarni
instead of rebuilding the list and then rebuild it the next time it's redrawn This should save CPU time in the (maybe unlikely) event that the list is invalidated more than once between two redraws
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.