Commit Graph

26590 Commits (3040efdb10e82f97fb39624dc8f082f8f5ef7cab)
 

Author SHA1 Message Date
translators 3040efdb10 Update: Translations from eints
spanish (mexican): 74 changes by absay
russian: 2 changes by Ln-Wolf
spanish: 6 changes by MontyMontana
polish: 1 change by pAter-exe
2 years ago
Peter Nelson 60404c3aea Fix #8770: Centre vehicle status bar icon.
The icon is now centred within its scaled bounding box, which intentionally
leaves a little space around the icon when not at 1/2/4x scale.
2 years ago
Peter Nelson 9bf24ec56f Codechange: Reorder and properly declare DrawSpriteIgnorePadding().
Parameters have been rearranged to be closer to those of the standard
DrawSprite() function, and PaletteID can now be set.
2 years ago
PeterN c81c242c5a
Fix: Crash if error message window is too wide for screen. (#10172)
This doesn't seem new, just easier to trigger with new scaling.
2 years ago
PeterN 6ea3e7e487
Fix #10164: Incorrect slider handle position in RTL. (#10175) 2 years ago
translators bc5cd4eeda Update: Translations from eints
russian: 3 changes by Ln-Wolf
spanish: 55 changes by MontyMontana
polish: 32 changes by pAter-exe
2 years ago
translators d30345edfb Update: Translations from eints
english (au): 3 changes by krysclarke
spanish (mexican): 3 changes by absay
english (us): 3 changes by 2TallTyler
russian: 2 changes by Ln-Wolf
french: 11 changes by ZarTek-Creole
portuguese: 3 changes by azulcosta
polish: 28 changes by pAter-exe
2 years ago
translators cbb2d5303d Update: Translations from eints
spanish (mexican): 14 changes by absay
english (us): 20 changes by 2TallTyler
russian: 5 changes by Ln-Wolf
portuguese: 44 changes by azulcosta
2 years ago
Tyler Trahan 0d631a6fda Change: Reword Finance window's Net Profit to Profit 2 years ago
Tyler Trahan adf94d7970 Change: Add a Total caption to each category of the finance window 2 years ago
Tyler Trahan bba1a16836 Change: Make Company GUI Bank Balance text white 2 years ago
translators 553e5e6bbe Update: Translations from eints
english (au): 20 changes by krysclarke
spanish (mexican): 7 changes by absay
korean: 20 changes by telk5093
russian: 13 changes by Ln-Wolf
spanish: 74 changes by MontyMontana
2 years ago
PeterN cea62ef73d
Fix #10161: Ignore ascender in FallbackLayouter for non-built-in fonts. (#10169) 2 years ago
Tyler Trahan 89a2d0a605
Fix #10154: Don't inconsistently set random company face in network games (#10157) 2 years ago
translators ced4258969 Update: Translations from eints
english (au): 18 changes by krysclarke
spanish (mexican): 23 changes by absay
english (us): 18 changes by 2TallTyler
korean: 33 changes by telk5093
russian: 18 changes by Ln-Wolf
french: 31 changes by glx22
2 years ago
Peter Nelson dff03124e5 Change: Use modalpopup padding for error/query windows. 2 years ago
Peter Nelson ecb5393c55 Change: Standardize progress bar layout.
Progress bars are drawn differently depending on when it was added, with
different layouts and sizes.

This change adds a standard padding size to use, and makes all progress
bars visually similar, with scaled padding.
2 years ago
Peter Nelson 920e588334 Change: Use standard dimensions instead of custom widths. 2 years ago
Peter Nelson 9666e46739 Feature: Variable GUI scale.
GUI scale is now variable from 100% to 500%, and no longer restricted to
powers-of-2.
2 years ago
Peter Nelson 13d271217f Change: Sprite-scale inter-character spacing of fonts. 2 years ago
Peter Nelson ed60c88b0a Change: Use power-of-2 scaling for some dimensions in GUI.
These are related to drawing sprites that are normally drawn on the
landscape, and should therefore still follow power-of-2 scaling to fit
correctly.
2 years ago
Peter Nelson 062ea68422 Change: Scale position of font shadow. 2 years ago
Peter Nelson dd90d79e7b Add: Setting to toggle thin vs chunky (scaled) bevels. 2 years ago
Peter Nelson e554fd7808 Change: Hide WidgetDrawDistances from general use. 2 years ago
Peter Nelson 890b2666d3 Change: Use scaled WidgetDimensions. 2 years ago
Peter Nelson 61da064b82 Fix: Settings GUI sprite size. 2 years ago
Peter Nelson 123983743f Change: Add optional text labels to slider widget. 2 years ago
Peter Nelson f0ae111c4a Change: Put ends of slider under centre of control knob. 2 years ago
Peter Nelson 64a1fc174f Change: Scale thickness of slider bevel. 2 years ago
Peter Nelson 1180c95372 Codechange: Add parameters to change range of slider widget. 2 years ago
Peter Nelson d35f1d3d06 Codechange: Rename slider widget functions to be less specific. 2 years ago
Peter Nelson 23a8222200 Change: Split vscroll and hscroll padding.
Vertical and horizontal scrollbars are different sizes, this allows
different padding for each type.
2 years ago
Peter Nelson 90ce704366 Change: Use scaled WidgetDimensions for core widgets. 2 years ago
Peter Nelson 0bb9a45785 Change: Simplify drawing widget image buttons. 2 years ago
Peter Nelson d0add1e07f Change: Ignore offsets when drawing GUI sprite. 2 years ago
Peter Nelson b5693becdc Add: Define scaled WidgetDimensions.
Includes RectPadding container.
2 years ago
Peter Nelson b6ed595176 Codechange: Prefer suggested widget padding. 2 years ago
Peter Nelson 0108e9f387 Change: Set up suggested widget padding for panel, frame and inset.
Window handlers are free to ignore the suggested padding, however some
handlers have logic that assumes this information was already provided.
2 years ago
Peter Nelson 68423c40c5 Fix: Off-by-one in GetAlignedPosition(). 2 years ago
Peter Nelson 47f4fc6a70 Add: NWidgetPart SetPadding via RectPadding 2 years ago
Peter Nelson dd9f6bc803 Change: Use RectPadding Horizontal()/Vertical() helpers. 2 years ago
Peter Nelson 04cbe57d2a Change: Use RectPadding for widget padding/uz_padding. 2 years ago
Peter Nelson 75b222b0d9 Add: RectPadding type.
This is similar to Rect but specifies padding to apply to a Rect.
2 years ago
Peter Nelson 5786d49143 Change: Use Rect when drawing build engine list. 2 years ago
Peter Nelson 46a1ab0937 Change: Use Rect when drawing infrastructure window. 2 years ago
Peter Nelson c9a81fd67b Change: Use Rect for drawing vehicle details. 2 years ago
Peter Nelson 3ff05321dc Change: Use standard padding for AI Debug window. 2 years ago
Peter Nelson 1f1378c129 Change: Align picker previews to button centre. 2 years ago
Peter Nelson cb059fc081 Change: Use Rect for QueryString editor. 2 years ago
Peter Nelson fea7247072 Change: Use standard 'frametext' padding for settings window. 2 years ago