cmontiel
Member
|
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 |
|
PsychoBoy
Member
|
RE: Extending gui objects
More info? Button is not getting rendered?
Both tuts works fine for me.
|
|
05-10-2012 03:40 AM |
|
Esenthel
Administrator
|
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 |
|
cmontiel
Member
|
RE: Extending gui objects
Thanks, that was the issue. My fault sorry.
IRC: irc.freenode.net
Channel: #Esenthel
|
|
05-11-2012 12:28 AM |
|