BoltBait Posted April 27, 2008 Share Posted April 27, 2008 I can not compile an IndirectUI based effect that has no UI without supplying an empty OnCreatePropertyCollection function override. It seems to me that a default, empty function could be provided by Paint.NET. protected override PropertyCollection OnCreatePropertyCollection() { List props = new List(); return new PropertyCollection(props); } This goes along with EffectFlags.None to create an IndirectUI plugin without a UI. So, I guess my question is... why is CreatePropertyCollection an abstract? Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Simon Brown Posted April 27, 2008 Share Posted April 27, 2008 Why would you want to use IndirectUI if your plugin didn't have a UI? Quote Link to comment Share on other sites More sharing options...
pyrochild Posted April 27, 2008 Share Posted April 27, 2008 CodeLab Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Simon Brown Posted April 27, 2008 Share Posted April 27, 2008 CodeLab Oh Quote Link to comment Share on other sites More sharing options...
BoltBait Posted April 27, 2008 Author Share Posted April 27, 2008 Yes. I am finishing up CodeLab with IndirectUI support. One thing I noticed is that when your effect has no UI, I have to generate different code than what I expected. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game 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.