LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-10-2009, 04:53 PM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Widget toolkit theming


I wanted to ask what would be the best way to implement themes for my C++/Xlib toolkit?

I definitely want to use vector graphics, probably SVG or Cairo.

About SVG, i wonder if the reading of image files from disk every time you redraw a widget would make it slow? And is it possible to have a few parts of an SVG image not scale up with image size? And how do you render an SVG onto an X Window?

And Cairo is implemented in the program itself, so the drawing code would somehow need to be pluggable. I wonder if a scripting language like Python not be too slow for this part?

What do you think is best, and how would you do it?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Showing a widget above a widget in GTK aarontwc Programming 4 11-26-2008 11:40 AM
GTK Theming Help xpromisex Linux - General 1 05-05-2006 10:33 AM
GTK Theming issues fr0zen Linux - Software 0 09-27-2004 07:57 PM
kde/theming etc true_atlantis Linux - Newbie 2 02-02-2004 11:31 AM
GTK Theming-Works in 2.0, not in 1.2 unworthy Linux - Software 0 09-24-2003 04:43 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration