ah thanks bud. i probably should have read more documentation.
thanks again!
sam
On 6/3/07, Jonathan Murphy <typetosmurky@bigpond.com> wrote:
Hi Sam,
You can do that with FLsetVal_i. The way it works is something like
this:
ix1 = 10 ; x coordinate of knob
iy1 = 10 ; y coordinate of knob
iw0 = 100 ; width of window
iw1 = 50 ; width of knob (knob is round, width = height)
ih0 = 100 ; height of window
imin = 0 ; minimum value of knob
imax = 127 ; maximum value of knob
iexp = 0 ; linear output
itype = 1 ; 3d knob
idisp = -1 ; value not displayed
ival = 64 ; initial value of knob
FLpanel "FLSETVAL DEMO", iw0, ih0 ; window
gk_knob, gi_knob FLknob "KNOB", imin, imax, iexp, itype, idisp, \
iw1, ix1, iy1 ; knob
FLsetVal_i ival, gi_knob ; set initial value of knob
Hope this helps,
Jonathan.
guitarfella <guitarfella@gmail.com> writes:
> hey there,
>
> i'd to be able to set a default value to FLTK control opcodes like FLknob,
> FLtext, FLslider etc etc..
> at the moment i think default values are NULL? an extra parameter in
> declaration would be perfect
> thanks guys
>
> sam
>
>
>
> jpff wrote:
>>
>> How about this?
>>
>> To Do
>> Check Csound5GUI Launcher on OSX (DrB: Thu, 17 May 2007 12:59:18
>> -0400)
>> - turnoff bug (I reported and provided a CSD)
>> - fluid opcodes on OSX Intel (reported but we need a CSD)
>> liblo for Windows
>> Tempest Opcode for mac to be fixed (Colin Kah: Wed, 2 May 2007
>> 08:32:33 -0400)
>>
>> For Future
>> ogg encoding (libsndfile)
>> Finish adding Gabriel's opcodes
>>
>> Unknown
>> Lock up (StevenYi: Sat, 5 May 2007 18:41:11 -0400)
>> The bug involving the use of pvsfreez
>> (
http://www.nabble.com/random-glitch-with-this-CSD-tf3635671.html)
>> ==John ffitch
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>>
http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Csound-devel mailing list
>>
Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Wish-bug-list-tf3833016.html#a10933560
> Sent from the Csound - Dev mailing list archive at
Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel
--
better late than never