XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 1st, 2025, 12:01 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: March 29th, 2014, 9:25 pm 
Offline
User avatar

Joined: May 12th, 2012, 8:32 pm
Posts: 594
I am developing XWidget2.0 ,and trying to make XWidget2 more easy to use and easy to create widget with no script.
What about XWidget2.0 action command format change to this?
--Support Multiple command,
--Support control other Controls/Cores by option param "(control name)"
--Support control other widget from folderName by option param "<folder name>"
--Support Visual-Commands-Builder-Tool to Auto Generate commands ,just need select command target object and input params.


===Controls command==============
[!obj opacity 0.3]
Change the do command control's property opacity to 0.3
[!obj fadeto 0.3]
Call the do command control's function "fadeto" with param 0.3, will make this control fade to opacity 0.3
[!obj moveto 100 200 0.5]
Call the do command control's function "moveto" with param 100 200 0.5, will make this control move to 100,200 duration 0.5 sec
[!obj animatefloat "left" 200 0.3]
Call the do command control's function "animatefloat" with param "left" 200 0.3, will make this control's property "left" animate change to 200 duration 0.3 sec

[!obj (text1) SelectTextFontColor]
Open Select color dialog to change control "text1" font color,with autosave to config and autoload from config . the "()" is option
[!obj <eker_note> (text1) text "OK!"]
set widget(foldername "eker_note") 's control "text1" property "text" to "OK!"

===Cores command==============
[!core 12hr/24hr]
Do core command 12hr/24hr for current core
[!core (datetimecore2) showsetting]
Do core command 12hr/24hr for datetimeCore2, the "()" is option param

===widget golobe command==============
[!cmd OpenTaskMgr]
open taskmgr
[!cmd <eker_note> moveto 100 200]
call widget eker_note cmd to move to 100,200. the "<>" is option param

===Script command==============
[!func <eker_note> DoFunc1 10 20]
call script function "DoFunc1" with param 10,20 for widget "eker_note", the "<>" is option param



-----------------------------------------------------------------------

for excample, text1 onclick action will change text1's opacity to 0.3 with animate duration 0.3 and move image2 to 100,200 with animation duration 0.5.
Code:
[!obj fadeto 0.3][!obj (image2) moveto 100 200 0.5] 

_________________
XWidget Software Developer
[XWidget for Android] [Lastest version of XWidget] [Lastest patch of XWidget]
[XDesktop for Android/Windows]


Top
 Profile  
 
PostPosted: March 30th, 2014, 4:32 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Have various functions that required a script it will be great!! But we need to be careful to not change a lot of things, the structure of the Designer and leave the tags and cores function as in XW 1.x. Sometimes changing a lot the things, is more confusing and more hard for the users to learn again for the scratch..
Personally I prefer the selection of "ready to use" tags as now..
Maybe the veterans of the script code will love it, but the normal user will hate it..

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: March 30th, 2014, 4:52 am 
Offline
User avatar

Joined: May 12th, 2012, 8:32 pm
Posts: 594
jimking wrote:
Have various functions that required a script it will be great!! But we need to be careful to not change a lot of things, the structure of the Designer and leave the tags and cores function as in XW 1.x. Sometimes changing a lot the things, is more confusing and more hard for the users to learn again for the scratch..
Personally I prefer the selection of "ready to use" tags as now..
Maybe the veterans of the script code will love it, but the normal user will hate it..


XWidget2 will include a Visual-Commands-Builder-Tool to Auto Generate commands ,just need select command target object and input params.

XWidget2 will almost completely compatible with XWidget1.x, tags and cores are still exists.
I means that Improvement actions with this easy new commands to replace parts of script.
I know normal user not like write script,So I will make a Visual-Commands-Builder-Tool, You just need select control name and command with mouse, not need write script ,just uses Visual-Commands-Builder-Tool to do more things.

for excample: if you need to do two actions : fade out text1 to 0.3 ,and move image1 to 100,200
in 1.x: you had to write script code like this: test1.fadeto(0.3, 0.2); image1.moveto(100,200,0.5).
in 2.0: you not must write script code, just uses Visual-Commands-Builder-Tool to select control name "text1" and seclet command "fadeto" and set param "0.3" and 0.2 and add command to image1 the same.

So, with this new command format and Visual-Commands-Builder-Tool, normal user can create more powerful widget but NOT had learn and write script code :D

_________________
XWidget Software Developer
[XWidget for Android] [Lastest version of XWidget] [Lastest patch of XWidget]
[XDesktop for Android/Windows]


Top
 Profile  
 
PostPosted: March 30th, 2014, 5:20 am 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
This is great. However, I would like to propose another change to the designer. The code editor is buggy. But there is a high quality open-source component available already, with a permissible license for use in commercial software.
http://www.scintilla.org/

Also, support for editing the XUL manually and multiple script files will be a welcome move for script enthusiasts.

_________________
Life is a myriad game... Just play it!


Top
 Profile  
 
PostPosted: March 30th, 2014, 5:49 am 
Offline
User avatar

