File tree Expand file tree Collapse file tree 4 files changed +47
-0
lines changed
Tools/build/product/bbxensem/Template Expand file tree Collapse file tree 4 files changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -1029,22 +1029,26 @@ UICombo struct
1029
1029
UIC_launcher nptr.TCHAR
1030
1030
UIC_font FontID
1031
1031
UIC_hasTaskbar word
1032
+ UIC_disBGRender word
1032
1033
UICombo ends
1033
1034
1034
1035
uicombos UICombo <
1035
1036
offset MotifStr ,
1036
1037
offset GeoManagerStr ,
1037
1038
offset BerkeleyStr ,
1039
+ FALSE ,
1038
1040
FALSE
1039
1041
> , <
1040
1042
offset ISUIStr ,
1041
1043
offset ISDeskStr ,
1042
1044
offset EsquireStr ,
1045
+ TRUE ,
1043
1046
TRUE
1044
1047
> , <
1045
1048
offset MotifStr ,
1046
1049
offset ISDeskStr ,
1047
1050
offset BerkeleyStr ,
1051
+ TRUE ,
1048
1052
TRUE
1049
1053
>
1050
1054
@@ -1054,6 +1058,7 @@ fontIDKey char "fontid", 0
1054
1058
systemC at char "system" , 0
1055
1059
editableTextFontIDKey char "editableTextFontID" , 0
1056
1060
taskBarEnabledKey char "taskBarEnabled" , 0
1061
+ backgroundDisabledOnField char "backgroundDisabledOnField" , 0
1057
1062
1058
1063
if ERROR_CHECK
1059
1064
LocalDefNLString MotifStr < "motifec.geo" , 0 >
@@ -1133,6 +1138,16 @@ SetUIOptions proc near
1133
1138
call InitFileWriteBoolean
1134
1139
pop di , ax
1135
1140
1141
+ ;
1142
+ ; handle [ui] backgroundDisabledOnField = key
1143
+ ;
1144
+ push di
1145
+ mov si , offset uiCategory
1146
+ mov dx , offset backgroundDisabledOnField
1147
+ mov ax , cs :uicombos [ di ] .UIC_disBGRender
1148
+ call InitFileWriteBoolean
1149
+ pop di
1150
+
1136
1151
;
1137
1152
; restore ds for the correct object at ds:si
1138
1153
;
Original file line number Diff line number Diff line change @@ -1344,6 +1344,10 @@ REVISION HISTORY:
1344
1344
1345
1345
------------------------------------------------------------------------------ @
1346
1346
1347
+
1348
+ backgroundCategoryString char "ui" , C_NULL
1349
+ backgroundDisabledOnField char "backgroundDisabledOnField" , C_NULL
1350
+
1347
1351
OLFieldOpenWin method dynamic OLFieldClass , MSG_VIS_OPEN_WIN
1348
1352
EC< call VisCheckVisAssumption ; Make sure vis data exists >
1349
1353
@@ -1423,6 +1427,22 @@ OFOW_noBG:
1423
1427
OFOW_gotColor:
1424
1428
endif
1425
1429
endif
1430
+ ; if rendering is disabled for the field
1431
+ mov di , ax
1432
+ push ds , si
1433
+ mov cx , cs
1434
+ mov ds , cx
1435
+ mov si , offset backgroundCategoryString
1436
+ mov dx , offset backgroundDisabledOnField
1437
+ call InitFileReadBoolean
1438
+ pop ds , si
1439
+ jc useDefault ; not found
1440
+ cmp ax , 0xFFFF
1441
+ mov ax , di
1442
+ jne useDefault
1443
+ or ah , mask WCF_PLAIN
1444
+
1445
+ useDefault:
1426
1446
mov bp , si ; set up chunk of this object in bp
1427
1447
; pass handle of video driver
1428
1448
mov di , ds : [ LMBH_handle ] ; pass obj descriptor of this object
Original file line number Diff line number Diff line change @@ -2156,6 +2156,17 @@ color to be used.
2156
2156
backgroundcolor = 0
2157
2157
backgroundcolor = 12
2158
2158
2159
+ #### backgroundDisabledOnField
2160
+
2161
+ ` backgroundDisabledOnField = <Boolean> `
2162
+
2163
+ If true, this key tells GEOS no to render the configured background image
2164
+ on the field. This is useful if ISDesk is used as launcher which is fullscreen
2165
+ and renders the background image itself.
2166
+
2167
+ backgroundDisabledOnField = true
2168
+ backgroundDisabledOnField = false
2169
+
2159
2170
#### deleteStateFilesAfterCrash
2160
2171
2161
2172
` deleteStateFilesAfterCrash = <Boolean> `
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ AMENGLISH(NTDEMO(background = Meadows))
71
71
GERMAN(NTDEMO(background = Sandstein \[800x600\]))
72
72
backgroundattr = center
73
73
scheme = Meadows
74
+ backgroundDisabledOnField = true
74
75
75
76
[motif options]
76
77
taskBarEnabled = true
You can’t perform that action at this time.
0 commit comments