NinthDesertDude Posted February 17, 2016 Share Posted February 17, 2016 I don't know how much experience you guys have with visual studio, but I've been working on a plugin recently and decided I was sick of the default Winforms sliders. I want to use Paint.Net's IndirectUI where I can to minimize the confusion users might have when working with my plugin. But, since my plugin is fairly advanced, I can't design it entirely with IndirectUI; I have functionality that can't be replicated with the few controls available. I tried importing the controls into Visual Studio Designer, but I couldn't find anything (except the angle choose control, which I don't need). I guess that's why it's called IndirectUI. I'm setting up the IndirectUI controls, but I'd like to have total control over where they are placed and so on. I don't know how to handle this with my current understanding of the framework; it looks like I just have CreateDefaultConfigUI() for the layout. I can't do this since I must have my own controls for the plugin to function correctly. Any ideas? Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted February 17, 2016 Share Posted February 17, 2016 You can't mix WinForm Controls with IndirectUI. midora has the OptionBasedEffects library. It will create a UI that's similar to InidrectUI, but it's much more flexible and also provides a lot more Controls. 1 Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
MJW Posted February 17, 2016 Share Posted February 17, 2016 I've asked about this in the past, and there appears to be no way to do what you want. Midora's OptionBasedEffects are much more flexible, but there's almost no documentation. Midora says they are very similar to the PropertyBased effects of IndirectUI. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted February 17, 2016 Share Posted February 17, 2016 Midora's OptionBasedEffects are much more flexible, but there's almost no documentation. Midora says they are very similar to the PropertyBased effects of IndirectUI. I'll post the updated source of my Graph Paper later today. That will give you an example (not sure how good it really is though, enough to get it to work at least). 2 Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
MJW Posted February 17, 2016 Share Posted February 17, 2016 That would be great! Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted February 17, 2016 Share Posted February 17, 2016 IndirectUI can't be used like this. Well, technically, it can, but it's a bug and it won't work in the next update. If you need more customization, IndirectUI is not the right solution for you. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.