Table of Contents

News for June 2009

June 28

Plugin menu options

Hi Everyone,

The menu has been shuffled a little in the the latest developmental build of L3DT (v2.7 build 17, released today). Previously, plugins could only add items to the 'Extensions' menu in L3DT. In the latest developmental build, plugins can now add options to other menu contexts, such as the 'File→Import' and 'File→Export' menus. This change is intended to make options provided by plugins more easy to find, as it groups options by what they do (i.e. 'import', 'export') rather than by whence they came (i.e. 'extensions'). Additional menu contexts will be added in subsequent updates to L3DT.

Developers should note that this change is implemented using a new 'menu_InsertItem2' API function, which has been added to the Zeolite API update that will accompany L3DT release 2.8. The new 'menu_InsertItem2' function takes a MenuContext argument, and all supported values of which will be enumerated in the 'ExtAPI_defines.h' file. This new 'menu_InsertItem2' API function replaces the 'menu_InsertItemEx' function, which has been removed from the public API and should no longer be used. However, backwards compatibility has been retained, and older plugins that continue to use 'menu_InsertItemEx' will be supported indefinitely.

Cheerio, Aaron.

2011/01/13 07:35