From c9844e36e79a7fcf995c6c1593b987cff538f00a Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Wed, 31 Oct 2018 16:44:20 +0100 Subject: Add Menu_Closable allows menus to be closed without returning Menu_React_Close in the callbacks (was broken since always setting the native menu to permanent) Rename Symbol -> Icon, InfoCaption -> Description and Caption to Title or Text (Menu_Title, but Menu_Entry_Text) Add Menu_InstantDescription (shows the description of the current entry instantly in a separate dialog) Fix deletion of object icons (the object was always deleted regardless if specified or not) --- SymbolDummy.c4d/Script.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 SymbolDummy.c4d/Script.c (limited to 'SymbolDummy.c4d/Script.c') diff --git a/SymbolDummy.c4d/Script.c b/SymbolDummy.c4d/Script.c deleted file mode 100644 index 4032726..0000000 --- a/SymbolDummy.c4d/Script.c +++ /dev/null @@ -1,16 +0,0 @@ -#strict 2 - -static const DT_Menu_SymbolDummy = MS7I; - -func SetSymbol(id symbol, int nr) -{ - SetGraphics(0, this, symbol); - SetPicture(GetDefCoreVal("Picture", "DefCore", symbol, 0) + nr * GetDefCoreVal("Picture", "DefCore", symbol, 2), GetDefCoreVal("Picture", "DefCore", symbol, 1), GetDefCoreVal("Picture", "DefCore", symbol, 2), GetDefCoreVal("Picture", "DefCore", symbol, 3)); - return this; -} - -func SetColor(int color) -{ - SetClrModulation(color); - return this; -} -- cgit v1.2.3-54-g00ecf