Page 1 of 1

Xcode-like label movement

Posted: Tue Nov 27, 2012 5:21 pm
by Ffenixw0rks
Hello again, guys.

Today I will give you source code for simple Xcode-like label movement with progress bar!

This is very simple but looks very good. Presentation: (watch from 1:28 and turn HD and fullscreen on)
Every line of code is commented. I wanted to make it as clear as possible. :)
Labels are moving smoothly without lags. Done by thread.
Settings:
Position of top label - setting top label X and Y (this label will be only visible from two of them)
Position of bottom label - as above but this label will be not visible.
Speed - the speed of label movement.

Important: this project is not using any Mac styled theme. ;)

Re: Xcode-like label movement

Posted: Wed Nov 28, 2012 12:17 am
by CodenStuff
Sweet. You should put the label code into a custom control class or something so it can be added to other projects/labels easily. Love the slide effect of the label cooll;

Re: Xcode-like label movement

Posted: Wed Nov 28, 2012 6:04 am
by Shim
looks awesome :) thanks for posting this :) +REP cooll;

Re: Xcode-like label movement

Posted: Wed Nov 28, 2012 8:21 am
by clanc789
Very nice tutorial! +rep indeed!