This function makes a circle with buttons.
I want to know if there is a function to make the numbers
for the clock
and makes the lines going inward for the seconds
// open brace: makes it a definition
double circle_pi = 3.14;
// This can
be any number, the point is that we are generating
// the
buttons automatically
for (double
i = 0 ; i<(2*circle_pi); i+=(2*circle_pi/60))
{
My_Button*
tempButton = new My_Button(Point
(x_max()/2+(200*cos(i)),
y_max()/2+(200*sin(i))), 12, 12, "0", cb_button);
attach(*tempButton);
v1.push_back(tempButton);
v2.push_back(tempButton->
get_fltk_button_address());
}_
[Non-text portions of this message have been removed]
- Re: [c-prog] Fwd: Calling a command line executable from... Thomas Hruska
- Re: [c-prog] Fwd: Calling a command line executable... John Gaughan
- Re: [c-prog] Fwd: Calling a command line execut... Thomas Hruska
- Re: [c-prog] Fwd: Calling a command line execut... andrew clarke
- Re: [c-prog] Fwd: Calling a command line executable... Sri
- Re: [c-prog] Fwd: Calling a command line execut... Thomas Hruska
- Re: [c-prog] Fwd: Calling a command line ex... Sri
- Re: [c-prog] Fwd: Calling a command lin... Thomas Hruska
- Re: [c-prog] Fwd: Calling a comman... Sri
- Re: [c-prog] Fwd: Calling a co... Thomas Hruska
- [c-prog] clock function Robert Ryan
- Re: [c-prog] clock function Robert Ryan
- Re: [c-prog] clock function Robert Ryan
- Re: [c-prog] clock function Christopher Coale
- Re: [c-prog] Fwd: Calling a command line executable from... Rick
