aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
2006-04-16Remove redundant code. soundfont is taken care in OptionsDialog::open() now.Eugene Sandulenko
svn-id: r21950
2006-04-16Patch #1469722: "Game-specific SoundFont configuration broken"Eugene Sandulenko
svn-id: r21949
2006-04-16Fixed some breakage in the 'Add Game' code I recently introduced; added a ↵Max Horn
FIXME comment regarding the 'description' config file key svn-id: r21943
2006-04-16Fixed broken svn:keywords valuesMax Horn
svn-id: r21939
2006-04-16- Implemented text padding in ListWidget and PopUpWidget. Right padding does ↵Eugene Sandulenko
not work yet. - Implemented highlisght padding in ListWidget - Eval::getVar() method with default value - Removed unused constructors for ListWidget and PoUpWidget - cleanup - bumped theme version svn-id: r21934
2006-04-15Removed GameDetector::_gameid in favor of using a config manager entryMax Horn
svn-id: r21915
2006-04-14Instead of calling our main them 'default-theme', call it 'modern' and ↵Max Horn
reserve the gui theme name 'default' to indicate, well, the *default* theme, whatever that is svn-id: r21887
2006-04-14Sets up standard normal font.Johannes Schickel
svn-id: r21869
2006-04-14- implements .bdf font loader based on convbdf (sure could have some clean up)Johannes Schickel
- adds three different font styles to the themes (normal, bold (default one), italic) - implements code for specifing the font files in the theme config ('fontfile_normal','fontfile_bold' and 'fontfile_italic' in the 'extra' section) - changes EditTextWidget to use the normal font (has some minor aligment problems with the caret now, though) - extends the FontManager (new functions: getFontByName, assignFontToName, removeFontName) - adds the font style constans to the builtin constants for the evaluator) svn-id: r21868
2006-04-13- No longer draws full shadows for disabled widgetsJohannes Schickel
- Implements 'negativ alpha' values for drawSurfaceMasked (from -1 to -100, used to dim the pixels -1 means very very small dim -100 should be black) - Changes drawSurfaceMasked to use macros for easy changing drawing code svn-id: r21852
2006-04-13Deletes color cache and custom dialog shading.Johannes Schickel
svn-id: r21850
2006-04-12Commiting Fingolfins patch to remove gamedetector usage.Lars Persson
svn-id: r21830
2006-04-12Speeds up calcGradient again a little bit.Johannes Schickel
Also this should fix a bug in getColorAlphaImpl (I'm not 100% sure if it was wrong before though) svn-id: r21818
2006-04-12- some little clean upsJohannes Schickel
- improves speed of the dimming effect (get's rid of divisions in favour of shifts) - improves speed of calcGradient (nearlly twice as fast in my tests now) svn-id: r21817
2006-04-11Draws the same border for 'kWidgetBackgroundPlain' as for ↵Johannes Schickel
'kWidgetBackgroundBorderSmall'. This fixes missing border in the pop up widget. svn-id: r21796
2006-04-11Fixes disappearing borders with classic theme.Johannes Schickel
svn-id: r21795
2006-04-11Checks if something is drawn out of the screen in drawSurfaceMasked (fixes ↵Johannes Schickel
crashes with --force-1x-overlay) svn-id: r21794
2006-04-11Fixes cutted texts with --force-1x-overlay.Johannes Schickel
svn-id: r21793
2006-04-11- cleans up drawSurfaceMasked a little bitJohannes Schickel
- get rid of getColorAlpha in drawSurfaceMasked if no alpha blending is used svn-id: r21792
2006-04-11Changed drawScrollbar to use drawShadow.Johannes Schickel
svn-id: r21791
2006-04-11Makes classic theme compile without OLDGUI_TRANSPARENCY again.Johannes Schickel
svn-id: r21790
2006-04-10Implements saving the color cache to a file (much faster startup for custom ↵Johannes Schickel
effect + less memory while gui isn't shown) svn-id: r21766
2006-04-09Sev now is project lead, tooMax Horn
svn-id: r21728
2006-04-04Turned FSList::sort into a generic function which can be applied to anything ↵Max Horn
which implements comparable iterators (like Array, List, or plain C arrays) svn-id: r21617
2006-04-04Initialize uninitialized variable.Eugene Sandulenko
svn-id: r21609
2006-04-04Use iterator API to iterate over all entries in the file listMax Horn
svn-id: r21601
2006-04-02With this change, backends are now responsible for instantiating their ↵Max Horn
OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently) svn-id: r21557
2006-04-02- changed standard inactive dialog effect to dim with 30% instead of luminanceJohannes Schickel
svn-id: r21546
2006-04-02- moves some code in ThemeNew.cpp (calcGradient and calcAlpha to the bottom)Johannes Schickel
- added possibility to use a shading effect on inactive dialogs (luminance and dim are builtin, and special ablility to specifiy a own expression, evaluated via the evaluator) - adds also a color cache (atm it's generated on startup) - uses luminance effect by default - bumps theme config version to 7 svn-id: r21544
2006-03-31Hide eval debug output deeper to level 5. Report total number of definedEugene Sandulenko
variables. svn-id: r21521
2006-03-28- Renamed class AssocArray to HashMap to match our existing class Map (note alsoMax Horn
that many STL implementations have a class hash_map next to class map, too) - Changed some static File class member vars to be normal static variables, in yet another attempt to reduce header dependencies (in this case on hashmap.h) svn-id: r21473
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-03-25- Revert my last change with moving addDefaultDirectory() from TheneNew.cppEugene Sandulenko
- Removed locking of further directory adds because it did not work for themes. svn-id: r21452
2006-03-25- Move AddDefaultDirectory() calls in somon engine to constructorEugene Sandulenko
- Move AddDefaultDirectory() from NewTheme.cpp to main.cpp svn-id: r21451
2006-03-24Fix crash in Options dialog in 320xY mode. Shadow was drawn off-screenEugene Sandulenko
svn-id: r21438
2006-03-24Removed obsolete test stuff from my credits description :-)Max Horn
svn-id: r21435
2006-03-24Fix chechbox label alignment.Eugene Sandulenko
svn-id: r21433
2006-03-24- moved type aa_ref_t into AssocArray, improving code readability a bitMax Horn
- added new "operator[] const" method, useful when accessing const instances - removed the default value (if you access an entry without first checking that it is actually there, it's your own fault) - replaced 'index' with 'key' which seems more logical and avoids troubles with certain systems that #define index in their system headers svn-id: r21430
2006-03-24Reduce (indirect) dependencies on gui/eval.h (and thus common/assocarray.h) ↵Max Horn
to a minimum svn-id: r21426
2006-03-24o Rearranged options dialogEugene Sandulenko
o Made button corners less round to match mock-ups svn-id: r21423
2006-03-24Check values loaded from theme INI and give meaningful errors instead ofEugene Sandulenko
bad crashes on blitting stage. svn-id: r21422
2006-03-24Bump theme version numberEugene Sandulenko
svn-id: r21421
2006-03-24o Move built-in evaluator constants to AssocArray to speed it upEugene Sandulenko
o Introduced .align text widget property o Moved all text widgets to use it and populated theme config file svn-id: r21420
2006-03-23Implementation of AssociativeArray. Transferred GUI to it. Now it is muchEugene Sandulenko
faster. svn-id: r21419
2006-03-21Fix bug #1455213: "GUI: ExtraPath won't display" and turn theme versionEugene Sandulenko
into #define. svn-id: r21395
2006-03-20Updates the config version for the new theme to 4 in the warning which is ↵Johannes Schickel
printed if the version is too low. svn-id: r21393
2006-03-20Bump theme config version number to avod confusion. A key was added there,Eugene Sandulenko
but I didn't bump it last time. svn-id: r21391
2006-03-18adding self to creditsWillem Jan Palenstijn
svn-id: r21368
2006-03-18theme.cpp -> ThemeClassic.cpp for consistency and less confusionEugene Sandulenko
svn-id: r21363
2006-03-18Remove trailing whitespacesEugene Sandulenko
svn-id: r21362