Author Topic: Station Cash UI Button  (Read 1968 times)

Furro

  • Global Moderator
  • Pies Anonymous
  • *****
  • Posts: 6084
  • Karma: +18/-12
  • freelance raider
    • View Profile
Station Cash UI Button
« on: June 29, 2011, 04:56:35 PM »
 
They added a SC button onto the EQ button in the UI.  If you don't like this feature, you can remove it by modding it out.

IF you don't have a version of EQUI_EQMainWnd.xml in your custom UI folder then copy it from ./default directory, to your custom directory.

Then edit the file and all you need to do is change the size of the new SC button to zero so it's not shown.

Save the file, reload your UI in options to confirm it worked, and/or log to character select and back in.

I added comments: <!-- CHANGE TO 0 --> to the lines where altering is necessary.

Code: [Select]

    <Button item = "EQM_EQButton">
        <ScreenID>EQButton</ScreenID>
        <!--<Font>3</Font>-->
        <RelativePosition>true</RelativePosition>
        <Location>
            <X>0</X>
            <Y>44</Y>              <!-- CHANGE TO 0 -->
        </Location>
        <Size>
            <CX>44</CX>
            <CY>44</CY>
        </Size>
        <Style_VScroll>false</Style_VScroll>
        <Style_HScroll>false</Style_HScroll>
        <Style_Transparent>false</Style_Transparent>
        <TooltipReference>Click this to open the menu</TooltipReference>
        <Style_Checkbox>true</Style_Checkbox>
        <Text></Text>
        <TextColor>
                <R>255</R>
                <G>255</G>
                <B>255</B>
        </TextColor>
        <ButtonDrawTemplate>
            <Normal>A_EQBtnNormal</Normal>
            <Pressed>A_EQBtnPressed</Pressed>
            <Flyby>A_EQBtnFlyby</Flyby>
            <Disabled>A_EQBtnDisabled</Disabled>
            <PressedFlyby>A_EQBtnPressedFlyby</PressedFlyby>
        </ButtonDrawTemplate>
    </Button>

    <Button item = "EQM_SCButton">
        <ScreenID>SCButton</ScreenID>
        <!--<Font>3</Font>-->
        <RelativePosition>true</RelativePosition>
        <Location>
            <X>0</X>
            <Y>0</Y>
        </Location>
        <Size>
            <CX>44</CX>           <!-- CHANGE TO 0 -->
            <CY>44</CY>           <!-- CHANGE TO 0 -->
        </Size>
        <Style_VScroll>false</Style_VScroll>
        <Style_HScroll>false</Style_HScroll>
        <Style_Transparent>false</Style_Transparent>
        <TooltipReference>Click this to open the Marketplace</TooltipReference>
        <Style_Checkbox>true</Style_Checkbox>
        <Text></Text>
        <TextColor>
                <R>255</R>
                <G>255</G>
                <B>255</B>
        </TextColor>
        <ButtonDrawTemplate>
            <Normal>A_SCBtnNormal</Normal>
            <Pressed>A_SCBtnPressed</Pressed>
            <Flyby>A_SCBtnFlyby</Flyby>
            <Disabled>A_SCBtnDisabled</Disabled>
        </ButtonDrawTemplate>
    </Button>

    <Screen item = "EQMainWnd">
        <ScreenID/>
        <RelativePosition>false</RelativePosition>
        <Location>
            <X>0</X>
            <Y>550</Y>
        </Location>
        <Size>
            <CX>50</CX>
            <CY>96</CY>       <!-- CHANGE TO 0 -->
        </Size>
        <Text></Text>
        <Style_VScroll>false</Style_VScroll>
        <Style_HScroll>false</Style_HScroll>
        <Style_Transparent>false</Style_Transparent>
        <TooltipReference/>
        <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate>
        <Style_Titlebar>false</Style_Titlebar>
        <Style_Closebox>false</Style_Closebox>
        <Style_Minimizebox>false</Style_Minimizebox>
        <Style_Border>true</Style_Border>
        <Style_Sizable>false</Style_Sizable>
        <Pieces>EQM_EQButton</Pieces>
        <Pieces>EQM_SCButton</Pieces>
    </Screen>