kulesz
Member
|
No font in singleton class
Hi,
I'm using code for developer's console from http://esenthel.com/community/showthread.php?tid=3569, but decided to make this class a singleton. After I've did this, the font does not draw :-/
I didn't do anything with the drawing code, just changed class to singleton (add static pointer and it's getter). Any idea, why did the font's dissapeared?
|
|
09-16-2011 07:04 PM |
|
Driklyn
Member
|
RE: No font in singleton class
Here's the fix:
Code:
Console& init(Str8 inputPrefix = "/", Byte maxCommandLength = 32) // Call once in Init()
{
// ...
gui.hidden = false;
return T;
}
gui.hidden was being initialized to true.
Thanks for using EEDevTools!
|
|
09-16-2011 07:46 PM |
|
kulesz
Member
|
RE: No font in singleton class
Thanks, it work's :-) EEDevTools are great - I was just about to make my own console, but than I've found yours :-)
(This post was last modified: 09-16-2011 08:00 PM by kulesz.)
|
|
09-16-2011 08:00 PM |
|
Driklyn
Member
|
RE: No font in singleton class
Awesome! Glad at least some people are using them.
|
|
09-16-2011 08:05 PM |
|
Dandruff
Member
|
RE: No font in singleton class
i use it too!
|
|
09-17-2011 02:47 AM |
|
Driklyn
Member
|
RE: No font in singleton class
Woohoo!
|
|
09-17-2011 06:45 AM |
|