[Patch] Lock windows
Moderator: Committer
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: [Patch] Lock windows
Comitted, but the icons are not different enough between the mouseover and normal versions. Can you make the mouseover versions brighter?
Re: [Patch] Lock windows
I was struggling with that. I tried doing it using just hex colors, but I might resort to using some sort of effect to highlight it. It's now a full #FFFFFF, can't go brighter then that.
I suppose I could also darken the non mouseover button, tried that as well. New set of icon is attached.
I suppose I could also darken the non mouseover button, tried that as well. New set of icon is attached.
- Attachments
-
- buttons.zip
- (6.4 KiB) Downloaded 109 times
Code, justify, code - Pitr
Attached patches are released under GPL 2.0 or later, artwork and such are released under CC-BY-SA 3.0 license.
Attached patches are released under GPL 2.0 or later, artwork and such are released under CC-BY-SA 3.0 license.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: [Patch] Lock windows
Much better.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: [Patch] Lock windows
Various Windows on the design screen, the production producible items list, and the research display panel should be simple to make pinnable.Eloque wrote:I've added pinning to a few windows that were pretty straightforward, working on Pedia now.
Re: [Patch] Lock windows
Panels in design are now pinable. Pedia window is pinable.
Also, changed code to only have one function in CUIWnd to position buttons, this was previously done at two spots, InitButtons and and SizeMove. Moved the duplicate code to new function, PositionButtons, that is now called from both the old functions.
edit: header files were not in the patch it seems, uploaded the correct one.
Also, changed code to only have one function in CUIWnd to position buttons, this was previously done at two spots, InitButtons and and SizeMove. Moved the duplicate code to new function, PositionButtons, that is now called from both the old functions.
edit: header files were not in the patch it seems, uploaded the correct one.
- Attachments
-
[The extension patch has been deactivated and can no longer be displayed.]
Code, justify, code - Pitr
Attached patches are released under GPL 2.0 or later, artwork and such are released under CC-BY-SA 3.0 license.
Attached patches are released under GPL 2.0 or later, artwork and such are released under CC-BY-SA 3.0 license.
Re: [Patch] Lock windows
Patch to pin pedia inside research window.
Also a small change to the pedia constructor, to make sure the buttons get placed if the window doesn't get moved or resized before rendering.
Also a small change to the pedia constructor, to make sure the buttons get placed if the window doesn't get moved or resized before rendering.
- Attachments
-
[The extension patch has been deactivated and can no longer be displayed.]
Code, justify, code - Pitr
Attached patches are released under GPL 2.0 or later, artwork and such are released under CC-BY-SA 3.0 license.
Attached patches are released under GPL 2.0 or later, artwork and such are released under CC-BY-SA 3.0 license.
Re: [Patch] Lock windows
Patch to pin windows in production panel
- Attachments
-
[The extension patch has been deactivated and can no longer be displayed.]
Code, justify, code - Pitr
Attached patches are released under GPL 2.0 or later, artwork and such are released under CC-BY-SA 3.0 license.
Attached patches are released under GPL 2.0 or later, artwork and such are released under CC-BY-SA 3.0 license.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: [Patch] Lock windows
Pinning patches committed.
Edit: Resizing causes many duplicate O and X buttons to be created on the pedia window...
Edit: Resizing causes many duplicate O and X buttons to be created on the pedia window...
Re: [Patch] Lock windows
That's a bug then, I will look into it.
Code, justify, code - Pitr
Attached patches are released under GPL 2.0 or later, artwork and such are released under CC-BY-SA 3.0 license.
Attached patches are released under GPL 2.0 or later, artwork and such are released under CC-BY-SA 3.0 license.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich