Commit graph

13 commits

Author SHA1 Message Date
Paul Gilbert
ac7b1e326d GLK: HUGO: Properly fix display images
The resource file format Hugo uses has named entries.
Because of this, the original Glk code added to Hugo
does a whole mess of reading in a picture, then copying
it to a dummy pic file with a dummy number, just so a
call to glk_image_draw could detect it.

Since this isn't the first time I've had to deal with
named resources, it ended up being cleaner to add a new
variation of glk_image_draw and glk_image_draw_scaled
that can take in a string image parameter. That way, I
was able to set up an archive class to represent the
resource file, and pass the resource name directly
without worrying about dummy picture numbers & files
2020-08-29 13:59:52 -07:00
Bastien Bouclet
1e30923737 GLK: Add override keywords 2020-02-09 12:43:15 +01:00
Paul Gilbert
8a51f30533 GLK: Create an intermediate TextWindow base class for text windows
This will make it easier to check whether a window is textual
without having to check for both the grid & buffer classes explicitly
2019-08-04 16:44:22 -07:00
Paul Gilbert
8393faf036 GLK: Switch focus window immediately after requesting lines or chars 2019-03-02 19:35:36 -08:00
Paul Gilbert
795e23c05d GLK: Constifying attribute, width calc methods 2019-01-16 21:12:03 -08:00
Paul Gilbert
1021da132b GLK: Splitting font related info from Conf into their own classes 2018-12-31 18:34:42 -08:00
Paul Gilbert
e232d024c5 GLK: Standardizing uint vs uint32 usage 2018-12-09 14:47:15 -08:00
Paul Gilbert
7637edb5a2 GLK: Change all references to glui32 and glsi32 to uint and int
This should finally fix compilation for the Amiga, which had
difference sized types. And the renamed types are clearer for
ScummVM anyway
2018-12-09 11:36:20 -08:00
Paul Gilbert
9809e19f48 GLK: Yet another Amiga compilation fix 2018-12-09 11:21:31 -08:00
Paul Gilbert
9bc6379476 GLK: Change lots of comments from multiline to single line 2018-12-08 19:05:59 -08:00
Paul Gilbert
88b0e5d52f GLK: Change text buffer history array to use Array of U32Strings 2018-12-08 19:05:59 -08:00
Paul Gilbert
a2104deb4c GLK: Changing class and namespaces from Gargoyle to Glk 2018-12-08 19:05:59 -08:00
Paul Gilbert
1fb931fbd9 GLK: Changing gargoyle folder to glk 2018-12-08 19:05:59 -08:00
Renamed from engines/gargoyle/window_text_buffer.h (Browse further)