CaptainBoing
 Guru
 Joined: 07/09/2016 Location: United KingdomPosts: 2171 |
| Posted: 09:32pm 29 Mar 2021 |
|
|
|
if you ignore the little bug with the slider (by not having zero as the bottom limit), I consider this pack is largely ready for an initial release as it contains pretty much all the usual stuff needed for a fairly decent GUI.
What remains is Font support, two types of menu, a tab strip and pop-up windows. These are fairly "exotic" or at least not majorly used (maybe fonts). Hence I spent a while tweaking the code to get it compact, usable and standardized the function names so people can actually start using it if they want.
Further releases will come but I am very conscious of the size creeping up which might make using it on the smaller 'mites a non-starter - it is still around 10K (without the demo prog in the wiki) and so I am hoping won't get in the way too much. This can be mitigated further by "library-izing" it to compact it right down. I haven't done this yet so I don't know how much will be saved but I do indent my code fairly heavily, so roughly 500 lines * 2 tabs average means it should shave off a K.
Anyone who wants to use it, I would say go ahead as I will endeavor to make further releases backward compatible. can't see anything atm that would break your program. i.e. I won't be renaming the key function calls.
If anyone notices some typos etc in the wiki article etc, be a sweetie and chip in to correct them. Ta. Many thanks to those who have already added code, method and critique, this is a real community effort, so don't be shy.
More to come, but I am working on this only when I get a couple of hours run up so the remaining bits may not come for a month or two.
enjoy. Edited 2021-03-30 07:33 by CaptainBoing |