Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: new control panel, suggestion for improvement< Next Oldest | Next Newest >
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Oct. 29 2004,15:17 QUOTE

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
Back to top
Profile PM MSN 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Oct. 29 2004,15:33 QUOTE

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.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Oct. 29 2004,16:05 QUOTE

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!
Back to top
Profile PM WEB 
guest
Unregistered






Posted: Oct. 29 2004,20:35 QUOTE

a link to Lua FLTK Manual
Back to top
3 replies since Oct. 29 2004,15:17 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: new control panel

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code