Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // by jones
- #include "ui/menudef.h"
- #define DEFAULTS_ITEM decoration visible 1
- #define DEFAULTS_MENU visible 1
- // ----- //
- // XHAIR //
- // ----- //
- menuDef {
- DEFAULTS_MENU
- name "xhair"
- rect 319 238 640 480
- // border3
- itemDef {
- DEFAULTS_ITEM
- rect 0 -0.5 2.25 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 0.1
- }
- itemDef {
- DEFAULTS_ITEM
- rect -0.5 0 3 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 0.1
- }
- itemDef {
- DEFAULTS_ITEM
- rect -1 0.5 4 3
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 0.1
- }
- itemDef {
- DEFAULTS_ITEM
- rect -0.5 3.5 3 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 0.1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0 4 2.25 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 0.1
- }
- // border2
- itemDef {
- DEFAULTS_ITEM
- rect 0 0 2.25 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 0.3
- }
- itemDef {
- DEFAULTS_ITEM
- rect -0.5 0.5 3 3
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 0.3
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0 3.5 2.25 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 0.3
- }
- // border1
- itemDef {
- DEFAULTS_ITEM
- rect 0.25 0 1.5 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0 0.5 2 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect -0.5 1 3 2
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0 3 2 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0.25 3.5 1.5 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 0 0 0 1
- }
- // inner
- itemDef {
- DEFAULTS_ITEM
- rect 0.25 0.5 1.5 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 1 1 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0 1 2 2
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 1 1 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0.25 3 1.5 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {0}
- backcolor 1 1 0 1
- }
- }
- // ---------- //
- // ZOOM XHAIR //
- // ---------- //
- menuDef {
- DEFAULTS_MENU
- name "xhair2"
- rect 319 238 640 480
- // border3
- itemDef {
- DEFAULTS_ITEM
- rect 0.25 0 1.5 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 0.1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0 0.5 2 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 0.1
- }
- itemDef {
- DEFAULTS_ITEM
- rect -0.5 1 3 2
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 0.1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0 3 2 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 0.1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0.25 3.5 1.5 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 0.1
- }
- // border2
- itemDef {
- DEFAULTS_ITEM
- rect 0.25 0.5 1.5 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 0.3
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0 1 2 2
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 0.3
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0.25 3 1.5 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 0.3
- }
- // border1
- itemDef {
- DEFAULTS_ITEM
- rect 0.5 0.5 1 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0.25 1 1.5 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0 1.5 2 1
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0.25 2.5 1.5 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0.5 3 1 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 0 0 0 1
- }
- // inner
- itemDef {
- DEFAULTS_ITEM
- rect 0.5 1 1 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 1 1 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0.25 1.5 1.5 1
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 1 1 0 1
- }
- itemDef {
- DEFAULTS_ITEM
- rect 0.5 2.5 1 0.5
- style WINDOW_STYLE_FILLED
- cvarTest "fv_zoom"
- showCvar {1}
- backcolor 1 1 0 1
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement