Go Back   AC3D Forums > Resources > AC3D Tutorials and How-To's
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 9th April 2017, 08:18 AM   #1
Barneq
Junior Member
Junior member
 
Join Date: Feb 2016
Posts: 3
Default Adding code to pluggins so it will use AC3D color sceme

Hi all, I'm just curious about adding code or modding the plugins coding so that the windows will use the current AC3D color profile? I'm finding it very hard to read the necessary info when using them. Resizing/Restructing the Greeble window is also an issue I can't use it on my laptop due to not being able to access the button on a smaller screen. I'm sure someone out there must be experiencing the same, any help would be appreciated thanks.

Last edited by Barneq; 9th April 2017 at 08:27 AM. Reason: Adding photo
Barneq is offline   Reply With Quote
Old 9th April 2017, 09:24 AM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,563
Default Re: Adding code to pluggins so it will use AC3D color sceme

AC3D uses Tcl/Tk for its UI. AC3D 8 uses ttk widgets. Some of these are customized for AC3D so rather than using the old widgets. AC3D uses ac_ before the normal widget names to get the new widgets. e.g. for 'entry', or ttk:entry', use 'ac_entry' instead - then you'll get all the AC3D custom cols/font.

In the plugins folder, you'll see .tcl files. You can look in these with a text editor and modify them. There's lots of info online for Tcl/Tk.

For layout, look for pack and grid commands.
Andy is offline   Reply With Quote
Old 14th April 2017, 05:59 PM   #3
Barneq
Junior Member
Junior member
 
Join Date: Feb 2016
Posts: 3
Thumbs up Re: Adding code to pluggins so it will use AC3D color sceme

Hi Andy, Your a Legend thank you for such a quick reply! I couldn't do much until today but it worked a treat! Easy to see now! AC3D rocks I definitely choose the right software!

Last edited by Barneq; 15th April 2017 at 02:43 AM.
Barneq is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 03:46 AM.


AC3D Forum
(C) Inivis Limited 2020