Free IconButton class

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 08 August 2013   #1
Free IconButton class

I have created a small IconButton user-area which can be used instead of normal buttons in your dialogs. You can copy&paste the source code into your project and even adjust it to your needs! Default background color, etc. is all adjustable.


I hope someone can learn from use it in a project! The source is licensed under the GNU LGPL license.

Visit: http://niklasrosenstein.de/2013/08/...n-ui-give-away/
__________________
Cinema 4D Plugin Developer
niklasrosenstein.com/ | Freebies | Plugins
 
Old 08 August 2013   #2
Thank you!!!
 
Old 09 September 2013   #3
Thank you Niklas.

A nice addition, as always
__________________
irisvfx.com | about.me/andreberg

Last edited by andreberg : 09 September 2013 at 01:12 PM.
 
Old 09 September 2013   #4
thanks Niklas
 
Old 09 September 2013   #5
Is it possible to add a hover/mouse-over effect to this?
 
Old 09 September 2013   #6
Unfortunately not. You can get when the mouse is hovering over the User Area, but not when it leaves the user area.

-Nik
__________________
Cinema 4D Plugin Developer
niklasrosenstein.com/ | Freebies | Plugins
 
Old 09 September 2013   #7
Originally Posted by NiklasR: Unfortunately not. You can get when the mouse is hovering over the User Area, but not when it leaves the user area.

-Nik


sure with a timer it is possible, I did something like that for the pattern gadegt in our polygon
selection toolset.

http://codepad.org/urk0FFkg
__________________
There are holes in the sky. Where the rain gets in.
But they're ever so small. That's why the rain is thin.
 
Old 09 September 2013   #8
You are right, littledevil. Didn't think about using GetInputState()



https://gist.github.com/NiklasRosenstein/6249168
__________________
Cinema 4D Plugin Developer
niklasrosenstein.com/ | Freebies | Plugins
 
Old 09 September 2013   #9
Sweeeeeet, thanks guys!
 
Old 09 September 2013   #10
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 02:29 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.