-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GTDisable and GTEnable seem to have no effect on GTShape type gadgets #90
Comments
can you please provide me a short code example to reproduce this behaviour? |
sure. `; LoadShape 1,"blitzinc:_dat/iff/getfile.br" FindScreen 1 Window 1,0,11,600,200,$140f,"hello, click mouse",2,1 GTShape 1,1,100,30,0,1 AttachGTList 1,1 Repeat
Until WaitEvent=$200 |
I tried your code with the original function of gadtools GT_SetGadgetAttrsA_ to disable the shape and it did not work either. My example code:
|
thanks for trying. i did try GT_SetGadgetAttrsA_ myself but my Amigalibs.res in FSUAE (in BlitzBasic, where the same happens,) has no #GA_Disable/#GA_Enable included. It was for someone else, but i thought i ask the expert... |
the GTShape gets drawn correctly disabled, if it was initialised as disabled at time of creation. |
If you could organize a working example that uses the gadtools.library functions, The example could be in Blitzbasic or C. I guess it is the way the gadget is created by the blitzlib. |
I tried it with BlitzBasic too and the behaviour is consistent;
One can disable the GTShape gadget from the start but then it ends up never being usable at all.
The text was updated successfully, but these errors were encountered: