summaryrefslogtreecommitdiff
path: root/src/airport_gui.cpp
AgeCommit message (Collapse)Author
2010-12-21(svn r21580) -Codechange: Replace callback via pointer by a switch statement.alberth
2010-12-21(svn r21579) -Codechange: Remove _build_air_button_proc and its functions to ↵alberth
a switch statement, record the last started action.
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-12(svn r20470) -Codechange: Make arrow buttons lower and raise like other ↵frosch
buttons when clicked.
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
and vscroll2. Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-07(svn r20407) -Codechange: make AirportClass use the new generic classrubidium
2010-08-05(svn r20382) -Codechange: Hide default airport layoutname if there is only ↵frosch
one layout.
2010-08-05(svn r20379) -Codechange: Draw airport preview using company colours.frosch
2010-08-05(svn r20373) -Feature: [NewGRF] callback 0x156 to use another name for ↵yexo
airport layouts than the default "Layout x"
2010-08-05(svn r20372) -Feature; [NewGRF] callback 0x155 to display extra information ↵yexo
about an airport in the build gui
2010-08-05(svn r20369) -Feature: preview sprites for airportsyexo
2010-08-05(svn r20366) -Codechange: store the rotation of the airport layout in the ↵yexo
station struct and use it to rotate hangar tiles
2010-08-05(svn r20365) -Codechange: allow multiple layouts for one airport ↵yexo
statemachine, store the layout number
2010-08-04(svn r20362) -Codechange: use correct parameter type for SetFill in airport guiyexo
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-04(svn r20071) -Codechange: Consistently return the toolbar window for ↵frosch
ShowBuildXxxToolbar().
2010-07-03(svn r20070) -Feature: when none of the open windows handles a keypress, try ↵yexo
all toolbars for global hotkeys Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
2010-07-03(svn r20062) -Feature: customizable hotkeys for the airport toolbaryexo
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-03-06(svn r19333) -Fix (r19328): int versus uint comparison warning fixed.alberth
2010-03-05(svn r19328) -Feature: a more extendable gui for building airportsyexo
2010-02-22(svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cppyexo
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-15(svn r18807) -Codechange: introduce AirportSpec and move several ↵yexo
non-statemachine-related variables to there
2010-01-11(svn r18781) -Codechange: pass the CommandCost to the callback instead of ↵rubidium
whether it succeeded or not. -Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2009-11-28(svn r18324) -Codechange: there's no need for a default size when the window ↵rubidium
isn't resizable
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-28(svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top ↵rubidium
location based on the main toolbar's height instead of hardcoding that
2009-11-24(svn r18280) -Codechange: remove widget indices that are not needed for ↵rubidium
custom drawing/handling input
2009-11-24(svn r18277) -Codechange: remove unneeded widget indices for close, resize ↵rubidium
and sticky boxes and for window captions
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
2009-11-22(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.alberth
2009-11-22(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, ↵rubidium
WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17572) -Codechange: Use the Window::GetWidget() function to access ↵alberth
nested widgets through the nested_array.
2009-08-23(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/falserubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-13(svn r17164) -Fix: crash when clicking on the spacer in the build airport GUIsmatz
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-04(svn r17062) -Change: unify the naming of some 125 stringsrubidium
2009-08-02(svn r17048) -Codechange: Airport toolbar and airport builder window use ↵alberth
nested widgets.
2009-07-26(svn r16965) -Codechange: use tile area instead of sets of variables for the ↵rubidium
station joiner code.
2009-07-21(svn r16906) -Fix (r12939): Child windows of build toolbars were placed ↵alberth
inconsistently.
2009-07-12(svn r16794) -Fix (r16752): setting coverage area highlight in the airport ↵yexo
selection window didn't take effect immediatly