actsl
2016-08-03 20:34:17 UTC
Two of the most active users saw it as the biggest problem that different widgets cannot have different fonts and images, thus i had to make that change. I'm convinced that the core should not be anyhow restrictive, anything that forms a core in any code. I hope it will be the last change, but it was inevitable. It was only a small change and it is also backward compatible. It was implemented by using magic numbers, that enable to check whether a resource (image or font) is assigned. Additional resources can now be loaded after the init function, and their structures can be assigned to the widget structures before creating (initializing) the widgets with the ..._new() functions. This enables a new creative dimension, like a slider can now be easily made out of scrollbar just by loading different images for arrows and vslider or hslider.
Different widgets can now have different fonts and images, in the new version 1.2.0 https://github.com/actsl/kiss_sdl .
------------------------
kiss_sdl - Simple generic GUI widget toolkit for SDL2 https://github.com/actsl/kiss_sdl
Different widgets can now have different fonts and images, in the new version 1.2.0 https://github.com/actsl/kiss_sdl .
------------------------
kiss_sdl - Simple generic GUI widget toolkit for SDL2 https://github.com/actsl/kiss_sdl