L3DT development blog
Large 3D terrain generator

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
 
l3dt/2009/jun.txt · Last modified: 2017/08/31 05:47 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
L3DT Development Blog RSS Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki