marrub
/
Lithia
Archived
1
0
Fork 0
This repository has been archived on 2023-06-17. You can view files and clone it, but cannot push or open issues/pull-requests.
Lithia/source/Main/g_preset.c

274 lines
6.1 KiB
C

// Copyright © 2016-2018 Graham Sanderson, all rights reserved.
#include "lith_common.h"
#include "lith_player.h"
struct gui_presets const guipre = {
.btndef = {
.gfx = "Button",
.hot = "ButtonHot",
.snd = "player/cbi/buttonpress",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "m",
.font = "cbifont",
.w = 48,
.h = 16,
.ax = 4, .ay = 0
},
.btntab = {
.gfx = "Tab",
.hot = "TabHot",
.snd = "player/cbi/tabswitch",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "i",
.font = "cbifont",
.w = 46,
.h = 11,
.ax = 4, .ay = 0
},
.btnexit = {
.gfx = "ExitButton",
.hot = "ExitButtonHot",
.w = 11,
.h = 11,
.ax = 4, .ay = 0
},
.btnnext = {
.gfx = "BtnNext",
.hot = "BtnNextHot",
.snd = "player/cbi/right",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "i",
.font = "cbifont",
.w = 8,
.h = 11,
.ax = 4, .ay = 0
},
.btnprev = {
.gfx = "BtnPrev",
.hot = "BtnPrevHot",
.snd = "player/cbi/left",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "i",
.font = "cbifont",
.w = 8,
.h = 11,
.ax = 4, .ay = 0
},
.btnnexts = {
.gfx = "BtnNextSmall",
.hot = "BtnNextSmallHot",
.snd = "player/cbi/buttoncurs",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "i",
.font = "cbifont",
.w = 6,
.h = 9,
.ax = 4, .ay = 0
},
.btnprevs = {
.gfx = "BtnPrevSmall",
.hot = "BtnPrevSmallHot",
.snd = "player/cbi/buttoncurs",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "i",
.font = "cbifont",
.w = 6,
.h = 9,
.ax = 4, .ay = 0
},
.btnlist = {
.gfx = "ListButton",
.hot = "ListButtonHot",
.snd = "player/cbi/clicklst",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "u",
.font = "cbifont",
.w = 80,
.h = 9,
.ax = 4, .ay = 0
},
.btnlistsel = {
.gfx = "ListButton",
.hot = "ListButtonHot",
.snd = "player/cbi/clicklst",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "i",
.font = "cbifont",
.w = 80,
.h = 9,
.ax = 4, .ay = 0
},
.btnlistactive = {
.gfx = "ListButtonActive",
.hot = "ListButtonActiveHot",
.snd = "player/cbi/clicklst",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "i",
.font = "cbifont",
.w = 80,
.h = 9,
.ax = 4, .ay = 0
},
.btnlistactivated = {
.gfx = "ListButtonActivated",
.hot = "ListButtonActiveHot",
.snd = "player/cbi/clicklst",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "i",
.font = "cbifont",
.w = 80,
.h = 9,
.ax = 4, .ay = 0
},
.btnbipmain = {
.snd = "player/cbi/buttonpress",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "-",
.font = "cbifont",
.w = 180,
.h = 9,
.ax = 1, .ay = 0
},
.btnbipback = {
.snd = "player/cbi/buttonpress",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "n",
.font = "cbifont",
.w = 48,
.h = 9,
.ax = 4, .ay = 0
},
.btndlgsel = {
.gfx = ":Dialogue:SelectBack",
.hot = ":Dialogue:SelectBackHot",
.snd = "player/cbi/dlgclick",
.cdef = "j",
.cact = "g",
.chot = "d",
.cdis = "i",
.font = "cbifont",
.external = true,
.w = 240,
.h = 14,
.ax = 4, .ay = 0
},
.btnclear = {
.snd = "player/cbi/buttonpress",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "n",
.font = "cbifont",
.w = 20,
.h = 8,
.ax = 1, .ay = 1
},
.btnnote = {
.snd = "player/cbi/buttoncurs",
.cdef = "j",
.cact = "g",
.chot = "k",
.cdis = "-",
.font = "cbifont",
.w = 200,
.h = 30,
.ax = 1, .ay = 1
},
.cbxdef = {
.gfx = "Checkbox",
.hot = "CheckboxHot",
.dis = "CheckboxDisabled",
.sndup = "player/cbi/clickon",
.snddn = "player/cbi/clickoff",
.chkgfx = "CheckboxX",
.chkhot = "CheckboxXHot",
.chkact = "CheckboxXActive",
.chkdis = "CheckboxXDisabled",
.w = 10,
.h = 10
},
.cbxsmall = {
.gfx = "CheckboxSmall",
.hot = "CheckboxSmallHot",
.dis = "CheckboxSmallDisabled",
.sndup = "player/cbi/clickon",
.snddn = "player/cbi/clickoff",
.chkgfx = "CheckboxX",
.chkhot = "CheckboxXHot",
.chkact = "CheckboxXActive",
.chkdis = "CheckboxXDisabled",
.w = 10,
.h = 10
},
.scrdef = {
.capS = "ListCapTop",
.capE = "ListCapBottom",
.scrl = "ListScrollbar",
.notchgfx = "ListScrollNotch",
.notchhot = "ListScrollNotchHot",
.scrlw = 8,
.scrlh = 8
},
.slddef = {
.gfx = "Slider",
.snd = "player/cbi/slidertick",
.notch = "SliderNotch",
.notchhot = "SliderNotchHot",
.font = "cbifont",
.pad = 2,
.w = 80,
.h = 7
},
};
struct gui_presets const *Lith_GUIPreExtern(void)
{
return &guipre;
}
// EOF