Posted 07 January 2005 - 10:18 AM
Firstly, I'm with the above poster, LGPL is a tad too restrictive for what the library is ment todo, personally i'm a fan of zlib for stuff like this as really it only makes sense to statically link things like this in.
Secondly, i've taken a quick shifty at the code and I'd like to point out you dont need to include windows.h in your hxRender.h file as that file doesnt touch windows functions, instead include it in the source file with an include guard to stop it including on non-windows plaforms.
Finally, I'm not so sure about those statically allocated arrays of 256 values, i cant help feel you'd be better off with either a dynamically allocated system (which ofcourse would require an init function to set it up, maybe include it in the setupwindow function?). Can I ask how you arrived at that number?
Also, as apoint of reference, if you are using a 'bool' shouldnt to be setting the value to 'false' not '0' in your setupwindow function?
Aside from those minor issues I quite like it, if I ever get a chance then I might well use it to setup a 2D example of how to use my windowing framework [grin]
couple of quick comments;