-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
92 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/*──────────────────────────────────────────────────────┐ | ||
│ Author: Connor │ | ||
│ Steam: https://steamcommunity.com/id/_connor │ | ||
│ Github: https://github.com/ConnorAU │ | ||
│ │ | ||
│ Please do not modify or remove this comment block │ | ||
└──────────────────────────────────────────────────────*/ | ||
|
||
#define DIALOG_W 90 | ||
#define DIALOG_H 100 | ||
|
||
class CAU_UserInputMenus_displayListboxMulti { | ||
idd=-1; | ||
onLoad="uinameSpace setVariable ['CAU_UserInputMenus_displayListbox',_this#0]"; | ||
|
||
class controlsBackground { | ||
class tiles: CAU_UserInputMenus_ctrlStaticBackgroundDisableTiles {}; | ||
class background: CAU_UserInputMenus_ctrlStaticBackground { | ||
idc=IDC_BACKGROUND; | ||
|
||
x=CENTER_XA(DIALOG_W); | ||
y=CENTER_YA(DIALOG_H); | ||
w=PX_WA(DIALOG_W); | ||
h=PX_HA(DIALOG_H); | ||
}; | ||
class title: CAU_UserInputMenus_ctrlStaticTitle { | ||
idc=IDC_TITLE; | ||
|
||
x=CENTER_XA(DIALOG_W); | ||
y=CENTER_YA(DIALOG_H); | ||
w=PX_WA(DIALOG_W); | ||
h=PX_HA(SIZE_M); | ||
}; | ||
class footer: CAU_UserInputMenus_ctrlStaticFooter { | ||
idc=IDC_FOOTER; | ||
|
||
x=CENTER_XA(DIALOG_W); | ||
y=CENTER_YA(DIALOG_H) + PX_HA(DIALOG_H) - PX_HA(SIZE_XXL); | ||
w=PX_WA(DIALOG_W); | ||
h=PX_HA(SIZE_XXL); | ||
}; | ||
}; | ||
class controls { | ||
class list: CAU_UserInputMenus_ctrlListbox { | ||
idc=IDC_INPUT; | ||
size=PX_HA(SIZE_M); | ||
style="0x10 + 0x20"; | ||
|
||
x=CENTER_XA(DIALOG_W) + PX_WA(2); | ||
y=CENTER_YA(DIALOG_H) + PX_HA(SIZE_M) + PX_HA(2); | ||
w=PX_WA(DIALOG_W) - PX_WA(4); | ||
h=PX_HA(DIALOG_H) - PX_HA(SIZE_M) - PX_HA(SIZE_XXL) - PX_HA(4); | ||
}; | ||
class buttonL: CAU_UserInputMenus_ctrlButton { | ||
idc=IDC_BUTTONL; | ||
|
||
x=CENTER_XA(DIALOG_W) + PX_WA(DIALOG_W) - PX_WA(((SIZE_M*6)*2)) - PX_WA(2); | ||
y=CENTER_YA(DIALOG_H) + PX_HA(DIALOG_H) - PX_HA(SIZE_M) - PX_HA(1); | ||
w=PX_WA((SIZE_M*6)); | ||
h=PX_HA(SIZE_M); | ||
}; | ||
class buttonR: buttonL { | ||
idc=IDC_BUTTONR; | ||
|
||
x=CENTER_XA(DIALOG_W) + PX_WA(DIALOG_W) - PX_WA((SIZE_M*6)) - PX_WA(1); | ||
}; | ||
}; | ||
}; |