![]() |
Blamite Game Engine - blam!
00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
|
#include "menubar.h"
#include <vector>
#include <fstream>
#include <Strings/components/3rdparty/rapidxml/rapidxml.hpp>
#include <Strings/components/utils/converters/converters.h>
#include <Strings/components/utils/io/io.h>
#include "components/settings/config/config.h"
#include "components/diagnostics/logger/logger.h"
#include "components/resources/engine_text/engine_text.h"
Functions | |
bool | load_menu_bar_item (rapidxml::xml_node<> *menu_item_node, BlamMenubarItem *item) |
Parses a menu bar item from an XML node. More... | |
bool | generate_default_menubar () |
Variables | |
BlamMenubar * | menu_bar_data = nullptr |
The currently loaded menu bar data. More... | |
bool generate_default_menubar | ( | ) |
bool load_menu_bar_item | ( | rapidxml::xml_node<> * | menu_item_node, |
BlamMenubarItem * | item | ||
) |
Parses a menu bar item from an XML node.
menu_item_node | - The XML node to parse. |
item | - Pointer to the menu bar item to create. The item should already be initialized. |
true
if the item was parsed successfully, otherwise returns false
. BlamMenubar* menu_bar_data = nullptr |
The currently loaded menu bar data.