[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] SCKnob Problem



it's not implemented yet in 3.2.  Only exists as a dummy class.

jostM

Saman Badakhshan wrote:
> I am using sc 3.2.
>
> Saman
>
>
>
> jostM wrote:
>> which version of SC?
>>
>> and please post your SCKnob creation code.
>>
>>
>> jostM
>>
>> Saman Badakhshan wrote:
>>  
>>> Hello.
>>>
>>> I am building a simple GUI to control a synth, and I have so far been
>>> able to impliment everything using SC gui components. But for some
>>> reason I get an error when I try to use an SCKnob object.  Here is the
>>> call stack I get.  Any ideas?
>>>
>>> cheers,
>>> Saman
>>>
>>> ERROR: Primitive '_SCView_New' failed.
>>> Failed.
>>> RECEIVER:
>>> Instance of SCKnob {    (15B42460, gc=64, fmt=00, flg=00, set=04)
>>>  instance variables [16]
>>>    dataptr : nil
>>>    parent : instance of SCTopView (15AEBAD0, size=19, set=5)
>>>    action : nil
>>>    background : nil
>>>    mouseDownAction : nil
>>>    mouseUpAction : nil
>>>    mouseOverAction : nil
>>>    mouseMoveAction : nil
>>>    keyDownAction : nil
>>>    keyUpAction : nil
>>>    keyTyped : nil
>>>    keyModifiersChangedAction : nil
>>>    beginDragAction : nil
>>>    canReceiveDragHandler : nil
>>>    receiveDragHandler : nil
>>>    onClose : nil
>>> }
>>> CALL STACK:
>>>    MethodError:reportError   15A1A570
>>>        arg this = <instance of PrimitiveFailedError>
>>>    Nil:handleError   15A1A510
>>>        arg this = nil
>>>        arg error = <instance of PrimitiveFailedError>
>>>    Thread:handleError   15A1A4B0
>>>        arg this = <instance of Thread>
>>>        arg error = <instance of PrimitiveFailedError>
>>>    Object:throw   15A1A450
>>>        arg this = <instance of PrimitiveFailedError>
>>>    Object:primitiveFailed   15A1A3F0
>>>        arg this = <instance of SCKnob>
>>>    SCView:init   15A1A390
>>>        arg this = <instance of SCKnob>
>>>        arg argParent = <instance of SCWindow>
>>>        arg argBounds = <instance of Rect>
>>>    < FunctionDef in Method SCIBPanelWindow:makeUserview >   15A1A330
>>>        arg class = class SCKnob
>>>        arg rect = <instance of Rect>
>>>    SCIBPallatteDrag:do   15A1A2D0
>>>        arg this = <instance of SCIBPallatteDrag>
>>>        arg func = <instance of Function>
>>>    < FunctionDef in Method SCIBPanelWindow:makeUserview >   15A1A270
>>>        var addedViews = [*0]
>>>    SCView:receiveDrag   15A1A210
>>>        arg this = <instance of SCConstructionView>
>>>        arg x = nil
>>>        arg y = nil
>>>
>>>
>>> _______________________________________________
>>> sc-users mailing list
>>>
>>> info (subscription, etc.):
>>> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>>> archive: https://listarc.bham.ac.uk/marchives/sc-users/
>>> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>>>
>>>     
>>
>> _______________________________________________
>> sc-users mailing list
>>
>> info (subscription, etc.):
>> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>> archive: https://listarc.bham.ac.uk/marchives/sc-users/
>> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>>   
>
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.):
> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-users/
> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/