pConvert a Measurements Units converted (Mar 3, 2007)
Posted: Thu 01 Mar 2007, 04:26
I had some time to spare and decided to tackle cleaning up a couple of tcl/tk applicaitions included in Puppy that had a rather old look.
I've completelly rewriten the tkConvert utility to make it fully GTK compatible.
This utility lets you convert from almost any measurement unit to another. It includes around 1,000 conversions.
In the process I managed to reduce 2159 lines of code while adding functionality!!,
(Barry, that's 103K. I'm making good in my promisse to give back the space taken by gnocl) I could still reduce around 400 lines of code and in the process add about another 1,000 available conversions and provide an even cleaner interface and make the code even more readable. But for now I think this is good enough.
Here is the GTK version with an Aqua theme (Click to see full size)
Here is the cleaned up tk version (Click the thumbnail to see the full size image)
Dependencies
The GTK version requires Gnocl. If you have a version of Puppy prior to 2.14 you'll need to get it from here:
http://www.murga-linux.com/puppy/viewtopic.php?t=15639
I've completelly rewriten the tkConvert utility to make it fully GTK compatible.
This utility lets you convert from almost any measurement unit to another. It includes around 1,000 conversions.
In the process I managed to reduce 2159 lines of code while adding functionality!!,
(Barry, that's 103K. I'm making good in my promisse to give back the space taken by gnocl) I could still reduce around 400 lines of code and in the process add about another 1,000 available conversions and provide an even cleaner interface and make the code even more readable. But for now I think this is good enough.
Here is the GTK version with an Aqua theme (Click to see full size)
Here is the cleaned up tk version (Click the thumbnail to see the full size image)
Dependencies
The GTK version requires Gnocl. If you have a version of Puppy prior to 2.14 you'll need to get it from here:
http://www.murga-linux.com/puppy/viewtopic.php?t=15639