kltv
07-30-2004, 10:37 PM
Hi everybody,
I'm trying to do my first ToasterScript and I've managed to confuse myself a little. A couple questions...
I'm trying to build a simplified custom skin for the CG module with a bunch of buttons to insert text strings into a template with specific text layers and to toggle the "DoNotDraw" on a few specific image layers.
Do I need to worry about the exisiting mask colors in the Default skin at all? I'm not really using any buttons from the standard skin, but I may have used mask colors defined in the default skin. I haven't checked, but I started worrying about it.
I believe I've written the code for my custom button functions correctly, but I'm not exactly sure how the CreateControl(r,g,b,"name") works. Does the name call the function or even matter at all? If I have a function built called KrisButton() how should I code the CreateControl line to define the button?
Sorry if these are really easy and I'm just not getting it. It's been quite a while since I've tried on my computer programming hat...
Thanks everybody,
Kris:)
I'm trying to do my first ToasterScript and I've managed to confuse myself a little. A couple questions...
I'm trying to build a simplified custom skin for the CG module with a bunch of buttons to insert text strings into a template with specific text layers and to toggle the "DoNotDraw" on a few specific image layers.
Do I need to worry about the exisiting mask colors in the Default skin at all? I'm not really using any buttons from the standard skin, but I may have used mask colors defined in the default skin. I haven't checked, but I started worrying about it.
I believe I've written the code for my custom button functions correctly, but I'm not exactly sure how the CreateControl(r,g,b,"name") works. Does the name call the function or even matter at all? If I have a function built called KrisButton() how should I code the CreateControl line to define the button?
Sorry if these are really easy and I'm just not getting it. It's been quite a while since I've tried on my computer programming hat...
Thanks everybody,
Kris:)