Use GBUI without style sheet

I was wondering if it would be possible to use GBUI without loading style sheet from the file. As I searched through the code, I found that this is not possible. Because I don't want players of my future game to mess with my style definitions, I wanted to hardcode that data, but I found the problem with doing that. BuiSystem still needs a file to load, even it is empty + I wasn't able to set the properties properly (yay) in code, especially for text, color, padding, etc (for some others it is simple: .setBackground(), .setSize()).

So I would like to know if there is some easy way to do this?

Thanks. :slight_smile:

Interesting question.  I'll look into it.  I believe that the bss is required (which would be functionality from the original BUI code)



I know there's a way to write a BSS or the bss styles in the code and apply them, I'll have to write a test case for it.  I'll add this to the code.google.com bug list



timo