Jump to content

Developing an Effect Plugin Without CodeLab


Recommended Posts

So, I have an effect I'd like to program, and after finding CodeLab, I find it doesn't support dynamic UI controls, which I need, so I am trying to write a plugin in C# just using references to the Paint.NET assemblies, I.e. PaintDotNet.exe, PaintDotNet.Core.dll... and so on. Anyone know if this is possible, and if so, any pointers? (pun intended).

Link to comment
Share on other sites

Link to comment
Share on other sites

Good luck!  Feel free to post other questions and queries here if you get stuck.

Link to comment
Share on other sites

Okay, so after following that guide, i'm wondering how to use IndirectUI in it...?

 

 

Got that, but can I use indirectui to validate values, i.e.. disable the 'OK' button when there are invalid values in the controls.

 

Also, is there a control to make a Button, like the 'randomize' ones inside of the dialog?

Edited by AlphaModder
Link to comment
Share on other sites

Check out these links:

 

This is midora's PropertyBased Effect template - it should help you figure out IndirectUI: http://forums.getpaint.net/index.php?/topic/26516-propertybasedeffect-template-using-indirectui/

 

RE: Validation.  There is this excellent guide to IndirectUI 'rules' by Simon Brown: http://forums.getpaint.net/index.php?/topic/22046-tutorial-how-to-use-indirectui-rules/

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.

Guest
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...