summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
AgeCommit message (Collapse)Author
2009-09-03(svn r17401) -Fix [FS#3171] (r17384): order deletion didn't (correctly) ↵rubidium
update the order window
2009-09-02(svn r17384) -Fix [FS#2859]: remove all order window state changes out of ↵rubidium
the drawing routine and call them immediately when changes happen instead of on the next OnPaint. This prevents pressing buttons when they should've been already disabled.
2009-09-02(svn r17375) -Codechange: remove last direct usage of scrollbar variablesrubidium
2009-09-02(svn r17371) -Codechange: make the newgrf, news and order GUIs use the ↵rubidium
scrollbar wrappers
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-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-23(svn r16930) -Codechange: more StringID name unification and groupingrubidium
2009-07-22(svn r16921) -Codechange: make it more clear what strings are related to ↵rubidium
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-17(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like ↵rubidium
used for e.g. stations
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-10(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT toorubidium
2009-06-24(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()smatz
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-05-23(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehiclerubidium
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-02(svn r16199) -Codechange: Pass OrderNonStopFlags also to MakeGoToDepotOrder().frosch
-Fix: 'Go non-stop to nearest depot'-orders did not work wrt. the 'non-stop' part. -Fix: Adding 'Go to nearest depot'-orders did not respect the default setting for 'non-stop'.
2009-05-01(svn r16197) -Codechange: Structure buttons of train order window based on ↵alberth
related functions rather than position.
2009-05-01(svn r16196) -Codechange: Added nested widgets for non-train and ↵alberth
other-companies order windows.
2009-05-01(svn r16195) -Codechange: Even empty widgets should live within window ↵alberth
boundaries.
2009-04-30(svn r16191) -Codechange: Added nested widgets of one order window.alberth
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-19(svn r16092) -Fix [FS#2829]: Resizing the order window also resizes the ↵alberth
button bars.
2009-04-19(svn r16089) -Codechange: Removing the ORDER_WIDGET_RESIZE_BAR widgetalberth
2009-04-19(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as ↵rubidium
they are basically the same thing
2009-04-18(svn r16081) -Doc: Adding/fixing some Doxygen comments.alberth
2009-04-18(svn r16080) -Codechange: Introducing a constant for order-list line height.alberth
2009-04-18(svn r16078) -Change: do not show stop location for via orders; they don't ↵rubidium
stop there
2009-04-13(svn r16056) -Fix (r16037): clicking twice on the "end of orders" crashed.rubidium
2009-04-12(svn r16037) -Feature: allow (per order) to let a train stop at the near ↵rubidium
end, middle or far end of a platform from the point of view of the driver of the train that enters the station.
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-22(svn r15808) -Codechange: use the new DrawString API in a number of GUIsrubidium
2009-03-21(svn r15785) -Codechange: remove the *Truncated part of the old text drawing ↵rubidium
API.
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-02-09(svn r15427) -Codechange: give w->caption_color a more sensible name as it ↵rubidium
holds the owner of whatever is shown in the window
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-04(svn r15338) -Fix [FS#2598]: close all construction related windows whenever ↵rubidium
changing company.
2009-02-04(svn r15336) -Fix: do not use _current_company in the GUI as there are no ↵rubidium
guarantees that _current_company is the same as _local_company.
2009-02-01(svn r15312) -Codechange: Handle closing of drop down menus when clicking in ↵peter1138
a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-22(svn r15202) -Fix (r14827): only make quick goto active for your own companyrubidium
2009-01-04(svn r14840) -Cleanup: remove duplicate includesglx
2009-01-04(svn r14827) -Feature [FS#1984]: few (optional) optimisations to making ↵rubidium
(initial) orders (sulai)
2009-01-03(svn r14819) -Change: make details and order menu stickyable, like the ↵rubidium
timetable window. Also let the detail/order/timetable window close eachther, like the detail and order windows already did, when not stickied.
2009-01-03(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid ↵smatz
depots, industries, towns and waypoints
2009-01-03(svn r14801) -Codechange: don't reference Vehicle::num_orders directly but ↵rubidium
through a method GetNumOrders() (PhilSophus)