XWidgetSoft Forum https://bbs.xwidget.com/ |
|
Basic Using Tutorial:Managing Themes https://bbs.xwidget.com/viewtopic.php?f=10&t=2315 |
Page 1 of 1 |
Author: | qiancang [ November 23rd, 2012, 6:21 am ] | ||
Post subject: | Basic Using Tutorial:Managing Themes | ||
|
Author: | qiancang [ November 23rd, 2012, 6:28 am ] |
Post subject: | Re: Basic Using Tutorial:Managing Themes |
Advanced How does XWidget manage themes? Please pay attention to the folder "Themes" and the document "Settings.ini" in the folder MyDocuments\XWidget . xwidget.jpg [ 12.65 KiB | Viewed 12474 times ] The “Settings.ini” records the current theme and other information. themepath.jpg [ 35.93 KiB | Viewed 12474 times ] All themes are in the folder “Themes”.One theme is in one folder and the folder name is the theme name. allthemes.jpg [ 13.38 KiB | Viewed 12473 times ] After opening one folder, we find several files. The “theme.xwt” is what we are interested in now. It lists all the widgets used in the theme. And every widget consists of some basic information such as folderName,left,top. Some widgets have user defined variables if we used setvalue() function before. Please read viewtopic.php?f=10&t=2316 to learn about setvalue() functions. themef.jpg [ 26.87 KiB | Viewed 12473 times ] themexwt.jpg [ 29.31 KiB | Viewed 12473 times ] widget count.jpg [ 251 KiB | Viewed 9597 times ] look at the last part [Theme] of theme.xwt. 'Count' tell us this theme consists of how many widgets. we can figure out that there are 4 widgets. the information of every widget is saved in a [widget + number] part. in this case: the first widget is [widget 0] , so "0=0" the second widget is [widget 2], so "1=2" the third widget is [widget 5], so "2=5" the last widget is [widget 1], so "3=1" |
Author: | Armando [ November 23rd, 2012, 9:45 am ] |
Post subject: | Re: Basic Using Tutorial:Managing Themes |
Great job Qiancang!!! thanks you very much!!! |
Author: | digigamer [ April 14th, 2014, 11:51 pm ] |
Post subject: | Re: Basic Using Tutorial:Managing Themes |
How to include the wallpaper... I doesn't do it by default. |
Author: | qiancang [ April 15th, 2014, 1:12 am ] |
Post subject: | Re: Basic Using Tutorial:Managing Themes |
Author: | digigamer [ April 15th, 2014, 9:00 pm ] |
Post subject: | Re: Basic Using Tutorial:Managing Themes |
Thanks a lot. May be there should be an option to include that automatically. |
Author: | qiancang [ April 15th, 2014, 9:26 pm ] |
Post subject: | Re: Basic Using Tutorial:Managing Themes |
Author: | digigamer [ April 16th, 2014, 7:42 pm ] |
Post subject: | Re: Basic Using Tutorial:Managing Themes |
And that happens always with me |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |