move dfhack logo over a little

develop
Myk Taylor 2023-09-13 18:02:44 -07:00
parent a7e59c8f77
commit d9cae63e4e
No known key found for this signature in database
2 changed files with 11 additions and 3 deletions

@ -26,9 +26,10 @@ end
HotspotMenuWidget = defclass(HotspotMenuWidget, overlay.OverlayWidget) HotspotMenuWidget = defclass(HotspotMenuWidget, overlay.OverlayWidget)
HotspotMenuWidget.ATTRS{ HotspotMenuWidget.ATTRS{
default_pos={x=2,y=2}, default_pos={x=5,y=1},
default_enabled=true, default_enabled=true,
hotspot=true, hotspot=false,
version=2,
viewscreens={ viewscreens={
'adopt_region', 'adopt_region',
'choose_game_type', 'choose_game_type',
@ -170,10 +171,16 @@ end
function Menu:init() function Menu:init()
local hotkeys, bindings = getHotkeys() local hotkeys, bindings = getHotkeys()
if #hotkeys == 0 then
hotkeys = {''}
bindings = {['']='gui/launcher'}
end
local is_inverted = not not self.hotspot.frame.b local is_inverted = not not self.hotspot.frame.b
local choices,list_width = get_choices(hotkeys, bindings, is_inverted) local choices,list_width = get_choices(hotkeys, bindings, is_inverted)
list_width = math.max(35, list_width)
local list_frame = copyall(self.hotspot.frame) local list_frame = copyall(self.hotspot.frame)
local list_widget_frame = {h=math.min(#choices, MAX_LIST_HEIGHT)} local list_widget_frame = {h=math.min(#choices, MAX_LIST_HEIGHT)}
local quickstart_frame = {} local quickstart_frame = {}

@ -581,7 +581,8 @@ end
TitleVersionOverlay = defclass(TitleVersionOverlay, OverlayWidget) TitleVersionOverlay = defclass(TitleVersionOverlay, OverlayWidget)
TitleVersionOverlay.ATTRS{ TitleVersionOverlay.ATTRS{
default_pos={x=7, y=2}, default_pos={x=11, y=1},
version=2,
default_enabled=true, default_enabled=true,
viewscreens='title/Default', viewscreens='title/Default',
frame={w=35, h=5}, frame={w=35, h=5},