XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 10th, 2025, 11:21 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: November 15th, 2013, 5:21 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Please guys could you pls help me with this?

I already made the 2 pngs animated with pic01-pic38 frames for each paper top and down.
I want to reproduce these:
1) When the bin is empty will show like this:
Image
text2 with "%IsEmpty" code and the two pnganim hidden.

2) When the bin contains files will show like this:
Image
text2 with "%IsEmpty" code, still the two pnganim hidden and appearing of the up paper image2

3) After right click clean trash function:
Image
text2 hidden,image2 hidden and show/start the 2 pnganimations, with loop 1, will hide both after the end of their anim
and return to the initial status = screenshot 1

Any help??? :roll:
Here is the widget with all the components:

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


Top
 Profile  
 
PostPosted: November 17th, 2013, 12:07 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
For the start, widget with similar script:
viewtopic.php?f=11&t=3429

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


Top
 Profile  
 
PostPosted: November 19th, 2013, 10:24 pm 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
Sorry, but couldn't really get it. Can you make an ani gif in GIMP to show what you want?

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


Top
 Profile  
 
PostPosted: November 20th, 2013, 1:05 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
digigamer wrote:
Sorry, but couldn't really get it. Can you make an ani gif in GIMP to show what you want?

Thank you DG! I'm not so good creating gifs but I made this for you:
Image

I already created all the components for the widget. Please dl the file on the first post..

FOR THE STEP THREE:
Just imagine a real shredder. You put the paper on the top and the trash "eats" gradually the paper and moving down is cutting to pieces. ;)

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


Top
 Profile  
 
PostPosted: November 20th, 2013, 7:55 am 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
Attachment:
animated_shredder_trash.xwp [322.95 KiB]
Downloaded 291 times


Top
 Profile  
 
PostPosted: November 20th, 2013, 9:07 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
qiancang wrote:
Attachment:
animated_shredder_trash.xwp

PERFECT!!! Once again thanks a lot qiancang! :D :D

Edit:
One small thing qiancang. The "pnganimate1" (up paper) appears when the widget loads even when the RB is empty...
This should appears on the first run of the widget but only when the RB is full..

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


Top
 Profile  
 
PostPosted: November 20th, 2013, 7:01 pm 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
function widgetOnLoad()
{
pnganimate1.play = pnganimate2.play = false;
recyclebincore1OnUpdate()
}


Top
 Profile  
 
PostPosted: November 20th, 2013, 7:42 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Thank you qiancang! 8-)

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


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

All times are UTC - 8 hours


Who is online

Users browsing this forum: Bing [Bot] and 45 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