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:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user