diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2018-10-31 16:44:20 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2018-10-31 16:44:20 +0100 |
| commit | c9844e36e79a7fcf995c6c1593b987cff538f00a (patch) | |
| tree | a6df5b3cf008af20709f8b67d0945f3da2a02f69 /InstantDescriptionDecoration.c4d/Script.c | |
| parent | 111506601493325aeefb01df6502a4ca27fceb03 (diff) | |
| download | DTMenu.c4d-c9844e36e79a7fcf995c6c1593b987cff538f00a.tar.gz DTMenu.c4d-c9844e36e79a7fcf995c6c1593b987cff538f00a.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 'InstantDescriptionDecoration.c4d/Script.c')
| -rw-r--r-- | InstantDescriptionDecoration.c4d/Script.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/InstantDescriptionDecoration.c4d/Script.c b/InstantDescriptionDecoration.c4d/Script.c new file mode 100644 index 0000000..1862b57 --- /dev/null +++ b/InstantDescriptionDecoration.c4d/Script.c @@ -0,0 +1,9 @@ +#strict 2
+
+static const DT_Menu_DefaultInstantDescriptionDecoration = DD7I;
+
+func FrameDecorationBackClr() { return 0x5f000000; } // C4GUI_StandardBGColor
+func FrameDecorationBorderTop() { return 14; }
+func FrameDecorationBorderLeft() { return 2; }
+func FrameDecorationBorderRight() { return 4; }
+func FrameDecorationBorderBottom() { return 2; }
|
