Search found 46 matches

by TSK
Mon May 01, 2017 1:18 pm
Forum: Platform: AmigaOne X5000
Topic: Swapping ALT and AMIGA keys doesn't work
Replies: 15
Views: 14334

Re: Swapping ALT and AMIGA keys doesn't work

@IamSONIC I have the same problem on A1-SE and a PS2 keyboard. Key swapping works with old keymap.libary.kmod v53.7 and a UBoot variable but not with the input Prefs setting and keymap.libary.kmod v53.9. (The key swap checkbox is disabled in input prefs with the v53.7 library.) If I remember the UBo...
by TSK
Thu Apr 06, 2017 1:47 pm
Forum: General Developer Support
Topic: Bringing more object orientation to C programming
Replies: 9
Views: 8678

Re: Bringing more object orientation to C programming

broadblues wrote:messages can be queued for later attention
I wasn't talking of queuing messages but running long taking CPU intensive tasks in functions.

(Edit: My last line I removed didn't make any sense.)
by TSK
Tue Apr 04, 2017 2:29 pm
Forum: General Developer Support
Topic: Bringing more object orientation to C programming
Replies: 9
Views: 8678

Re: Bringing more object orientation to C programming

* (I know you can get away typing interfaces using inlines. But...) Which one is nicer to write while programming ? This one... IIntuition->SetGadgetAttrs((struct Gadget *)GadObjs[GAD1],MyWindow,NULL,GA_Disabled,TRUE,TAG_DONE); or this one... mygad1->Disable(); ;-) AmigaOS API and programming was ma...
by TSK
Tue Apr 04, 2017 2:23 pm
Forum: General Developer Support
Topic: Bringing more object orientation to C programming
Replies: 9
Views: 8678

Re: Bringing more object orientation to C programming

@javierdlr Nice to know somebody likes this. @broadblues, @trixie I started to make similar classes in C++ years ago. I remembered that I didn't make it far but I found the files from my HD and the project was pretty much on the same level as the C implementation is now. I've been programming mostly...
by TSK
Sun Apr 02, 2017 3:53 pm
Forum: General Developer Support
Topic: Bringing more object orientation to C programming
Replies: 9
Views: 8678

Bringing more object orientation to C programming

I've started a project to bring more object style programming to plain C and Amiga, after I figured out how to use APICALL trick to add function calls to C struct's. I've made a oo.library (oo for object orientation) which contains all New...Object() and Dispose...Object() function calls to create o...
by TSK
Tue Nov 22, 2016 9:52 pm
Forum: General Developer Support
Topic: GADGETUP message missing if gadget is in sub layout
Replies: 10
Views: 7632

Re: GADGETUP message missing if gadget is in sub layout

I had LAYOUT_DeferLayout,FALSE in the root layout in my test tool. Setting it to TRUE the problem is gone. The app is getting GADGETUP messages from GM_HANDLESCROLL fine now on all gadgets and all layout levels.
by TSK
Mon Nov 21, 2016 6:42 pm
Forum: General Developer Support
Topic: GADGETUP message missing if gadget is in sub layout
Replies: 10
Views: 7632

Re: GADGETUP message missing if gadget is in sub layout

Yes to both. HandleScroll is called. The window is window class window.
by TSK
Mon Nov 21, 2016 3:36 pm
Forum: General Developer Support
Topic: GADGETUP message missing if gadget is in sub layout
Replies: 10
Views: 7632

Re: GADGETUP message missing if gadget is in sub layout

GACT_RELVERIFY
I think you mean GA_RelVerify.
GMR_VERIFY
The both are done, of course.
it applies to GM_HANDLESCROLL
Yes, I mentioned mouse wheel in the first post.
by TSK
Sun Nov 20, 2016 11:39 pm
Forum: General Developer Support
Topic: GADGETUP message missing if gadget is in sub layout
Replies: 10
Views: 7632

Re: GADGETUP message missing if gadget is in sub layout

@salass00

So how do I implement it in my class to get this working ? Like I said WMHI_GADGETUP never arrives.
by TSK
Sun Nov 20, 2016 12:28 am
Forum: General Developer Support
Topic: GADGETUP message missing if gadget is in sub layout
Replies: 10
Views: 7632

GADGETUP message missing if gadget is in sub layout

I've been developing some BOOPSI gadget classes. If I let Intuition to take care of the mouse wheel then an application will get a GADGETUP message but only if the gadget is in a root layout group. If the gadget is in any child/sub group then the GADGETUP message won't appear at all. Is that a bug i...