Simon Brown Posted March 10, 2008 Author Share Posted March 10, 2008 You must be referencing some old dll's to be able to override SetRenderInfo. OnSetRenderInfo is the one you shoukld be overriding. OnSetRenderInfo() is what I meant. Quote Link to comment Share on other sites More sharing options...
jchunn Posted March 10, 2008 Share Posted March 10, 2008 He is talking about OnSetRenderInfo... he just left out the "On". Edit: Guess we posted at the same time. Quote Total hack. Link to comment Share on other sites More sharing options...
pyrochild Posted March 10, 2008 Share Posted March 10, 2008 Look! I spelled should wrong! He is talking about OnSetRenderInfo... he just left out the "On".You're a little late. But I had to make sure, since in an earlier beta version of PDN, OnSetRenderInfo was called SetRenderInfo. 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...
jchunn Posted March 10, 2008 Share Posted March 10, 2008 You're a little late. But I had to make sure, since in an earlier beta version of PDN, OnSetRenderInfo was called SetRenderInfo. Understood. I still think that SABrown is tackling this thing in a strange and twisted kinda way. SABrown, if you want to just pm your code to me, I'll be happy to take a look and see if maybe I can spot some places where I can help you out with some of the issues you are having... two heads are better than one, after all. Just a suggestion. Quote Total hack. Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 10, 2008 Share Posted March 10, 2008 You're a little late. But I had to make sure, since in an earlier beta version of PDN, OnSetRenderInfo was called SetRenderInfo. SetRenderInfo() is the public method, which then calls the protected and virtual OnSetRenderInfo(). But yeah an earlier build didn't have it split up like that. 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...
jchunn Posted March 10, 2008 Share Posted March 10, 2008 You're a little late. But I had to make sure, since in an earlier beta version of PDN, OnSetRenderInfo was called SetRenderInfo. SetRenderInfo() is the public method, which then calls the protected and virtual OnSetRenderInfo(). And that is generally the standard way of doing things... which makes it intuitive for people like me... I very much appreciate it when API's follow the established conventions... it allows me to hit the ground running. Quote Total hack. 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.