Commit Graph

6 Commits

Author SHA1 Message Date
109e46a027 WIP: moving GUI code over to use LineFormatter. 2015-01-25 14:00:45 -08:00
97b2f18870 Source Code Pro is now embedded in the executable as the default font. 2015-01-21 20:21:34 -08:00
b4e0a2e234 Cleaned up GUI rendering code a bit. 2015-01-21 20:13:20 -08:00
ea6d1c56d1 A feeble attempt to overcome flickering issues on window resize.
It really seems insurmountable at this point.  Not sure what SDL is doing
that's causing this.  But I'm leaving this code in, because it makes
things a little cleaner and serves as a good example to myself for how
to render to textures.
2015-01-20 21:55:11 -08:00
6c6e8896a1 GUI actually displays the text of the loaded buffer now. Woo hoo!
To make this performant, the Font struct caches rendered glyphs as
sdl textures.  Without caching, performance is abysmal.
2015-01-19 22:47:43 -08:00
463911e5b3 Beginnings of a GUI. 2015-01-18 22:52:35 -08:00