summaryrefslogtreecommitdiff
path: root/src/tree_gui.cpp
AgeCommit message (Collapse)Author
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-27Feature: Plant clumps of trees in editor by dragging on the landscapeNiels Martin Hansen
2020-12-27Change: Switch tree GUI to use dynamically generated buttonsNiels Martin Hansen
This makes it look a bit better in climates with fewer tree types.
2020-12-27Fix: Wrong tree sprite in tree toolbarNiels Martin Hansen
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-03-23(svn r26419) -Cleanup: Remove implementation of BuildTreesWindow::OnPaint ↵frosch
since it matches the one of the base class.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-11-11(svn r24697) -Codechange: Use WDF_UNCLICK_BUTTONS instead of duplicating the ↵frosch
same functionality.
2012-04-17(svn r24135) -Remove [FS#4757]: Tree drag size limit.michi_cc
2011-12-16(svn r23538) -Codechange: Consistent naming of widgets in tree plant guiplanetmaker
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
with only values known in WindowFlags (and move out 2 timers to their own variable) -Codechange: rename Window::flags4 to Window::flags -Codechange: move some non-inline functions from .hpp to .cpp
2011-09-08(svn r22908) -Codechange: silence MSVC warningrubidium
2011-08-31(svn r22862) -Add: Allow the tree build gui to resize according to tree sizeplanetmaker
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-12-24(svn r21627) -Codechange: Remove _place_proc global variable.alberth
2010-04-14(svn r19634) -Codechange: Use TREE_INVALID more consistently.frosch
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2009-12-21(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.alberth
2009-12-09(svn r18447) -Change: make some more windows (e.g. graphs, company view) ↵rubidium
stickyable
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-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 r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().
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-20(svn r17595) -Codechange: Tree build window uses pure nested widgets.alberth
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
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-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
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 r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as ↵rubidium
they are basically the same thing
2009-03-25(svn r15854) -Codechange: New widgets for build tree window.yexo
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
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-01-12(svn r15036) -Fix: use the same value for 'random' through-out the code for ↵truebrain
PlantTree
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium