FS#1236 - make construction and landscape window sticky by default

Attached to Project: OpenTTD
Opened by gfldex (gfldex) - Monday, 17 September 2007, 11:28 GMT
Type Patch
Category Interface
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 0.5.3
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Closing all windows but the stickies would be useful if the build tools would keep their stickyness. Sadly switching between track types, roads, etc. clears the sticky status. This patch solves that issue by providing a interface switch to change the default stickyness of said windows.
This task depends upon

Comment by Remko Bijker (Rubidium) - Monday, 17 September 2007, 16:51 GMT
Why is it called sticky_rail_toolbars when they do not stickify the rail tooblar?
Comment by gfldex (gfldex) - Monday, 17 September 2007, 21:50 GMT
The thing that gets stickyfied got the title "Railroad Construction" on screen and is a window (at least the stuct says window at one point). The wiki calles it a wide range of names, "Railroad Construction Toolbar" seams to be the most common. What is the right name? And how is that group of windows/toolbars called correctly?
Comment by Patric Stout (TrueBrain) - Saturday, 03 November 2007, 21:14 GMT
I like your patch, too bad you didn't do anything with the comment of Rubidium. sticky_rail_toolbars suggest it is limited to rail, while it works for all the construction toolbars, right? So it might need a better naming, to reflect that.. if you can update that, I see no reason not to accept this patch.