Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: RBeaubien on August 12, 2018, 12:40:06 PM

Title: mcTouchOff Dialog
Post by: RBeaubien on August 12, 2018, 12:40:06 PM
I am modifying the TouchOff functions to work with any of the many corner finders available on the market.  I have modified the functions to do this, but I need to be able to modify the dialog box to collect 2 additional offset values (X and Y) in the setup.  Is there any way to do this, or do I have to create a new tab on the screen and write my own?

My intention was to submit these changes it to ArtSoft for inclusion in a future release.
Title: Re: mcTouchOff Dialog
Post by: RBeaubien on August 12, 2018, 01:18:04 PM
Also, is there any documentation on the mc. and wx. namespace functions other than just finding existing samples?
Title: Re: mcTouchOff Dialog
Post by: RBeaubien on August 12, 2018, 01:27:48 PM
I found the code to modify the dialog.  Would still like documentation on the namespace functions.  Thanx.
Title: Re: mcTouchOff Dialog
Post by: smurph on September 12, 2018, 01:53:43 AM
There is the API manual in the docs folder that addresses the mc. namespace/library/table.  As for the wx. stuff, that is wxLUA and the documentation is on that web site.  However, they kind of expect you to know the wxWidgets API or use the wxWidgets C/C++ API docs and "translate" the C/C++ functions to the LUA syntax.  The wxWidgets API is expansive and there is no possible way we would ever document it.  Unless you are writing wizards or GUI stuff, there really isn't any need for the wx. stuff.  But it is there if you want to get crafty and don't mind a learning curve. 

Steve