Age | Commit message (Collapse) | Author |
|
- adds code for caching of fonts (just for Graphics::NewFont)
- implements cache using in the modern theme for custom fonts
- adds cache file for current normal font in the theme zip file
svn-id: r21952
|
|
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
|
|
- 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
|
|
- 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
|
|
svn-id: r21850
|
|
Also this should fix a bug in getColorAlphaImpl (I'm not 100% sure if it was wrong before though)
svn-id: r21818
|
|
- 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
|
|
crashes with --force-1x-overlay)
svn-id: r21794
|
|
- get rid of getColorAlpha in drawSurfaceMasked if no alpha blending is used
svn-id: r21792
|
|
svn-id: r21791
|
|
effect + less memory while gui isn't shown)
svn-id: r21766
|
|
OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently)
svn-id: r21557
|
|
- 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
|
|
- Removed locking of further directory adds because it did not work for themes.
svn-id: r21452
|
|
- Move AddDefaultDirectory() from NewTheme.cpp to main.cpp
svn-id: r21451
|
|
svn-id: r21433
|
|
o Made button corners less round to match mock-ups
svn-id: r21423
|
|
svn-id: r21421
|
|
into #define.
svn-id: r21395
|
|
printed if the version is too low.
svn-id: r21393
|
|
but I didn't bump it last time.
svn-id: r21391
|
|
svn-id: r21269
|
|
Logo is still shown weirdly.
svn-id: r21268
|
|
http://wiki.scummvm.org/index.php/GUI_Themes
Code is not yet used.
svn-id: r21115
|
|
svn-id: r21083
|
|
rect like before)
'cleaned up' the drawSurfaceMasked function a bit.
svn-id: r21082
|
|
and disabled the complete new theme if 'DISABLE_FANCY_THEMES' is defined.
svn-id: r21078
|
|
wide caret. Changed that width to 1.
svn-id: r20842
|
|
svn-id: r20841
|
|
active tab isn't drawn anymore)
svn-id: r20669
|
|
svn-id: r20518
|
|
svn-id: r20416
|
|
svn-id: r20355
|
|
check mark would become brighter, and I think it was because a transparent
mark was drawn over a transparent mark, thus "amplifying" it.)
svn-id: r20344
|
|
hack as tehre is lots of overdraw, abuse of shadow width and code
duplication. Anyway shadow drawing code will go to separate functioMuch improved how shadows look. However it is done with a really dirty
hack as tehre is lots of overdraw, abuse of shadow width and code
duplication. Anyway shadow drawing code will go to separate function.
svn-id: r20343
|
|
(new color entries for highlighted buttons and for other widgets).
Also added a 'highlight' check to the CheckBox widget.
Changed the PopUpDialog to use a shadow around itself.
svn-id: r20341
|
|
svn-id: r20338
|
|
also update the default theme zip file for that.
Also it changes the way the tab buttons get drawn, now they have
only rounded corners at the top.
svn-id: r20336
|
|
still room for improvements, though...
svn-id: r20330
|
|
faded. In those cases, I guess the background should be restored before
drawing. But that can probably be done in the drawSurface / drawRect
functions instead, like this.
svn-id: r20329
|
|
svn-id: r20328
|
|
svn-id: r20311
|
|
svn-id: r20298
|
|
svn-id: r20297
|
|
svn-id: r20295
|
|
svn-id: r20280
|
|
should be black).
svn-id: r20277
|
|
- Changed gradient calculating
- added background saving for all dialog/widget backgrounds for now (change that later maybe)
- changed ScummDialog to use the colors of our launcher dialog
svn-id: r20276
|
|
svn-id: r20253
|
|
svn-id: r20235
|