Age | Commit message (Collapse) | Author |
|
Instead of shrinking the rect based on how many labels aren't there,
expand the rect based on how many labels are there.
Closes gh-958
|
|
|
|
The width of each tab is now computed from its title, independently of
the other tabs. This increases the number of tabs that fit on the
screen.
This rewrite also fixes a bug where if the window size increased while
_firstVisibleTab > 0, some tabs would become inaccessible when the
scroll buttons were hidden.
The layout key Globals.TabWidget.Tab.Width is now treated as minimal
tab width. This is set so that the tabs fit reasonably well in lowres
layouts.
At the same time, this reduces the lowres scroll buttons heights to fit.
This patch makes the Nintento DS hacks in TabWidget obsolete.
(Hopefully! I'm not able to test.)
|
|
Fixes erratic speeds in analog pointer motion
Implemented option to set analog/keyboard pointer speed
and control the analog joystick deadzone. The deadzone option appears
only if the build supports analog joystick (via JOY_ANALOG define)
|
|
|
|
hasFeature... condition, renamed some fields and methods
|
|
|
|
|
|
|
|
This should have been done when making changes to it but I forgot.
|
|
|
|
This caused a crash when opening to options dialog in low resolution.
|
|
Cloud tab now contains a button to select path, path label and a clear
button.
|
|
StorageWizardDialog now shows logo of the Storage being connected (in
modern highres theme).
|
|
It now looks fine in both 640x400 and 320x200!
|
|
It pastes clipboard contents as code into 8 fields of that dialog.
(Clipboard support works with SDL2 only.)
"Open URL" and "Paste" buttons are placed in the left column under the
picture (because there is no room for 4 buttons in the bottom row).
Commit also adds "dropbox.bmp", which is just a square 115x115 picture.
Such pictures are would be used as Storages logos in that dialog.
In lowres there is no left column, so all 4 buttons are in the same row.
None of them are visible, because they are overflowed. Container has to
be added to continue working on them.
|
|
I knew there were some, but I wanted to fix them once, instead of doing
it all the time.
|
|
|
|
It's enabled only when NETWORKING_LOCALWEBSERVER_ENABLE_PORT_OVERRIDE is
defined.
It's not defined, because override means we have to reconfigure our
redirect links somehow to use the override port.
|
|
Looks fine.
|
|
Changes theme stx files to specify TabWidget's type. That fixes wrong TabWidget height.
Changes TabWidget's getHeight() to return not only "children" height, but also tabs height. That fixes wrong clipping area.
Changes Widget's findWidget to use getHeight(). That fixes bug when widgets in the bottom of TabWidget were not reacting to the mouse events.
|
|
|
|
|
|
|
|
|
|
This fixes bug #6658 "GUI: Save/Load grid view needs tuning for classic theme, 640x400 pixels" for me.
|
|
Since clipping is now in place for strings, having text widgets which
are 4 pixels high will no longer work. Remade the layout to set better
heights, and remove some spacing instead.
|
|
|
|
Now that we actually use the textalign field of Launcher.Version the version
would be left aligned by default. This looks odd for the classic theme and
the low resolution version of the modern theme and is contrary to the old
"default" value, so I decided to center the string explicitly again.
|
|
This implements feature request #3600774 "File browser: show hidden files".
|
|
This should make it clearer that Reset applies to all of the
FluidSynth settings, not just the Misc tab.
|
|
This resets the FluidSynth settings to their default values.
|
|
I don't really understand what these parameters do, or what the
sensible values are, so for now the sliders are limited only by
the allowed (or, in one case, "safe") values.
|
|
|
|
|
|
|
|
logic.
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.
Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It is in spirit of the DOS version's selection dialog, but it has the
description above the buttons instead of below it.
|
|
|
|
Previous triangle drawing was all wrong, rewrote it from the scratch.
Added padding to drawsteps in stx files
|
|
|
|
|
|
With 50a682e7e1c69082735a07b2261d1c0c61ac12c9 we changed the resolution string
in a way which is incompatible with old resolution strings, thus all old theme
files are not usable anymore and will cause problems. To avoid that we just
increase the version string and thus it is not possible to use them anymore.
|
|
Instead of running into assert()s due to dumb parser decisions, use
'less than' and 'greater than' width/height conditions on the
'resolution' tags.
Seems better than listing >9000 different android resolutions.
|