Jump to content

IndirectUI with no UI


Recommended Posts

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?

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