Skip to content

Commit

Permalink
Interaction - Cleanup unused RscACE_SelectAnItem
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Oct 14, 2024
1 parent d13c38c commit ebeeef8
Showing 1 changed file with 0 additions and 86 deletions.
86 changes: 0 additions & 86 deletions addons/interaction/RscTitles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,92 +43,6 @@ class RscText;
class RscPicture;
class RscControlsGroupNoScrollbars;

#define X_OFFSET 0.2

class RscACE_SelectAnItem {
idd = 8854;
movingEnable = 0;

class controls {
class back: IGUIBack {
x = X_OFFSET;
y = 0;
w = 0.6;
h = 0.71;
colorBackground[] = {0, 0, 0, 0.2};
};
class header: RscText {
idc = 8870;
x = QUOTE(X_OFFSET + 0.005);
y = 0.005;
w = 0.59;
h = 0.05;
style = 0x02;
text = "";
};
class itemList: RscListBox {
onMouseButtonDblClick = QUOTE(_this call DFUNC(onSelectMenuDblClick));
idc = 8866;
x = QUOTE(X_OFFSET + 0.005);
w = 0.59;
h = 0.54;
y = 0.06;
};

class cancelBtnBackground: ACE_Interaction_Button_Base {
type = 0;
style = 2;
idc = -1;
colorBackground[] = {0,0,0,0.5};
colorBackgroundDisabled[] = {0,0,0,0.5};
x = QUOTE(X_OFFSET + 0.005);
w = 0.15;
h = 0.1;
y = 0.605;
};
class approveBtnBackground: ACE_Interaction_Button_Base {
type = 0;
style = 2;
idc = -1;
colorBackground[] = {0,0,0,0.5};
colorBackgroundDisabled[] = {0,0,0,0.5};
x = QUOTE(X_OFFSET + 0.445);
y = 0.605;
h = 0.1;
w = 0.15;
};

class cancelBtn: ACE_Interaction_Button_Base {
idc = 8855;
x = QUOTE(X_OFFSET + 0.005);
w = 0.15;
h = 0.1;
y = 0.605;
style = 2;
text = CSTRING(Back);
action = QUOTE(call DFUNC(hideMenu)); //'Default' call DFUNC(openMenu); 'Default' call DFUNC(openMenuSelf);
colorBackground[] = {0,0,0,0};
colorBackgroundDisabled[] = {0,0,0,0};
colorBackgroundActive[] = {1,1,1,0.2};
colorFocused[] = {0,0,0,0};
};
class approveBtn: ACE_Interaction_Button_Base {
idc = 8860;
x = QUOTE(X_OFFSET + 0.445);
y = 0.605;
h = 0.1;
w = 0.15;
style = 2;
text = CSTRING(MakeSelection);
action = QUOTE(call DFUNC(hideMenu));
colorBackground[] = {0,0,0,0};
colorBackgroundDisabled[] = {0,0,0,0};
colorBackgroundActive[] = {1,1,1,0.2};
colorFocused[] = {0,0,0,0};
};
};
};

class RscTitles {
class GVAR(RscMouseHint) {
idd = IDD_MOUSEHINT;
Expand Down

0 comments on commit ebeeef8

Please sign in to comment.