ATTRIB(VoretWeaponsDialog, title, string, "Weapon & Crosshair settings")\r
ATTRIB(VoretWeaponsDialog, color, vector, SKINCOLOR_DIALOG_WEAPONS)\r
ATTRIB(VoretWeaponsDialog, intendedWidth, float, 0.5)\r
- ATTRIB(VoretWeaponsDialog, rows, float, 18)\r
+ ATTRIB(VoretWeaponsDialog, rows, float, 19)\r
ATTRIB(VoretWeaponsDialog, columns, float, 4)\r
ATTRIB(VoretWeaponsDialog, weaponsList, entity, NULL)\r
ENDCLASS(VoretWeaponsDialog)\r
me.TDempty(me, 0.3);\r
me.TD(me, 1, 1.25, e = makeVoretTextLabel(0, "Crosshair Red:"));\r
me.TD(me, 1, 2.5, e = makeVoretSlider(0, 1, 0.01, "crosshair_color_red"));\r
+ setDependent(e, "crosshair_color_by_health", 0, 0);\r
me.TR(me);\r
me.TDempty(me, 0.3);\r
me.TD(me, 1, 1.25, e = makeVoretTextLabel(0, "Crosshair Green:"));\r
me.TD(me, 1, 2.5, e = makeVoretSlider(0, 1, 0.01, "crosshair_color_green"));\r
+ setDependent(e, "crosshair_color_by_health", 0, 0);\r
me.TR(me);\r
me.TDempty(me, 0.3);\r
me.TD(me, 1, 1.25, e = makeVoretTextLabel(0, "Crosshair Blue:"));\r
me.TD(me, 1, 2.5, e = makeVoretSlider(0, 1, 0.01, "crosshair_color_blue"));\r
+ setDependent(e, "crosshair_color_by_health", 0, 0);\r
+ me.TR(me);\r
+ me.TDempty(me, 0.3);\r
+ me.TD(me, 1, 2, e = makeVoretCheckBox(0, "crosshair_color_by_health", "Colorize by health"));\r
me.TR(me);\r
me.TR(me);\r
me.TDempty(me, 0.3);\r