doodle/pkg/balance/fonts.go
Noah Petherbridge 44122d4130 Spit and polish
UI improvements specifically for mobile (running the game with the
`-w mobile` or `-w landscape` options) screen sizes.

* Rework the Settings window to be mobile friendly to landscape
  oriented screens (`doodle -w landscape`) and migrate Options tab
  to magicform.
* The toolbar in the Editor will be a single column of buttons
  on small screens, such as `-w mobile` (375x812) portrait mode
  smartphone. On larger screens the toolbar shows in two columns
  of buttons.
* Fix tooltips not drawing on top.
* Centralize the hard-coded references to specific font filenames
* Add cheat code: `test load screen` to bring a sample loading screen up
  for a few seconds. It needs improvement on `-w landscape`
2022-03-05 22:44:54 -08:00

10 lines
237 B
Go

package balance
// Font filenames used as part of game configuration.
const (
// Main UI fonts (sans-serif and monospace)
SansSerifFont = "DejaVuSans.ttf"
MonospaceFont = "DejaVuSansMono.ttf"
SansBoldFont = "DejaVuSans-Bold.ttf"
)