Joined: May 12th, 2012, 8:32 pm
Posts: 594
digigamer wrote:
This is great. However, I would like to propose another change to the designer. The code editor is buggy. But there is a high quality open-source component available already, with a permissible license for use in commercial software.
http://www.scintilla.org/
Also, support for editing the XUL manually and multiple script files will be a welcome move for script enthusiasts.



The Scintilla is cool ,but it is write by GTK+, I can not uses it in Delphi :(

_________________
XWidget Software Developer
[XWidget for Android] [Lastest version of XWidget] [Lastest patch of XWidget]
[XDesktop for Android/Windows]


Top
 Profile  
 
PostPosted: March 30th, 2014, 8:06 am 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
Delphi can call c++ dlls. It would be a hard way though...!

However, the good things is there is a couple of bindings already available:
DScintilla (very popular): https://code.google.com/p/dscintilla/
http://www.pnotepad.org/scintilla/

_________________
Life is a myriad game... Just play it!


Top
 Profile  
 
PostPosted: September 12th, 2014, 12:13 pm 
Offline

Joined: September 11th, 2014, 9:55 am
Posts: 5
You can add the features below?

- Include Perfmon Meters in XWidget Designer (Example file Samurize perf.jpg)
- Include GPU usage meter in AIDA64core

Thanks


Attachments:
Samurize Perf.jpg
Samurize Perf.jpg [ 184.28 KiB | Viewed 23043 times ]
Top
 Profile  
 
PostPosted: October 14th, 2014, 8:32 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
I had already suggested Context as a replacement code editor, it is available to use now, it is a fully fledged code editor, it was written in Delphi and the author is looking for someone to take it on.

-oOo-

I for one am not afraid of a bit of code. I am hoping that the scripting ability will survive in its entirety in version 2.0 for those of use who want to be able to create more complex functions. At the moment the scripting functionality is falling behind the widget, you cannot for instance, create new image or menu objects from code whereas you can do so via the GUI. All GUI operations should be achievable in code too.


Top
 Profile  
 
PostPosted: October 14th, 2014, 6:02 pm 
Offline
User avatar

Joined: May 12th, 2012, 8:32 pm
Posts: 594
Hi Yereverluvinuncleber,
Thanks for your feedback and suggestion, I am improving the XWidget2.0 Designer's CodeEdit and Script, etc:
1. uses Notepad++ editor core in XWidget2.0 designer : support code autocomplition and code suggestion,support code fold
2. uses Lua script to cross-platform(run Both on Windows and Android ) and support create Control and Core with script.

viewtopic.php?f=22&t=5129
Image




yereverluvinuncleber wrote:
I had already suggested Context as a replacement code editor, it is available to use now, it is a fully fledged code editor, it was written in Delphi and the author is looking for someone to take it on.

-oOo-

I for one am not afraid of a bit of code. I am hoping that the scripting ability will survive in its entirety in version 2.0 for those of use who want to be able to create more complex functions. At the moment the scripting functionality is falling behind the widget, you cannot for instance, create new image or menu objects from code whereas you can do so via the GUI. All GUI operations should be achievable in code too.

_________________
XWidget Software Developer
[XWidget for Android] [Lastest version of XWidget] [Lastest patch of XWidget]
[XDesktop for Android/Windows]


Top
 Profile  
 
PostPosted: October 15th, 2014, 1:44 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Tony, Superb to hear of the editor improvements, it is essential that the IDE be fluid and easy to use, not frustrating. I am most impressed by what you are attempting and how much you are achieving. I really look forward to ver 2.0 and if I can help with testing the new version I would be happy to give it my time.


Top
 Profile  
 
PostPosted: October 15th, 2014, 1:57 am 
Offline
User avatar

Joined: May 12th, 2012, 8:32 pm
Posts: 594
Thank you,I will upload the first beta version to forum about next month end :)

yereverluvinuncleber wrote:
Tony, Superb to hear of the editor improvements, it is essential that the IDE be fluid and easy to use, not frustrating. I am most impressed by what you are attempting and how much you are achieving. I really look forward to ver 2.0 and if I can help with testing the new version I would be happy to give it my time.

_________________
XWidget Software Developer
[XWidget for Android] [Lastest version of XWidget] [Lastest patch of XWidget]
[XDesktop for Android/Windows]


Top
 Profile  
 
PostPosted: October 23rd, 2014, 7:48 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Tony, a few of my Feature Requests - I hope they make it into Xwidget 2.0 IDE.

Feature Request - Alt +f+s - being able to save via the keyboard
http://bbs.xwidget.com/viewtopic.php?f=3&t=3430

Feature Request - grab lines - all lines to thin and difficult to grab
http://bbs.xwidget.com/viewtopic.php?f=3&t=3450

Feature Request - double click on a layer/object opens code
http://bbs.xwidget.com/viewtopic.php?f=3&t=3451

Please have a look at each.


Top
 Profile  
 
PostPosted: January 26th, 2017, 3:17 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
Hello GPU Core maybe for the 2.0 ?? :)

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
PostPosted: January 26th, 2017, 10:20 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
What would the GPU core do? Provide stats re: GPU usage, no. of shaders &c?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group