summaryrefslogtreecommitdiff
path: root/src/object_gui.cpp
AgeCommit message (Collapse)Author
2021-06-14Cleanup: nested_array should not be accessed directly.Peter Nelson
Replace accesses with GetWidget() as documented.
2021-04-02Fix: adjust object and rail station selection window padding to be ↵Didac Perez Parera
consistent (#8929) consistent
2021-04-02Add: Hotkey to focus the build object class name filter editbox.stormcone
2021-04-01Codechange: Suppress warnings when asserts are disabled (#8917)Patric Stout
2021-03-08Fix #8817: keep NewGRF order for object class sorting (#8818)Didac Perez Parera
2021-02-20Codechange: Apply coding styleSamuXarick
2021-02-19Feature: Object class selection string filtering (#8603)Didac Perez Parera
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2015-11-07(svn r27438) -Fix (r27346) [FS#6387]: The build object hotkey no longer ↵frosch
checked whether there were any objects defined.
2015-07-28(svn r27346) -Feature: Make the object placement gui an independent window.alberth
2015-07-28(svn r27345) -Fix-ish: Hide selected view if no object selected.alberth
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-10-04(svn r26950) -Codechange: GUI-scale dancing for NewGRF objects window.peter1138
2014-06-10(svn r26640) -Cleanup: Remove some pointless STR_JUST_STRING detours.frosch
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-01-12(svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack ↵frosch
in the TextRefStack.
2013-10-12(svn r25830) -Fix [FS#5742] (r25540): In BuildObjectWindow, ensure the ↵frosch
object spec matrix is always initialized. (sbr)
2013-08-18(svn r25726) -Fix: Right side of object class string was misaligned. (sbr)frosch
2013-06-30(svn r25543) -Cleanup: Make the bridge and object picker not restore their ↵frosch
previous size, but the previously saved size.
2013-06-30(svn r25540) -Fix: Unify selecting a new object class in the object GUI. (sbr)frosch
2013-06-30(svn r25539) -Codechange: Setup object GUI matrix before restoring selected ↵frosch
object, so that the matrix state can be properly set. (sbr)
2013-06-30(svn r25538) -Fix [FS#5567] (r25283): Use the UI index of the selected ↵frosch
object to make it visible when re-opening the build object window. (sbr)
2013-06-30(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of ↵frosch
rows and columns from the resize step size.
2013-06-30(svn r25534) -Codechange: FinishInitNested calls OnResize, no need to setup ↵frosch
scrollbar capacity before that.
2013-06-30(svn r25532) -Fix: Do not make the minimal size of matrix or panel widgets ↵frosch
depend on their number of rows, since that changes when resizing the window.
2013-06-30(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵frosch
widgets.
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
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.
2013-05-24(svn r25284) -Feature: When opening the object-build window, restore the ↵alberth
object build-window to the previous state (sbr).
2013-05-24(svn r25283) -Add: When opening the object-build window, make the selected ↵alberth
object visible again in the selector (sbr).
2013-05-24(svn r25282) -Add: When opening the object-build window, try to restore the ↵alberth
last selected object (sbr).
2013-05-24(svn r25281) -Add: When opening the object-build window, make the last ↵alberth
selected class visible in the class selector (sbr).
2013-05-20(svn r25274) -Cleanup: remove unused class instance variablesrubidium
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-07-07(svn r24379) -Fix [FS#5218-ish]: Do not resize the object GUI when selecting ↵frosch
objects. Rather clip the object name.
2012-05-28(svn r24299) -Change [FS#5057]: Center object previews in 1- and 2-view ↵frosch
selectors based on the 4-view selector layout.
2012-04-24(svn r24178) -Fix [FS#5110]: The object name from property A was not ↵frosch
displayed in the object GUI.
2012-04-24(svn r24176) -Fix (r21772): The object GUI did not draw objects when all ↵frosch
objects of a class are disabled.
2012-04-24(svn r24175) -Fix (r24171): Make sure to select a object class with visible ↵frosch
objects when opening the object GUI.
2012-04-22(svn r24171) -Fix [FS#4967, FS#5120]: Hide object specs/classes from the ↵frosch
GUI, if they will never be available to the user.
2012-04-22(svn r24167) -Codechange: Rename NewGRFClass::GetCount() to ↵frosch
NewGRFClass::GetClassCount()
2012-04-22(svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) ↵frosch
into non-static members GetSpec(uint) and GetSpecCount().
2012-04-22(svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in ↵frosch
favour of using Get() and direct member access (which is needed anyway for GRF string resolving).
2012-04-22(svn r24159) -Fix: If you spent hard work on finding an available object ID, ↵frosch
you should probably also use it instead of always 0.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium