-
Notifications
You must be signed in to change notification settings - Fork 204
Add toolbar button for gui/design
#1425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add toolbar button for gui/design
#1425
Conversation
If you try a minimum-size DF window (912x552px, 114x46 UI tiles@8x12px), I think you will see that there are only 7 unused-by-DF columns between the left and "center" toolbars. So the sitemap button and this button will not both fit in a minimum size interface area. Not sure what might be best
|
function DesignToolbarOverlay:onInput(keys) | ||
return DesignToolbarOverlay.super.onInput(self, keys) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this function is a noop and can be removed
DesignToolbarOverlay = defclass(DesignToolbarOverlay, overlay.OverlayWidget) | ||
DesignToolbarOverlay.ATTRS{ | ||
desc='Adds a button to the toolbar at the bottom of the screen for launching gui/design.', | ||
default_pos={x=50, y=-1}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge after DFHack/dfhack#5365
Also wait until I can make this use this PR's code library to make it work cleanly