1
0
mirror of https://github.com/deadw00d/AROS.git synced 2025-11-19 08:11:43 +00:00

return the themes screen title-bar font and colour preferences.

This commit is contained in:
Kalamatee
2025-08-30 10:28:47 +01:00
committed by deadwood
parent 636c20af26
commit 467bfcbbde

View File

@ -863,7 +863,19 @@ IPTR ScreenClass__OM_GET(Class *cl, Object *o, struct opGet *msg)
*msg->opg_Storage = screen->Pens[BARDETAILPEN];
break;
case SA_ScreenbarTextColor:
*msg->opg_Storage = 0xFFFFFFFF;
if (screen->ScrDecorObj) {
GetAttr(SA_ScreenbarTextColor, screen->ScrDecorObj, msg->opg_Storage);
break;
}
break;
case SA_ScreenbarTextFont:
if (screen->ScrDecorObj) {
*msg->opg_Storage = (IPTR)screen->DInfo.dri_Font;
break;
}
*msg->opg_Storage = (IPTR)screen->Screen.BarLayer->rp->Font;
break;