About Store Forum Documentation Contact



Post Reply 
Extending gui objects
Author Message
cmontiel Offline
Member

Post: #1
Extending gui objects
Tutorials 09 - Extending Gui Ojbects.cpp and 10 - Extending and Loading Gui Objects.cpp aren't working for me. It seems that updade and draw functions from Button2 are never called.

Should I change or add something to get it working?

IRC: irc.freenode.net
Channel: #Esenthel
05-07-2012 06:26 PM
Find all posts by this user Quote this message in a reply
PsychoBoy Offline
Member

Post: #2
RE: Extending gui objects
More info? Button is not getting rendered?
Both tuts works fine for me.
05-10-2012 03:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: Extending gui objects
Pls check this info:
"-IMPORTANT: virtual gui object methods (such as 'update' and 'draw') have "GuiPC &" parameter changed to "C GuiPC &", please adjust your codes by adding the const modifier"
from http://www.esenthel.com/community/showth...8#pid32038
maybe you haven't used updated tutorial code?
05-10-2012 05:45 AM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #4
RE: Extending gui objects
Thanks, that was the issue. My fault sorry.

IRC: irc.freenode.net
Channel: #Esenthel
05-11-2012 12:28 AM
Find all posts by this user Quote this message in a reply
Post Reply