User Feedback :: new control panel
ok, i like the new control panel. I assume it was programmed in tcl/tk (or else someone had a lot of time and c++ expertise), the main control panel would look better with some nice icons.
i have recently written/am writing. a graphical samba configuration tool, this includes an interface of this type. go to http://www.sourceforge.net/projects/ico2sambaconf, download the latest version, have a look at the tcl script, look under the proc pansect, the bit that is section 1 of this bit is just what you need, so grab it, change the text and icons, stick it in the script in place of the rather drab looking buttons and you are away. if you are using a tool that compiles tcl into an exe then no problem, but if you are using the libraries from c++ then it might require some tweaking (i assume that you have not included the latest tcl interpreter in the iso).
the software is released under the gpl, so borrow what you want.
thanks
ico2
ico2, not to jump the gun and steal the thunder, but I found the location of the program that is run from the menu to start the control panel. It is /usr/sbin/cpanel
open that file up with scite and you can see that the language is flua!!! What's flua???
"Flua is an experimental Forth-like programming language, built on top of Lua, C language, and Nasm"
I can't wait! a new, small language that makes buttons and graphics. Looks like fun times ahead.
Of course I could write C++, or C, but then no source would be easily available. I could write Tcl/Tk but the language is way to big to be included in the base iso. Keeping with the philosphy of small apps, and writing scripts whenever possible, John and I included flua serveral releases back,0.7.3. There are already many lua scripts that I have created. It is tiny, it is powerful, it is a scripting langauge and yes, you can do limited gui. So, to the the "IT" phrase, "eating your own dogfood", I write in what's available and included and again for all to see to code. Lua + fltk = flua, the smallest scriptable GUI toolkit around. Have Fun. Its in there!
a link to Lua FLTK Manual
original here.