Commit Graph

86 Commits (0.7.1-build-fixes)

Author SHA1 Message Date
Andrei Kortunov 8df8bd3f37 Use C++11-style loops in the GUI instead of iterators 6 years ago
Andrei Kortunov 6e05853478 Center progress bar when there are active messageboxes (bug #4691) 6 years ago
Andrei Kortunov e06f0b797a Replace all NULLs to nullptr 6 years ago
Andrei Kortunov 5a4d0cec3a Use new logging system for game itself 6 years ago
scrawl 2caaa48b91
Workaround to make sure message box remains on top (Fixes #4298) 7 years ago
scrawl 2a0b2c4e24 Hide modal window before deleting it (Fixes #4168) 7 years ago
scrawl 64e27c032b Merge pull request #1481 from scrawl/keyfocus
WindowManager overhaul & improved keyboard support
7 years ago
scrawl 0ae009eb21 Hide message box before deleting it
Fixes a crash when closing the game window during the 'plugin mismatch' dialog. Modal windows have to be hidden before they are deleted to prevent a dangling pointer in WindowManager.
7 years ago
scrawl 3820416277 Refactor the unholy mess that is WindowManager::updateVisible
GUI modes are now defined in a general and extensible way. The next commits are going to take advantage of this.
7 years ago
scrawl 01391b7eed Rename WindowBase's open/close to onOpen/onClose 7 years ago
scrawl b22fedf4ae Check 'sYes' in addition to 'sOk' for message box's default keyfocus 7 years ago
Andrei Kortunov 2806a35a61 Fixed padding of MessageBox buttons 7 years ago
Andrei Kortunov 6cb3c83248 Add transparency for interactive messageboxes in game mode 8 years ago
scrawl db71634a2d Allow replacing of interactive message boxes (Fixes #3040) 9 years ago
scrawl 30ab15e605 Fix -Wunused-private-field clang warnings 10 years ago
Rohit Nirmal 396fba7fa9 Silence -Wreorder warnings, and remove -Wno-reorder. 10 years ago
dteviot e197f5318b fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
Alexander "Ace" Olofsson 3a88f4ebd5 Fix windows build, MessageBox is a defined symbol
Windows and its stupid defines...
10 years ago
scrawl f9227beedd Add warning when loading a savegame that depends on non-existing content files (Fixes #2261) 10 years ago
scrawl 5b9d10f851 Reduce includes in MWGui 10 years ago
scrawl eecea4131f Reduce MyGUI includes 10 years ago
scrawl 88da7f5157 Adjust border skin for loading bar and message boxes to match vanilla MW 10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
scrawl 25e96b8c7b InteractiveMessageBox: Define a maximum width for the message text 10 years ago
scrawl 322480862b InteractiveMessageBox: lay out buttons horizontally if button width does not exceed message width (Fixes #1812)
Also fix some layout bugs.
11 years ago
scrawl bb33b4e005 Revert "Remove horizontal messagebox layout, not used in vanilla (Fixes #1402)"
This reverts commit 40d6c8abf7.
11 years ago
scrawl 9e6d21d95b Clear message boxes in windowmanager cleanup (Fixes #1496) 11 years ago
scrawl 58d963d6e6 Fix warning 11 years ago
scrawl 40d6c8abf7 Remove horizontal messagebox layout, not used in vanilla (Fixes #1402) 11 years ago
scrawl 0cc1cd8f7e Fix message box formatting bug 11 years ago
scrawl 1deb0a7cdf Savegame dialog: Set key focus to editbox 11 years ago
scrawl 358cc3c62f Closes #1060: Fix incorrect message box size 11 years ago
greye 15d946415e minor cleanup
Removed case folding via std::transform, excessive lowerCase()
replaced with ciEqual().
11 years ago
scrawl d01f89b153 Rewrite some awful code 11 years ago
scrawl 2744cde40f Use a few additional GMSTs 11 years ago
scrawl 546b0cee76 Closes #1077: Replace tags before trying to get the message length 11 years ago
scrawl 6f9113fe88 Add preliminary implementation of PayFine, PayFineThief and GoToJail instructions 11 years ago
Lukasz Gromanowski cb04f43384 Fixes for "Conditional jump or move depends on uninitialised value(s)"
and memleaks reported by valgrind.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl 742e0e014d Remove more cruft in MessageBox. Fixes inconsistent sizing when close to a newline. 11 years ago
scrawl f695deb29d Remember window positions 11 years ago
scrawl fa63924884 Simplify message box manager, should fix a random bug with boxes not disappearing 11 years ago
Emanuel Guevel ba4b8a37e2 Remember pressed message box button longer
Remember which button was pressed until a new interactive message box is
displayed or until the pressed button number is read.

Before that, it was not possible to get the pressed button after the
message box was hidden/destroyed.
11 years ago
scrawl 7dc30a01cd Some changes suggested by cppcheck 12 years ago
Sebastian Wick 7b40e57ba1 Allow the 'Activate' key to close the countdialog window; cleanups 12 years ago
Glorf 57f22c77c0 Bugfix #732 part 1 12 years ago
Britt Mathis 7eee86ab66 No more using namespace 12 years ago
Britt Mathis f7383905b7 Finally eliminated calls to MWBase::WindowManager in constructors 12 years ago
Britt Mathis ce9bc6d9ba MwGui windowManager calls fixed to use MWBase::Environment::get().getWindowManager, filenames in MwGui now comply with naming conventions 12 years ago
scrawl 51204f098e Added soulgem dialog; made interactive message boxes not close the previous UI 12 years ago
scrawl 9a84f6744f Fix headers including whole MyGUI.h, forward declare where appropriate, and fix some deprecated types (WidgetPtr) 12 years ago