[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - 3 cool animate effect examples

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 16th, 2024, 1:29 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: June 16th, 2012, 8:15 am 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
use least controls and code to show you the animate effect clearly

1.scaleto function example
show the scaleto() function of XWidget. More details in the code

2.move controls example
you can drag the control in the widget window

3.controls go with mouse example
the circle will follow your mouse when your mouse move over the widget

3 cool animate effect examples.rar [9.54 KiB]
Downloaded 1519 times


Top
 Profile  
 
PostPosted: August 25th, 2012, 9:46 am 
Offline
User avatar

Joined: July 9th, 2012, 1:14 pm
Posts: 112
Used your animation script here http://dagestuff.deviantart.com/art/Min ... -323313669 - thank you for sharing it! :D


Top
 Profile  
 
PostPosted: September 2nd, 2012, 2:49 am 
Offline
User avatar

Joined: August 29th, 2012, 2:34 am
Posts: 56
qiancang Could you write more scale & matrix transformation & twinning functions ?.


Top
 Profile  
 
PostPosted: April 15th, 2013, 4:48 am 
Offline
User avatar

Joined: April 12th, 2013, 3:56 pm
Posts: 10
Location: Iran
What if I need ScaleTo for entire widget?
It say : Object doesn't support this property or method.


Top
 Profile  
 
PostPosted: April 16th, 2013, 5:19 am 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313


Top
 Profile  
 
PostPosted: February 21st, 2016, 3:47 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Move controls and save position example by qiancang.


Attachments:
move_controls_and_save_position_example.xwp [7.44 KiB]
Downloaded 850 times

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/
Top
 Profile  
 
PostPosted: February 21st, 2016, 4:49 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887

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


Top
 Profile  
 
PostPosted: March 16th, 2016, 5:23 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
It would seem that the move code above from meme has no effect on a layer but only works on a discrete control by itself. So far I have not been able to move separately a layer consisting of a number of controls.


Top
 Profile  
 
PostPosted: March 16th, 2016, 7:17 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
meme' s script works fine. If there is a problem using layers, don't forget that you can drag drop one element into another. Check one of my "3d desktop widgets " to see it by yourself..

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


Top
 Profile  
 
PostPosted: March 16th, 2016, 7:41 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Dropping one element/object/component into another creates a 'layer' according to Xwidget terminology. That is what I want to move, the layer, not an element/object/component on its own but a group of them. Meme's scripts works on elements/objects but not layers. I have used this sort of code before on a component and of course it works successfully. However I have tested it on a layer and it seems to do nothing that was my reason for my original post.

If you have managed to move a layer please attach a link or some working code that gives an example, please.


Top
 Profile  
 
PostPosted: March 16th, 2016, 8:05 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887

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


Top
 Profile  
 
PostPosted: March 16th, 2016, 12:46 pm 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Got it!


Top
 Profile  
 
PostPosted: March 16th, 2016, 1:55 pm 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
That works perfectly. I think you are correct about there being a bug with respect to moving genuine layers.

What you have done is create pseudo-layers. Those pseudo-layers can then be moved as all objects can be moved.

Thank you!


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

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 19 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