XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently 2017年 Oct 22日 07:40

All times are UTC - 8 hours




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: 2014年 Mar 29日 21:25 
Offline
User avatar

Joined: 2012年 May 12日 20:32
Posts: 576
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: 2014年 Mar 30日 04:32 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4549
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..

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


Top
 Profile  
 
PostPosted: 2014年 Mar 30日 04:52 
Offline
User avatar

Joined: 2012年 May 12日 20:32
Posts: 576
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: 2014年 Mar 30日 05:20 
Offline
User avatar

Joined: 2013年 Mar 8日 22:27
Posts: 357
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: 2014年 Mar 30日 05:49 
Offline
User avatar

Joined: 2012年 May 12日 20:32
Posts: 576
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: 2014年 Mar 30日 08:06 
Offline
User avatar

Joined: 2013年 Mar 8日 22:27
Posts: 357
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: 2014年 Sep 12日 12:13 
Offline

Joined: 2014年 Sep 11日 09:55
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 3587 times ]
Top
 Profile  
 
PostPosted: 2014年 Oct 14日 08:32 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 563
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: 2014年 Oct 14日 18:02 
Offline
User avatar

Joined: 2012年 May 12日 20:32
Posts: 576
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: 2014年 Oct 15日 01:44 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 563
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: 2014年 Oct 15日 01:57 
Offline
User avatar

Joined: 2012年 May 12日 20:32
Posts: 576
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: 2014年 Oct 23日 07:48 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 563
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: 2017年 Jan 26日 03:17 
Offline

Joined: 2016年 Sep 16日 03:30
Posts: 23
Hello GPU Core maybe for the 2.0 ?? :)


Top
 Profile  
 
PostPosted: 2017年 Jan 26日 10:20 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 563
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 7 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