Commit Graph

637 Commits (master)

Author SHA1 Message Date
scrawl 1714271a76 Improve KeyboardNavigation to better handle modal windows
It's no longer possible to cycle to widgets that aren't part of the current modal window.

The window manager will remember the focused widget of a modal window on a limited basis (it'll be discarded when a different modal window opens).
7 years ago
scrawl a0ee1c5630 Fix order of buttons in book window layout for key cycling 7 years ago
scrawl e4c9d84666 Disable NeedKey for ScrollView skins
The widget is set to accept key focus by default for no reason I can tell. Fix in MyGUI TBD
7 years ago
scrawl 2c4b0cc408 Hide sneak indicator by default 7 years ago
scrawl be19f51013 Adjust some more windows to be keyboard friendlier 7 years ago
scrawl 622e3ebd60 Remove excessive padding in some GUI layouts 7 years ago
scrawl 5482ad0482 Fix tab completion in console to not cycle key focus 7 years ago
scrawl c203a0774a Adjust some layouts to take better advantage of keyboard navigation 7 years ago
scrawl c11fe6788f Add basic keyboard navigation for the GUI
(Shift)Tab cycles, arrow keys move to the next button in that direction, Enter/Space accepts.

Note: Unless MyGUI is hacked to bits, clicking on an empty space will annoyingly reset the key focus. Not sure how to deal with that yet.

The visual highlight for selected buttons requires MyGUI commit 632d007429d0bf0c7d7f6c5db4a08353a63dd839 or later to appear (to be released in 3.2.3).
7 years ago
David Cernat 73e7aa838d Merge pull request #296 from OpenMW/master while resolving conflicts
# Conflicts:
#	apps/openmw/mwgui/container.cpp
7 years ago
scrawl aaa727757d Don't use MW_Dialog skin with plain Widgets
After MyGUI commit cfdaf5f , the 'Client' area will be used for every type of widget, whereas previously it would only be used for some widgets like 'Window'. Use 'Window' widget where the client was always used.

This fixes a wrong margin when built with cfdaf5f or later.
7 years ago
scrawl fe6f9ffff4 Fix skins incorrectly named 'Client' to avoid a collision with new MyGUI feature cfdaf5f 7 years ago
scrawl d07fe91cfe Don't use MW_Dialog skin with plain Widgets
After MyGUI commit cfdaf5f , the 'Client' area will be used for every type of widget, whereas previously it would only be used for some widgets like 'Window'. Use 'Window' widget where the client was always used.

This fixes a wrong margin when built with cfdaf5f or later.
7 years ago
scrawl 186cc1e370 Fix skins incorrectly named 'Client' to avoid a collision with new MyGUI feature cfdaf5f 7 years ago
David Cernat 4d4eb1bb9f Merge pull request #292 from OpenMW/master
Add OpenMW commits up to 18 Sep 2017
7 years ago
Andrei Kortunov 3fb3c4c20f Add scrollbar to a birth effect lists (bug #4105) 7 years ago
David Cernat 4468e6ec4a Merge pull request #280 from OpenMW/master while resolving conflicts
# Conflicts:
#	.gitignore
#	apps/openmw/mwmechanics/actors.hpp
#	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
7 years ago
Andrei Kortunov 6ef5d1408f Disabled transparency for description edit fields 7 years ago
Andrei Kortunov 765f982123 Removed cursor from Favorite Attributes label 7 years ago
Andrei Kortunov e4df17ccaf Make inventory avatar to fit within border (bug #4003) 7 years ago
Andrei Kortunov 56f5a5dee3 Added transparency to 'owned' tooltip 8 years ago
Andrei Kortunov 8c1c80ab91 Disable transparency for persuation dialogue menu 8 years ago
Andrei Kortunov 6cb3c83248 Add transparency for interactive messageboxes in game mode 8 years ago
David Cernat 721b218cc2 Merge pull request #258 from OpenMW/master while resolving conflicts
# Conflicts:
#	.travis.yml
#	README.md
8 years ago
Andrei Kortunov 56a30d7aec Journalbook layout fixes 8 years ago
Andrei Kortunov a03cc8216e Fixed count widget buttons alignment 8 years ago
scrawl c9d9461d3e Add Spacer class derived from AutoSizedWidget
Using a normal widget as a spacer with HStretch/VStretch may not work properly because for widgets not derived from AutoSizedWidget, the HBox/VBox treat the widget's current size as the requested minimum size. This leads the layout to break when resized more than once.

The new class sets HStretch and VStretch to true by default to save some typing.
8 years ago
scrawl 196eedf1b0 Fix key focus issue with the journal hotkey 8 years ago
David Cernat fd046e42ef Merge pull request #242 from OpenMW/master
Add OpenMW commits up to 16 Jul 2017
8 years ago
Andrei Kortunov 6795163265 Disable transparency for all popup lists 8 years ago
Andrei Kortunov 5bb9f1b187 Make popup in character select menu non-transparent 8 years ago
Andrei Kortunov 2b22d10ebc Spellview fixes 8 years ago
Andrei Kortunov 9179a019df Quick keys menu fixes 8 years ago
Andrei Kortunov 5be1c81913 Fixed Close button handler in EditEffectDialog (fixes #3956) 8 years ago
David Cernat c9c00d921e [Build] Add tes3mp_text_input to MyGUI's CMakeLists 8 years ago
David Cernat 1f682749d6 [General] Add optional notes to PasswordDialogs 8 years ago
David Cernat 315ec46ff6 Merge pull request #224 from OpenMW/master
Add OpenMW commits up to 3 Jun 2017
8 years ago
Andrei Kortunov 9a1ba1e559 Show success chance when self-enchanting (Feature #3492) 8 years ago
David Cernat 41de1876a3 Merge pull request #223 from OpenMW/master
Add OpenMW commits up to 31 May 2017
8 years ago
scrawl 9fd0d54a35 Merge pull request #1289 from akortunov/newrepair
Improved repair and recharge widgets
8 years ago
Andrei Kortunov 10d4cb15ad Improved repair widget 8 years ago
Andrei Kortunov 1164c3f16e Improved recharge widget 8 years ago
scrawl 2638327593 Merge pull request #1303 from akortunov/guifixes
Character generation layout fixes
8 years ago
Andrei Kortunov 2b28d1a6d2 Select specialization menu layout fix 8 years ago
David Cernat 0cce9908be Merge pull request #222 from OpenMW/master
Add OpenMW commits up to 29 May 2017
8 years ago
Andrei Kortunov da828a1089 Class choice layout fix 8 years ago
Andrei Kortunov ba78e187c7 Listbox spacing fix 8 years ago
Andrei Kortunov 0e35e6a700 Class generation menu layout fixes 8 years ago
Andrei Kortunov 1520a4d7db Levelup menu layout fixes 8 years ago
Andrei Kortunov 26ec467df0 Tooltips: faction, magic effects layout fixes 8 years ago
Andrei Kortunov 987677db75 Tooltips: dynamic stats, birthsign and hand-to-hand layout fixes 8 years ago
Andrei Kortunov 27181367e2 Tooltips: skills and attributes layout fixes 8 years ago
Andrei Kortunov 6331cc6ab9 Tooltips: level, race, class, specialization layout fixes 8 years ago
David Cernat f2ec6ce02c Merge pull request #209 from OpenMW/master
Add OpenMW commits up to 30 Apr 2017
8 years ago
scrawl 9f1527b7da Merge pull request #1272 from akortunov/guifixes
Service menus layout fixes
8 years ago
Koncord 8492929738 [Client] Use RussoOne for chat 8 years ago
Koncord 26c00c3141 [Client] Change chat font to RussoOne for better visibility 8 years ago
Andrei Kortunov bc9080d9d7 Removed 31 symbols cap from service menus 8 years ago
David Cernat fec82dc033 Merge pull request #202 from OpenMW/master
Add OpenMW commits up to 21 Apr 2017
8 years ago
Andrei Kortunov c65c643abe Fixed race menu skills layout 8 years ago
Andrei Kortunov 0a90b48e60 Fixed progressbars layout in review menu 8 years ago
Andrei Kortunov aac78d29a4 Service menus layout fixes 8 years ago
David Cernat c6cd0a2953 Merge pull request #196 from OpenMW/master while resolving conflicts
# Conflicts:
#	apps/openmw/mwmechanics/spellcasting.cpp
8 years ago
Andrei Kortunov 1fe3a3efe4 Count dialog layout changes 8 years ago
Andrei Kortunov df5a43363a Confirmation dialogs size fix 8 years ago
Andrei Kortunov e5a0f89934 List scroll fix 8 years ago
David Cernat 7647715dac Merge pull request #190 from OpenMW/master
Add OpenMW commits up to 27 Mar 2017
8 years ago
Andrei Kortunov edadcb338c Savegame dialog improvements 8 years ago
Andrei Kortunov a35d4334c3 Encumberance text fix 8 years ago
Andrei Kortunov c9cf0ec977 Buttons and widgets captions vertical alignment 8 years ago
Andrei Kortunov 7d09a5d644 Progress bars vertical alignment 8 years ago
Andrei Kortunov 4daa88351b Vanilla style progress bars 8 years ago
Andrei Kortunov b89fdcfd27 Vanilla style drowning widget (partially fixes bug #3801). 8 years ago
David Cernat 2ed9ae5739 Merge pull request #149 from OpenMW/master
Add OpenMW commits up to 14 Feb 2017
8 years ago
scrawl e295a72d43 Add align=Center to GUI dialogs (Fixes #2289) 8 years ago
David Cernat ae23c6d6a5 Merge pull request #145 from OpenMW/master while resolving conflicts
# Conflicts:
#	CMakeLists.txt
8 years ago
scrawl 93c582064e Remove item shadows for equipped weapon/spell indicators 8 years ago
David Cernat 3a29b2d41d Merge pull request #141 from OpenMW/master
Add OpenMW commits up to 5 Feb 2017
8 years ago
scrawl 5f2539adb6 Optimize scrollbar/progress skins by using one widget for the track instead of one widget per pixel 8 years ago
David Cernat 268a1501ad [GUI] Make tes3mp_dialog_list larger 8 years ago
David Cernat 0917184359 [GUI] Replace "Yes" button with "OK" in tes3mp_dialog_list 8 years ago
David Cernat 7bbeed629d Merge pull request #109 from OpenMW/master
Add OpenMW changes up to 25 Nov
8 years ago
scrawl 5297d7b5be Merge pull request #1137 from nikolaykasyanov/osx-structure
[macOS] Move all resources files inside application bundles (fixes #3566)
8 years ago
Nikolay Kasyanov db69342b5d [macOS] Move all configs & resources into app bundles
Fixes #3566 (https://bugs.openmw.org/issues/3566).
8 years ago
David Cernat 49a78d8462 Merge pull request #105 from OpenMW/master
Add OpenMW changes up to 19 Nov
8 years ago
MiroslavR 7e5ba4d435 Fix default values of some GMSTs 8 years ago
David Cernat 48ca4d29bc Merge pull request #99 from OpenMW/master
Add OpenMW commits up to 7 Nov
8 years ago
MiroslavR e80636f0ca Improve performance of repairing/recharging (Fixes #2493) 8 years ago
Koncord adb49b7c7d Add New GUI dialog: ListBox
Example:

local GUI_LISTBOX = 42

function OnPlayerSendMessage(pid, message)
    if message == "/lb" then
        local items = "consectetur adipiscing elit\nsed do eiusmod tempor incididunt ut labore\net dolore magna aliqua." -- items can be separated through newline
        local label = "Lorem ipsum dolor sit amet"
        tes3mp.ListBox(pid, GUI_LISTBOX, label, items)
    end
end

function OnGUIAction(pid, idGui, data)
    if idGui == GUI_LISTBOX then
        print("ID: " .. idGui .. " data: " .. tostring(data)) -- if value higher than last item id
    end
end
8 years ago
David Cernat 3136a12051 Resolve conflicts in pull request #75
# Conflicts:
#	CMakeLists.txt
#	apps/openmw/CMakeLists.txt
8 years ago
scrawl e7154c3f7c Add the ItemShadow to various other skins 8 years ago
scrawl 612c3e995f Add drop shadow to ItemWidget (Fixes #3545) 8 years ago
Aesylwinn b4a000913c Merge remote-tracking branch 'yar/master' into Even
# Conflicts:
#	CMakeLists.txt
#	apps/openmw/mwdialogue/filter.cpp
#	apps/openmw/mwmechanics/character.cpp
#	apps/openmw/mwworld/localscripts.cpp
#	components/CMakeLists.txt
#	components/compiler/exprparser.cpp
#	components/sceneutil/workqueue.cpp
9 years ago
Koncord 1b259e2d33 Syncing inventory, animations, position, 8 key attributes
Created Package system
9 years ago
scrawl 1232607385 Remove pointless widget names in settings layout file 9 years ago
scrawl 3969675afa Remove unused settings 9 years ago
scrawl 7f89bb273a Add 'reflect actors' setting for the water shader, default off 9 years ago
scrawl e8662bea31 Change the way that image origin is converted to OpenGL's lower-left convention
Flip the texture coordinates instead of flipping textures.

This simplifies the TextureManager (no need to worry if the caller wants flipping or not), should make it easier to generalize & multithread it.
9 years ago
scrawl 0da6d249fe Fix the window pinning button's borders not accepting mouse clicks 9 years ago
scrawl 190bf15887 SettingsWindow: support auto-updating of slider labels through the layout file 9 years ago
scrawl 9621b66b78 Move field of view setting to Camera section 9 years ago
scrawl 9d4af59860 Don't attempt to create quest log buttons if textures are unavailable (Fixes #3063) 9 years ago
scrawl 34350ddeb1 Fix bug #3028 9 years ago
scrawl 75f11f781c Use the ScalingLayer for Scroll window 9 years ago
scrawl 516f2765a1 Use the ScalingLayer for journal, books and scrolls 9 years ago
scrawl 08a55febc8 Adjust Scroll window layout to better match MW 9 years ago
scrawl d85d74e615 Use AdditiveLayer for the hit fader 9 years ago
scrawl a90ef8afd0 layer renaming 9 years ago
scrawl 13c7235b6b Remove old FPS setting code 9 years ago
scrawl 47664e1370 Hide the defunct FPS checkbox in settings menu, added hint text for f3 binding 9 years ago
scrawl a41ebd6695 Comment out object shaders in the settings menu 9 years ago
scrawl 4cc200680c Comment out shadows tab in settings menu 9 years ago
scrawl c9d7078b4b Water: add texture quality setting to the settings window 9 years ago
scrawl 60bc7dbabc Improve MW_ComboBox skin 9 years ago
scrawl 8cb2c7a9fb Water: remove defunct "reflect <object type>" settings
Not really useful
9 years ago
scrawl 169d76b49b Fix scrollbar step in count dialog 9 years ago
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
Jiří Kuneš a5b4e087c5 define owned colours in settings.cfg 10 years ago
Jiří Kuneš cbc44b33ba define crosshair owned colour in openmw_hud_box.skin.xml 10 years ago
Jiří Kuneš 75f5972898 show owned - better settings 10 years ago
Jiří Kuneš df077f8649 color tooltip red when taking item would result in crime 10 years ago
scrawl 9a115fedbc Add ability to copy&paste the version label in the main menu 10 years ago
scrawl a2e211675d Update openmw_layers.xml to newer version 10 years ago
scrawl c2131e7c31 Make near clip distance configurable 10 years ago
scrawl c748ea7363 Fix view distance slider 10 years ago
scrawl 22f01b1232 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/launcher/graphicspage.cpp
	apps/opencs/editor.cpp
	apps/opencs/model/doc/document.cpp
	apps/opencs/view/render/cell.cpp
	apps/opencs/view/render/mousestate.cpp
	apps/opencs/view/render/textoverlay.cpp
	apps/opencs/view/render/worldspacewidget.cpp
	apps/openmw/mwclass/creature.cpp
	apps/openmw/mwclass/npc.cpp
	apps/openmw/mwgui/inventorywindow.cpp
	apps/openmw/mwgui/loadingscreen.cpp
	apps/openmw/mwgui/mapwindow.cpp
	apps/openmw/mwgui/pickpocketitemmodel.cpp
	apps/openmw/mwgui/waitdialog.cpp
	apps/openmw/mwmechanics/combat.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwrender/globalmap.cpp
	apps/openmw/mwworld/physicssystem.cpp
	apps/openmw/mwworld/refdata.cpp
	apps/openmw/mwworld/scene.cpp
	apps/openmw/mwworld/worldimp.cpp
	components/sdlutil/sdlinputwrapper.cpp
	extern/shiny/Main/Factory.cpp
	extern/shiny/Main/MaterialInstance.cpp
	extern/shiny/Main/Platform.cpp
	extern/shiny/Main/ShaderSet.cpp
10 years ago
scrawl bec9abd319 Remove name extension for internal MyGUI textures
Since they're no longer loaded from disk, the extension makes no sense.
10 years ago
scrawl 24bb2e152c Apply texture filter setting changes 10 years ago
scrawl 5442bf23a6 Apply video mode & gamma setting changes 10 years ago
scrawl 4dd96f3318 Fix missing tiling in skin 10 years ago
scrawl fd3d49c171 Fix typo in settings layout 10 years ago
scrawl 4825744a03 Fix inconsistent health bar skin 10 years ago
scrawl 033719ccd7 Correct the icon used for custom map markers 10 years ago
scrawl c1edc30ad7 Dead code removal 10 years ago
scrawl 157d8bfedd Remove unused mygui files 10 years ago
scrawl 8817f44d63 Remove advanced FPS counter (obsoleted by the OSG stats viewer) 10 years ago
Ivy Foster f708944657 Remove toggle sneak menu option
Users can change the option in settings.cfg.
10 years ago
Ivy Foster ba7fc8609c Add toggle sneak option; fix bug #2119
To enable toggle sneak mode, set "toggle sneak = true" in
the [Input] section of settings.cfg.

Outstanding issues:
    - In toggle sneak mode, holding the Sneak button causes
      rapid, repeated toggling.
    - The button in the settings menu doesn't do anything.
10 years ago
Marc Zinnschlag 8b84fa5579 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl fb0fdf0312 New look for fps counter 10 years ago
scrawl 960e99c4f3 Loading screen align fix 10 years ago
scrawl 2b7287cbd2 Merge branch 'master' of https://github.com/OpenMW/openmw into joystick
Conflicts:
	CMakeLists.txt
10 years ago
scrawl 97cc2522c0 Merge remote-tracking branch 'upstream/master'
Conflicts:
	apps/openmw/mwgui/settingswindow.cpp
	extern/oics/ICSInputControlSystem_joystick.cpp
	files/mygui/openmw_settings_window.layout
10 years ago
scrawl 68f89318e7 Fix canvas align in skill view 10 years ago
scrawl a5847afdac Fix ignored clicks on HUD mini-map (Fixes #2388) 10 years ago
scrawl a139e4efb0 Grey out completed quests in journal quests list 10 years ago
MiroslavR 1230cf49bf Properly center jail progress widget, fix a bug with it not disappearing if the console is open 10 years ago
scrawl 9ce3e4b4e1 UI consistency fix in levelup dialog 10 years ago
Lazaroth 42363191a4 Layout tweaks 10 years ago
Lazaroth 7685de1d50 MyGUI tweaks
Feedback / testing is needed on this.

Some small button location tweaks and more importantly, some changes to
bring consistency between the Potion maker screen (already in openmw),
Trading screen (already in openmw), Spellmaker screen, Travel screen and
Training screen. It's mainly the top bar I'm talking about and
resizability.

It is not 1:1 towards vanilla, but looks better (IMO) and again, creates
some consistency. This can probably be expanded to the remaining screens
such as Enchanting and Spell and perhaps even the save/load screen to
have OpenMW wide consistency.
10 years ago