/** * Adds an topobj to a TopMenu. * * @param topmenu TopMenu Handle. * @param name Object name (MUST be unique). * @param type Object type. * @param handler Handler for topobj. * @param parent Parent topobj ID, or INVALID_TOPMENUOBJECT for none. * Items must have a category parent. * Categories must not have a parent. * @param cmdname Command name (for access overrides). * @param flags Default access flags. * @param info_string Arbitrary storage (max 255 bytes). * @return A new TopMenuObject ID, or INVALID_TOPMENUOBJECT on * failure. * @error Invalid TopMenu Handle. */ public static TopMenuObject AddToTopMenu(Handle topmenu, string name, TopMenuObjectType type, TopMenuHandler handler, TopMenuObject parent, string cmdname = "", int flags = 0, string info_string = "") { throw new NotImplementedException(); }
/** * Creates a TopMenu. * * @param handler Handler to use for drawing the root title. * @return A new TopMenu Handle, or INVALID_HANDLE on failure. */ public static TopMenu CreateTopMenu(TopMenuHandler handler) { throw new NotImplementedException(); }
// Adds an item to a TopMenu category. // // @param name Object name (MUST be unique). // @param handler Handler for topobj. // @param category The object of the parent category for the item. // @param cmdname Command name (for access overrides). // @param flags Default access flags. // @param info_string Arbitrary storage (max 255 bytes). // @return A new TopMenuObject ID, or INVALID_TOPMENUOBJECT on failure. public TopMenuObject AddItem(string name, TopMenuHandler handler, TopMenuObject parent, string cmdname = "", int flags = 0, string info_string = "") { throw new NotImplementedException(); }