-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles_ui.aug
2891 lines (2684 loc) · 63.3 KB
/
styles_ui.aug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains definitions of all custom resources and styles used for
displaying visual elements within the user-interface of Hero Lab. Visual elements
utilized for printed output are defined within "styles_output.aug". All sytem
resources replaced for the game system are defined within "system_resources.aug".
-->
<document signature="Hero Lab Structure">
<!--
########## Font Resource Definitions ##########
-->
<!-- ##### Fonts - Labels ##### -->
<!-- font used on normal labels (10pt) -->
<resource
id="fntnormal">
<font
face="Arial"
size="40"
style="bold">
</font>
</resource>
<!-- font used when slightly larger is needed (11pt) -->
<resource
id="fntlarge">
<font
face="Arial"
size="46"
style="bold">
</font>
</resource>
<!-- font used when much larger is needed (15pt) -->
<resource
id="fntxlarge">
<font
face="Arial"
size="60"
style="bold">
</font>
</resource>
<!-- font used when slightly smaller is needed (9pt) -->
<resource
id="fntsmall">
<font
face="Arial"
size="36"
style="bold">
</font>
</resource>
<!-- font used for headers above tables (8pt) -->
<resource
id="fntheader">
<font
face="Arial"
size="32"
style="bold">
</font>
</resource>
<!-- font used on title labels (10pt) -->
<resource
id="fnttitle">
<font
face="Arial"
size="40"
style="bold">
</font>
</resource>
<!-- font used on summary labels (10pt) -->
<resource
id="fntsummary">
<font
face="Arial"
size="40">
</font>
</resource>
<!-- font used on journal summary labels (9pt) -->
<resource
id="fntjrnsumm">
<font
face="Arial"
size="36">
</font>
</resource>
<!-- font used on a small action portal/button (8pt) -->
<resource
id="fntactsml">
<font
face="Arial"
size="32"
style="bold">
</font>
</resource>
<!-- font used on a big action portal/button (9pt) -->
<resource
id="fntactbig">
<font
face="Arial"
size="36"
style="bold">
</font>
</resource>
<!-- font used on title labels placed under edit portals / droplists (8pt) -->
<resource
id="fntcfgttl">
<font
face="Arial"
size="32">
</font>
</resource>
<!-- font used for tiny text (8pt) -->
<resource
id="fnttiny">
<font
face="Arial"
size="32">
</font>
</resource>
<!-- font used on tactical console labels (8pt) -->
<resource
id="fnttacinfo">
<font
face="Arial"
size="32">
</font>
</resource>
<!-- font used for extra secondary info (9pt) -->
<resource
id="fntsecond">
<font
face="Arial"
size="36">
</font>
</resource>
<!-- font used on labels that only show encoded text bitmaps (9pt default)
-NOTE! This is needed because inline bitmaps will be automatically scaled up
or down when displayed at other default font sizes.
-->
<resource
id="fntencoded">
<font
face="Arial"
size="36"
style="bold">
</font>
</resource>
<!-- ##### Fonts - Edit Portals ##### -->
<!-- font used within edit portals -->
<resource
id="fntedit">
<font
face="Arial"
size="36">
</font>
</resource>
<!-- ##### Fonts - Checkboxes ##### -->
<!-- font used within checkboxes -->
<resource
id="fntchecksm">
<font
face="Arial"
size="36"
style="bold">
</font>
</resource>
<!-- font used within checkboxes -->
<resource
id="fntcheck">
<font
face="Arial"
size="40"
style="bold">
</font>
</resource>
<!-- ##### Fonts - Incrementers ##### -->
<!-- font used within simple incrementers -->
<resource
id="fntincrsim">
<font
face="Arial"
size="46"
style="bold">
</font>
</resource>
<!-- font used within big incrementers -->
<resource
id="fntincrbig">
<font
face="Arial"
size="100"
style="bold">
</font>
</resource>
<!-- font used within small incrementers -->
<resource
id="fntincrsml">
<font
face="Arial"
size="44">
</font>
</resource>
<!-- ##### Fonts - Menus and Choosers ##### -->
<!-- font used within menu and chooser portals -->
<resource
id="fntmenu">
<font
face="Arial"
size="36"
style="bold">
</font>
</resource>
<!-- small font used within menu and chooser portals -->
<resource
id="fntmenusm">
<font
face="Arial"
size="30"
style="bold">
</font>
</resource>
<!--
########## Other Resource Definitions ##########
-->
<!-- border used as a thick white outline around an area -->
<resource
id="brdthick"
isbuiltin="yes">
<border>
<topleft bitmap="brd_thick_topleft.bmp"/>
<topright bitmap="brd_thick_topright.bmp"/>
<bottomleft bitmap="brd_thick_bottomleft.bmp"/>
<bottomright bitmap="brd_thick_bottomright.bmp"/>
<left bitmap="brd_thick_left.bmp"/>
<top bitmap="brd_thick_top.bmp"/>
<right bitmap="brd_thick_right.bmp"/>
<bottom bitmap="brd_thick_bottom.bmp"/>
</border>
</resource>
<!-- bitmap for use as the background of label portals designated as a "title"
<resource
id="titleback"
isbuiltin="yes">
<bitmap
bitmap="mainwindow.bmp">
</bitmap>
</resource> -->
<resource
id="titleback"
issystem="no"
isbuiltin="no">
<bitmap
bitmap="panel_title.bmp">
</bitmap>
</resource>
<!--
########## General Color Definitions ##########
-->
<!-- color used to reset a "text" block within encoded text -->
<resource
id="clrreset">
<color
color="010101">
</color>
</resource>
<!-- color used for normal text throughout the ui -->
<resource
id="clrnormal">
<color
color="f0f0f0">
</color>
</resource>
<!-- color used for text on the static panel - not quite as bright -->
<resource
id="clrstatic">
<color
color="d2d2d2">
</color>
</resource>
<!-- color used for text in title labels -->
<resource
id="clrtitle">
<color
color="FFC300">
</color>
</resource>
<!-- color used for names of automatically added picks -->
<resource
id="clrauto">
<color
color="99efed">
</color>
</resource>
<!-- color used for disabled text -->
<resource
id="clrdisable">
<color
color="808080">
</color>
</resource>
<!-- color used for summary text that should be a little dimmer than normal -->
<resource
id="clrsummary">
<color
color="a0a0a0">
</color>
</resource>
<!-- color used for greyed out text for "add" items that are non-applicable -->
<resource
id="clrgrey">
<color
color="a0a0a0">
</color>
</resource>
<!-- color used for softly glowing text -->
<resource
id="clrglow">
<color
color="ffff80">
</color>
</resource>
<!-- color used for bright text -->
<resource
id="clrbright">
<color
color="ffff88">
</color>
</resource>
<!-- color used for warning text -->
<resource
id="clrwarning">
<color
color="ff0000">
</color>
</resource>
<!-- color used for prompt text inviting the user to change something -->
<resource
id="clrprompt">
<color
color="ffff00">
</color>
</resource>
<!-- color used for blocks of text on the tactical console -->
<resource
id="clrtacinfo">
<color
color="c0c0c0">
</color>
</resource>
<!-- color used to identify enemy actors on the tactical console -->
<resource
id="clrenemy">
<color
color="ff8080">
</color>
</resource>
<!-- color used to identify active actors on the tactical console -->
<resource
id="clractive">
<color
color="ffff80">
</color>
</resource>
<!-- color used for secondary text within mouse-info text -->
<resource
id="clrsecond">
<color
color="555555">
</color>
</resource>
<!-- color used for the 'buy for free' checkbox on buy / sell panels -->
<resource
id="clrchkfree">
<color
color="a8a800">
</color>
</resource>
<!-- color used for text on summary panels - a little dimmer than normal -->
<resource
id="clrsummtxt">
<color
color="d0d0d0">
</color>
</resource>
<!-- color used for labels when choosing advancements -->
<resource
id="clradvance">
<color
color="ffffff">
</color>
</resource>
<!-- color used for text on action buttons -->
<resource
id="clraction">
<color
color="000088">
</color>
</resource>
<!-- colors used in edit controls -->
<resource
id="clredittxt">
<color
color="d2d2d2">
</color>
</resource>
<resource
id="clreditbck">
<color
color="000000">
</color>
</resource>
<!-- colors used in menu and chooser controls -->
<resource
id="clrmenutxt">
<color
color="84c8f7">
</color>
</resource>
<resource
id="clrmenuslt">
<color
color="1414f7">
</color>
</resource>
<resource
id="clrmenubck">
<color
color="2a2c47">
</color>
</resource>
<!--
########## Style Definitions ##########
-->
<!-- ##### Styles - System Defaults ##### -->
<!-- label style used in table "add" items (via the "additem" script) -->
<style
id="additem">
<style_label
textcolorid="clrnormal"
font="fntnormal"
alignment="center">
</style_label>
</style>
<!-- label style used in table "header" items (via the "headertitle" script) -->
<style
id="headerui"
border="raised">
<style_label
textcolorid="clrtitle"
font="fnttitle"
background="titleback"
alignment="center">
</style_label>
</style>
<!-- label style used in table "header" items (via the "headertitle" script)
displayed within summary panels -->
<style
id="headersumm">
<style_label
textcolorid="clrsummary"
font="fntheader"
alignment="center">
</style_label>
</style>
<!-- ##### Styles - Labels ##### -->
<!-- style used for "title" labels, usually shown at the top of every tab and
above other key sections
-->
<style
id="lblTitle"
border="raised">
<style_label
textcolorid="clrtitle"
font="fnttitle"
background="titleback"
alignment="center">
</style_label>
</style>
<!-- labels used on the static tab - not quite as bright -->
<style
id="lblStatic">
<style_label
textcolorid="clrstatic"
font="fnttitle"
alignment="center">
</style_label>
</style>
<!-- generic 'normal' label used all over the place - center-aligned -->
<style
id="lblNormal">
<style_label
textcolorid="clrnormal"
font="fntnormal"
alignment="center">
</style_label>
</style>
<!-- generic left-aligned 'normal' label -->
<style
id="lblLeft">
<style_label
textcolorid="clrnormal"
font="fntnormal"
alignment="left">
</style_label>
</style>
<!-- generic left-aligned 'bordered' label -->
<style
id="lblBrdLeft"
border="brdsystem">
<style_label
textcolorid="clrnormal"
font="fntnormal"
alignment="left">
</style_label>
</style>
<!-- generic center-aligned 'bordered' label -->
<style
id="lblBrdCent"
border="brdsystem">
<style_label
textcolorid="clrnormal"
font="fntnormal"
alignment="center">
</style_label>
</style>
<!-- generic right-aligned 'normal' label -->
<style
id="lblRight">
<style_label
textcolorid="clrnormal"
font="fntnormal"
alignment="right">
</style_label>
</style>
<!-- generic 'automatically added' label
-identifies auto-added picks in tables via a color shift
-->
<style
id="lblAuto">
<style_label
textcolorid="clrauto"
font="fntnormal"
alignment="center">
</style_label>
</style>
<!-- generic 'disabled' label
-for showing choices that don't meet pre-reqs or are disabled in grey
-->
<style
id="lblDisable">
<style_label
textcolorid="clrdisable"
font="fntnormal"
alignment="center">
</style_label>
</style>
<!-- left-aligned 'disabled' label
-for showing choices that don't meet pre-reqs or are disabled in grey
-->
<style
id="lblDisableLeft">
<style_label
textcolorid="clrdisable"
font="fntnormal"
alignment="left">
</style_label>
</style>
<!-- generic 'bright' label
-for highlighting material to stand out
-->
<style
id="lblBright">
<style_label
textcolorid="clrbright"
font="fntnormal"
alignment="center">
</style_label>
</style>
<!-- generic 'bright' label
-for highlighting material to stand out
-->
<style
id="lblBrightLeft">
<style_label
textcolorid="clrbright"
font="fntnormal"
alignment="left">
</style_label>
</style>
<!-- generic 'warning' label
-for identifying invalid selections and erroneous choices
-->
<style
id="lblWarning">
<style_label
textcolorid="clrwarning"
font="fntnormal"
alignment="center">
</style_label>
</style>
<!-- generic 'prompt' label
-identifies choices that are valid but require user attention, such as wehn
the user must make a selection and has not done so yet
-->
<style
id="lblPrompt">
<style_label
textcolorid="clrprompt"
font="fntnormal"
alignment="center">
</style_label>
</style>
<!-- slightly larger label in same color as the "normal" label -->
<style
id="lblLarge">
<style_label
textcolorid="clrnormal"
font="fntlarge"
alignment="center">
</style_label>
</style>
<!-- slightly larger label in disabled color -->
<style
id="lblLrgDis">
<style_label
textcolorid="clrdisable"
font="fntlarge"
alignment="center">
</style_label>
</style>
<!-- slightly larger label in brighter "prompt" color -->
<style
id="lblLrgProm">
<style_label
textcolorid="clrprompt"
font="fntlarge"
alignment="center">
</style_label>
</style>
<!-- slightly larger label in warning color -->
<style
id="lblLrgWarn">
<style_label
textcolorid="clrwarning"
font="fntlarge"
alignment="center">
</style_label>
</style>
<!-- much larger label in same color as the "normal" label -->
<style
id="lblXLarge">
<style_label
textcolorid="clrnormal"
font="fntxlarge"
alignment="center">
</style_label>
</style>
<!-- much larger label in disabled color -->
<style
id="lblXLrgDis">
<style_label
textcolorid="clrdisable"
font="fntxlarge"
alignment="center">
</style_label>
</style>
<!-- much larger label in warning color -->
<style
id="lblXLrgWrn">
<style_label
textcolorid="clrwarning"
font="fntxlarge"
alignment="center">
</style_label>
</style>
<!-- slightly smaller label in same color as "normal" label -->
<style
id="lblSmall">
<style_label
textcolorid="clrnormal"
font="fntsmall"
alignment="center">
</style_label>
</style>
<!-- slightly smaller label that is left-aligned -->
<style
id="lblSmlLeft">
<style_label
textcolorid="clrnormal"
font="fntsmall"
alignment="left">
</style_label>
</style>
<!-- label style for secondary info such as on the Special tab -->
<style
id="lblSecond">
<style_label
textcolorid="clrdisable"
font="fntsecond"
alignment="left">
</style_label>
</style>
<!-- label style for header text above tables -->
<style
id="lblHeader">
<style_label
textcolorid="clrsummary"
font="fntheader"
alignment="center">
</style_label>
</style>
<!-- label style for tiny info on TacCon/Dashboard -->
<style
id="lblTinyTac">
<style_label
textcolorid="clrnormal"
font="fnttiny"
alignment="center">
</style_label>
</style>
<!-- generic 'tactical console info' label -->
<style
id="lblTacInfo">
<style_label
textcolorid="clrnormal"
font="fnttacinfo"
alignment="left">
</style_label>
</style>
<!-- generic 'summary' label for text on summary panels -->
<style
id="lblSummary">
<style_label
textcolorid="clrsummtxt"
font="fntsummary"
alignment="center">
</style_label>
</style>
<!-- disabled version of the 'summary' label -->
<style
id="lblSummDis">
<style_label
textcolorid="clrdisable"
font="fntsummary"
alignment="center">
</style_label>
</style>
<!-- left-aligned version of the 'summary' label -->
<style
id="lblSummLf">
<style_label
textcolorid="clrsummtxt"
font="fntsummary"
alignment="left">
</style_label>
</style>
<!-- style for title labels placed under edit portals or droplists -->
<style
id="lblSmTitle">
<style_label
textcolorid="clrsummary"
font="fntcfgttl"
alignment="center">
</style_label>
</style>
<!-- style for the journal summary label -->
<style
id="lblJrnSumm"
border="sunken">
<style_label
textcolorid="clrsummary"
font="fntjrnsumm"
alignment="center">
</style_label>
</style>
<!-- style for labels used with static, non-chooser advances -->
<style
id="lblAdvance"
border="sunken">
<style_label
textcolorid="clradvance"
font="fnttitle"
background="titleback"
alignment="center">
</style_label>
</style>
<!-- style for smaller labels used with static, non-chooser advances -->
<style
id="lblAdvSml"
border="sunken">
<style_label
textcolorid="clradvance"
font="fntsmall"
background="titleback"
alignment="center">
</style_label>
</style>
<!-- style for labels that only show encoded text bitmaps
-NOTE! This is needed because inline bitmaps will be automatically scaled up
or down when displayed at other default font sizes.
-->
<style
id="lblEncoded">
<style_label
textcolorid="clrnormal"
font="fntencoded"
alignment="center">
</style_label>
</style>
<!-- ##### Styles - Edit Portals ##### -->
<!-- basic text edit portals -->
<style
id="editNormal"
border="sunken">
<style_edit
textcolorid="clredittxt"
backcolorid="clreditbck"
font="fntedit">
</style_edit>
</style>
<!-- edit portals that have the text centered within the portal -->
<style
id="editCenter"
border="sunken">
<style_edit
textcolorid="clredittxt"
backcolorid="clreditbck"
font="fntedit"
alignment="center">
</style_edit>
</style>
<!-- edit portals that manage dates -->
<style
id="editDate">
<style_edit
textcolorid="clredittxt"
backcolorid="clreditbck"
font="fntedit"
alignment="center"
itemborder="sunken"
septext="/"
sepcolorid="clrdisable">
</style_edit>
</style>
<!-- ##### Styles - Incrementers ##### -->
<!-- style used on 'simple incrementers', using the builtin system incrementer look -->
<style
id="incrSimple">
<style_incrementer
textcolorid="clrnormal"
font="fntincrsim"
textleft="13" texttop="0" textwidth="24" textheight="20"
fullwidth="50" fullheight="20"
plusup="incplusup" plusdown="incplusdn" plusoff="incplusof"
plusx="39" plusy="0"
minusup="incminusup" minusdown="incminusdn" minusoff="incminusof"
minusx="0" minusy="0">
</style_incrementer>
</style>
<!-- style used on 'narrow incrementers'
-identical to the "simple" incrementer, except a bit narrower in width
-->
<style
id="incrNarrow">
<style_incrementer
textcolorid="clrnormal"
font="fntincrsml"
textleft="13" texttop="0" textwidth="9" textheight="20"
fullwidth="35" fullheight="20"
plusup="incplusup" plusdown="incplusdn" plusoff="incplusof"
plusx="24" plusy="0"
minusup="incminusup" minusdown="incminusdn" minusoff="incminusof"
minusx="0" minusy="0">
</style_incrementer>
</style>
<!-- style used on 'big incrementers', with a text area and up/down buttons stacked
on the right
-->
<style
id="incrBig">
<style_incrementer
textcolorid="clrnormal"
font="fntincrbig"
textleft="3" texttop="0" textwidth="72" textheight="40"
fullwidth="100" fullheight="40"