diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2018-10-31 16:49:19 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2018-10-31 16:49:19 +0100 |
| commit | 5426330c7560610843228758684e886d5d672b9c (patch) | |
| tree | 8b1f8be89abd8f0040ef252487ed3b6cd190b335 /SymbolDummy.c4d | |
| parent | c820da04c3653adc43913d567a8e3cfed71cba45 (diff) | |
| download | DTMenuDebug.c4d-5426330c7560610843228758684e886d5d672b9c.tar.gz DTMenuDebug.c4d-5426330c7560610843228758684e886d5d672b9c.zip | |
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)
Diffstat (limited to 'SymbolDummy.c4d')
| -rw-r--r-- | SymbolDummy.c4d/DefCore.txt | 5 | ||||
| -rw-r--r-- | SymbolDummy.c4d/Graphics.png | bin | 126 -> 0 bytes | |||
| -rw-r--r-- | SymbolDummy.c4d/Script.c | 16 |
3 files changed, 0 insertions, 21 deletions
diff --git a/SymbolDummy.c4d/DefCore.txt b/SymbolDummy.c4d/DefCore.txt deleted file mode 100644 index 5592096..0000000 --- a/SymbolDummy.c4d/DefCore.txt +++ /dev/null @@ -1,5 +0,0 @@ -[DefCore]
-id=MS7I
-Name=Menu symbol dummy
-Version=4,9,5
-Category=C4D_StaticBack
diff --git a/SymbolDummy.c4d/Graphics.png b/SymbolDummy.c4d/Graphics.png Binary files differdeleted file mode 100644 index 6b1b504..0000000 --- a/SymbolDummy.c4d/Graphics.png +++ /dev/null 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; -} |
