Q: Image Buttons?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/01/2003 at 23:53, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 7
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;---------
Hi
There are a couple of Question I have:- Can I implement imagebuttons?
- Can I make a tool button? (A button that works like the selection or move tool, that automaticly deactivates the previous tool-button)
- Can I implement the move/scale buttons like in the image viewer or the 3D View?
- How can I check which tool (selecting, move, scale, rotate ...) is active? I get a message when the tool is changed, but I can't figure out how to extract the needed information...
- Where can I find out what the messages mean/is there a message documentation?
Can anything above be programmed in COFFEE?
Thanks in advance
cya -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/01/2003 at 06:42, xxxxxxxx wrote:
Hi Zed,
> * Can I implement imagebuttons?
> * Can I make a tool button? (A button that works like the selection or move tool, that automaticly deactivates the previous tool-button)I don't know if you can send inter-plugin messages in XL7. But you can create several plugins (in this case MENUPLUGINS) in one CDL-File and keep track of the current selection of your tool with a global status.
> * Can I implement the move/scale buttons like in the image viewer or the 3D View?
I don't know, but I dont't think that this is possible easily.
> * How can I check which tool (selecting, move, scale, rotate ...) is active? I get a message when the tool is changed, but I can't figure out how to extract the needed information...
If you have a MENUPLUGIN, your Execute() callback function will get a BaseDocument parameter, say "doc". You can check the current editor mode with doc->GetMode().
> * Where can I find out what the messages mean/is there a message documentation?
I asked this here some time ago:
<[URL-REMOVED]>In R8 the message handling has been simplified - see "Core Messages" in docu.
Hope that helps. Ciao,
Marcus
[URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/01/2003 at 06:48, xxxxxxxx wrote:
Uuuups, I didn't see/read that want to code in COFFEE. Ehem, well, then forget my answers. It was for the C++ SDK. Perhaps you can do something analogous, but I don't know. Sorry...
Marcus
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/01/2003 at 14:06, xxxxxxxx wrote:
NNIC ("No, not in C.O.F.F.E.E."), except that some of the message documentation in the linked thread above applies to C.O.F.F.E.E. as well.
Also, in C++ you would make a "tool button" by creating a tool plugin and adding it as a button from the Command Manager.