Howto:Creating a Canvas GUI Widget: Difference between revisions

Jump to navigation Jump to search
Line 220: Line 220:
</syntaxhighlight>
</syntaxhighlight>


Next, we need to wrap this in a Widget.nas child class:
Next, we need to wrap this in a Widget.nas child class and add the corresponding boilerplate code to DefaultStyle.nas:


<syntaxhighlight lang="diff">
<syntaxhighlight lang="diff">

Navigation menu