Skip to content

Commit

Permalink
Reduce font size for Guide button in Addons menu
Browse files Browse the repository at this point in the history
  • Loading branch information
IonAgorria committed Sep 25, 2023
1 parent 0326a1e commit 1d41eb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Game/Scripts/InterfaceScriptExport.cppi
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ static sqshControl _controls_46[] = { { SQSH_SCALE_BUTTON_TYPE
, 0 }, { "", 0.f, 0.f, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, { "", 0.f, 0.f
, 1024.f, 1024.f, 0.f, 0.f, 0.f, 0.f, 1, 0 }, "mainmenu_button", "", "", -1, -1, 0
, 0, 0, 0, { "group skip", "skip" }, "GUIDE", 134.f, 0.01171875f, SHELL_ALIGN_CENTER
, SHELL_ALIGN_LEFT, 2, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { ""
, SHELL_ALIGN_LEFT, 3, 255, 0, 0, 255, 255, 0, 0, 255, 900.f, 0, 255, 0, 64, 6, { { ""
, EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, ""
}, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED, 0, "" }, { "", EVENT_PRESSED
, 0, "" } }, 0, 0, 1, HITTEST_DEFAULT, 0 }, { SQSH_SCALE_BUTTON_TYPE, SQSH_MM_RAMKA
Expand Down
2 changes: 1 addition & 1 deletion Source/Scripts/InterfaceScriptExport.prm
Original file line number Diff line number Diff line change
Expand Up @@ -5407,7 +5407,7 @@ sqshControlContainer _sqsh_controls[int _sqsh_control_count] = {
{type = SQSH_PUSH_BUTTON_TYPE; id = SQSH_MM_ADDONS_ENABLE_BTN; x=350/1024; y=564/768; sx=181/1024; sy=44/768; text="MOD ENABLE STATE"; font_group=2; txt_dy = 7/768; state = SQSH_ENABLED; sound = "mainmenu_button"; target = SQSH_MM_ADDONS_ENABLE_COMBO;image={texture="resource\\icons\\MainMenu\\tv.avi";dx=339/1024;dy=157/768;dsx=128/1024;dsy=128/768;hasResolutionVersion=0;};},

//Modding link
{type = SQSH_PUSH_BUTTON_TYPE; id = SQSH_MM_ADDONS_GUIDE_BTN; x=middleSeparateBottomBtn.x; y=middleSeparateBottomBtn.y; sx=middleSeparateBottomBtn.sx; sy=middleSeparateBottomBtn.sy; text="GUIDE"; font_group=2; txt_dx=134; txt_dy = 9/768; state = SQSH_ENABLED; sound = "mainmenu_button"; bgObject = {name = "group skip"; chainName = "skip";};image={texture="resource\\icons\\MainMenu\\tv.avi";dx=339/1024;dy=157/768;dsx=128/1024;dsy=128/768;hasResolutionVersion=0;}; },
{type = SQSH_PUSH_BUTTON_TYPE; id = SQSH_MM_ADDONS_GUIDE_BTN; x=middleSeparateBottomBtn.x; y=middleSeparateBottomBtn.y; sx=middleSeparateBottomBtn.sx; sy=middleSeparateBottomBtn.sy; text="GUIDE"; font_group=3; txt_dx=134; txt_dy = 9/768; state = SQSH_ENABLED; sound = "mainmenu_button"; bgObject = {name = "group skip"; chainName = "skip";};image={texture="resource\\icons\\MainMenu\\tv.avi";dx=339/1024;dy=157/768;dsx=128/1024;dsy=128/768;hasResolutionVersion=0;}; },

//Apply and Back buttons in corners
sqshControl_ScaleButton { x=rightBottomBtn.x; y=rightBottomBtn.y; sx=rightBottomBtn.sx; sy=rightBottomBtn.sy; ystart=51/768; },
Expand Down

0 comments on commit 1d41eb6

Please sign in to comment.