Page 1 of 5 123 ... LastLast
Results 1 to 10 of 42

Thread: Plugin Examples incl. DUI example

  1. #1
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default Plugin Examples incl. DUI example

    THIS IS OLD INFORMATION - GIRDER 5


    Hi Guys,

    It was high time for a couple of examples on how to use the DUI stuff for real.

    There are 2 examples, the first one is the sendmessage plugin, it is a very basic easy to understand plugin.

    The second example is a full blown example on the DUI. Comments and suggestions are very welcome.

    You'll need beta 8+ to run these.
    Attached Files Attached Files
    Last edited by Ron; December 26th, 2014 at 02:28 PM.
    Ron
    No support through PM

  2. #2
    Join Date
    Sep 2003
    Location
    reading / bournemouth UK
    Posts
    1,106

    Default

    would it be useful if i stripped down my media player plugin into a basic example of using the dui in delphi?

  3. #3
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    Sure if you feel like doing that.
    Ron
    No support through PM

  4. #4
    Join Date
    Feb 2001
    Location
    Plano, TX, USA
    Posts
    3,055

    Default

    Could you enumerate the fields and field types for the LUA objects that represent the different widgets?

    Examples from the code:
    For an edit box the fields are: .Text (string) and .Enabled (bool)
    For a check box the fields are: .Caption (string), .Enabled (bool) and .Checked (bool)
    Mark F

  5. #5
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    After releasing the alpha I just jumped on my bike and drove a couple of miles, darn I am out of shape after not biking into campus anymore. :-)

    Anyway with my foggy head I'd say look at the manual, i've listed all the fields there. Is that what you mean or do you mean doing this in code?
    Ron
    No support through PM

  6. #6
    Join Date
    Sep 2003
    Location
    reading / bournemouth UK
    Posts
    1,106

    Default

    heres the delphi dui example, enjoy
    Attached Files Attached Files

  7. #7
    Join Date
    Feb 2001
    Location
    Plano, TX, USA
    Posts
    3,055

    Default

    Manual? Doh! It's in the help file, of course. Nevermind. ops:
    Mark F

  8. #8
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    Yeah that page with title 'Regular Expressions' heading. Pfff I can't believe I missed that one. Anyway I can see how you didn't think of looking at the manual, since G3.3 really didn't have any. Would you believe that we are actually having a professional doing the manual! :-) The one that is included is the one I started doing, the real thing is under development and should be ready come release time.
    Ron
    No support through PM

  9. #9
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    A little tip.

    If your plugin has a lot of action that all go into a new group of your own simply 'hook' that group instead of all the separate action pages!
    Ron
    No support through PM

  10. #10
    Join Date
    May 2005
    Posts
    16

    Default

    Quote Originally Posted by birty
    heres the delphi dui example, enjoy
    Hi I'm trying to get this DUI stuff to work with Delphi, so thanks for your example.

    However a bunch of included files are missing, and I was wondering if you could tell me where I can find them. Especially lua and lauxlib which I guess are lua type and function definitions? But also GShared and GCore - I guess those are girder type and function definitions?

    If these files are publicly available I'd really appreciate a pointer to where I can find them :-)

    //michael

Page 1 of 5 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •