Jump to content

Working with gui square one question

Recommended Posts

I know this is a stupid question and if someone can point me to the source code of one that works that would be fine (searching for "source code" in the forum seems to lead to threads containing broken links). I just need to get some basic gui going in an effects plugin. I can see that the CreateConfigDialog is what is presumably called, but in the effects template such a method is included but calling it doesn't actually create the form.

Gui is my weakest area, and frankly I know WPF better than I know winforms, which I barely know (I suppose I mostly think of it as being similar to Java Swing).

Can anyone can point me to source code for effects with gui where the changes made (e.g. to a slider in the gui) can be seen immediately as the slider is changed, rather than

after the form is closed?

-John Robertson

Link to comment
Share on other sites

If you're just making a simple UI, you might want to try creating your effect with CodeLab.

With CodeLab, you just write the render loop and let CodeLab worry about the UI code.

Start here: http://www.boltbait.com/pdn/codelab/help/overview.html

Examples here: http://www.boltbait.com/pdn/codelab/help/uielements.html

Click to play:
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...