mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-20 23:47:16 -05:00
d2ui: completed ButtonTypePartyBUtton's layout literal
This commit is contained in:
parent
27ca1c84ef
commit
931df47607
@ -205,6 +205,10 @@ const (
|
||||
buttonAddSkillSegmentsY = 1
|
||||
buttonAddSkillDisabledFrame = 2
|
||||
|
||||
partyButtonSegmentsX = 1
|
||||
partyButtonSegmentsY = 1
|
||||
partyButtonDisabledFrame = -1
|
||||
|
||||
pressedButtonOffset = 2
|
||||
)
|
||||
|
||||
@ -216,6 +220,7 @@ func getButtonLayouts() map[ButtonType]*ButtonLayout {
|
||||
YSegments: buttonWideSegmentsY,
|
||||
DisabledFrame: buttonWideDisabledFrame,
|
||||
DisabledColor: lightGreyAlpha75,
|
||||
TextOffset: buttonWideTextOffset,
|
||||
ResourceName: d2resource.WideButtonBlank,
|
||||
PaletteName: d2resource.PaletteUnits,
|
||||
FontPath: d2resource.FontExocet10,
|
||||
@ -766,9 +771,9 @@ func getButtonLayouts() map[ButtonType]*ButtonLayout {
|
||||
FixedHeight: ButtonNoFixedHeight,
|
||||
},
|
||||
ButtonTypePartyButton: {
|
||||
XSegments: 1,
|
||||
YSegments: 1,
|
||||
DisabledFrame: buttonWideDisabledFrame,
|
||||
XSegments: partyButtonSegmentsX,
|
||||
YSegments: partyButtonSegmentsY,
|
||||
DisabledFrame: partyButtonDisabledFrame,
|
||||
DisabledColor: lightGreyAlpha75,
|
||||
TextOffset: buttonWideTextOffset,
|
||||
ResourceName: d2resource.PartyButton,
|
||||
|
Loading…
x
Reference in New Issue
Block a user