ring2
June 20, 2006, 4:31am
1
Hi there,
I want to add some classes to the class which exported by Jucer,
[code]class MyPane : public Component
//[UserBaseClass]
,
public SomeListenerClass
//[/UserBaseClass]
{
public:
MyPane ();
:
[/code]
So I added to the template like this,
%%classDeclaration%%
//[UserBaseClass]
//[/UserBaseClass]
{
Does it make sense for everyone?
Best regards,
Masanao Hayashi
jules
June 20, 2006, 8:53am
2
In fact you don’t have to edit the template - on the class settings page, there’s a field called “parent classes”, where you can type in a list of base classes to use…
ring2
June 20, 2006, 5:06pm
3
Ah! …yes, that is what I wanted to do…
Thanks!
jules
June 20, 2006, 5:16pm
4
There’s a lot of stuff like that in the jucer that needs better help tips.
haydxn
June 20, 2006, 10:12pm
5
i’ll surely have a section in the tutorial about it too