guiBasic module

Memzen

New Member
Joined
Dec 26, 2018
Likes
7
Location
Colorado
#2
The bottom and right lines of the outline around the Label element did not draw when running the Glfw3 target. Does anyone know how this can this be fixed?
 

MikeHart

Administrator
Staff member
Joined
Jun 19, 2017
Likes
400
Location
Germany
#5
Since we implemented our own font class, you need to change the fontclass name in fontmachine to something else.
 
Last edited:

MikeHart

Administrator
Staff member
Joined
Jun 19, 2017
Likes
400
Location
Germany
#6
That is MyGui. Challenger Gui was the first GUI Christopher published. Where did you find it?
 

Memzen

New Member
Joined
Dec 26, 2018
Likes
7
Location
Colorado
#7
I downloaded it in 2014 from challenger-arts.com which no longer exists. There are many apps named MyGui so I made up a name. I went through my Monkey X archive from 2015 and this looked like a module worth converting.
 

MikeHart

Administrator
Staff member
Joined
Jun 19, 2017
Likes
400
Location
Germany
#10
While good looking, it suffers from blurry output. Imho a gui should always draw at integer coordinates.
 

Memzen

New Member
Joined
Dec 26, 2018
Likes
7
Location
Colorado
#11
The download in the first post has been updated with a fix for the drawing problem with a Label. The Html5 and Glfw3 builds will not draw exactly the same but I don't know how to fix that problem. Concerning the fix see the large comment in the file gbLabels.cxs in the module folder. On a separate issue, anyone wanting to use this GUI should probably change the fonts in the module to use the font commands which are a part of Cerberus X. This GUI module uses a 1024 x 1024 image for a font. Not good.
 

Phil7

Active Member
Joined
Jun 26, 2017
Likes
52
#12
What are the downsides of using 1024x1024 images?
Do you suggest to replace the font files and also the font drawing commands from fontmachine to cerberus font?
Do you think cerberus font can replace fontmachine fully in functionality and usability?

Sorry for those stupid questions. It's been some time since I looked into that and it seems you did.
 
Top Bottom