GUI: Testing grid view with constraints

This commit is contained in:
av-dx 2021-05-24 21:12:24 +05:30 committed by Eugene Sandulenko
parent 549b9cf10d
commit 999c5d2bc6
17 changed files with 232 additions and 12 deletions

View file

@ -121,6 +121,7 @@ static const DrawDataInfo kDrawDataDefaults[] = {
{kDDDefaultBackground, "default_bg", kDrawLayerBackground, kDDNone},
{kDDTextSelectionBackground, "text_selection", kDrawLayerForeground, kDDNone},
{kDDTextSelectionFocusBackground, "text_selection_focus", kDrawLayerForeground, kDDNone},
{kDDThumbnailBackground, "thumb_bg", kDrawLayerBackground, kDDNone},
{kDDWidgetBackgroundDefault, "widget_default", kDrawLayerBackground, kDDNone},
{kDDWidgetBackgroundSmall, "widget_small", kDrawLayerBackground, kDDNone},
@ -1271,6 +1272,10 @@ void ThemeEngine::drawWidgetBackground(const Common::Rect &r, WidgetBackground b
drawDD(kDDWidgetBackgroundSlider, r);
break;
case kThumbnailBackground:
drawDD(kDDThumbnailBackground, r);
break;
default:
drawDD(kDDWidgetBackgroundDefault, r);
break;