![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
A set of basic GTK includes for the UI. More...
Go to the source code of this file.
A set of basic GTK includes for the UI.
There are some tricky points to consider when including the basic GTKmm headers. Especially, GTK tries to shadow the ERROR macro from Microsoft Windows. Unfortunately this breaks the ERROR macro from NoBug; thus we need to include NoBug after GTK
Besides, this header defines the basic NLS. Most parts of the GUI rely on this header.
The GUI backbone retrieves the necessary configuration values from lumiera::Config, the config facade in the application core. Currently as of 2/2011 these values are loaded from setup.ini, because the full-blown config system is not yet implemented. Amongst others, this configuration defines a search path for icons and a separate search path for resources. These path specs may use the token $ORIGIN to refer to the installation directory of the currently executing program. This allows for a relocatable Lumiera installation bundle.
Definition in file gtk-base.hpp.
#include "lib/hash-standard.hpp"#include <locale>#include <gtkmm.h>#include <nobug.h>#include "lib/error.hpp"#include "lib/integral.hpp"Namespaces | |
| namespace | lumiera |
| Lumiera public interface. | |
| namespace | lumiera::error |
| namespace | stage |
| Lumiera GTK UI implementation root. | |
| namespace | stage::ctrl |
| Backbone of the Lumiera GTK UI. | |
| namespace | stage::interact |
| UI interaction control. | |
| namespace | stage::model |
| The Lumiera GTK-GUI uses a thin proxy layer data model on top of the actual "high-level-model", which lives in the Steam-Layer below. | |
| namespace | stage::output |
| Video output implementation. | |
| namespace | stage::dialog |
| Dialog box classes. | |
| namespace | stage::panel |
| Docking panel classes. | |
| namespace | stage::setting |
| The asset management, configuration and project settings. | |
| namespace | stage::timeline |
| The timeline display and editing operations. | |
| namespace | stage::workspace |
| The global workspace with top-level windows. | |
| namespace | stage::widget |
| Lumiera custom widgets. | |
| namespace | stage::draw |
| Display and drawing helpers and utilities. | |
| namespace | stage::idi |
| generic definitions for element ID and access. | |
Macros | |
| #define | _(String) (String) |
| #define | N_(String) String |
| #define | textdomain(Domain) |
| #define | bindtextdomain(Package, Directory) |
Typedefs | |
| using | uString = Glib::ustring |
| using | cuString = const uString |
| using | PStyleContext = Glib::RefPtr< Gtk::StyleContext > |
| using | PCairoContext = Cairo::RefPtr< Cairo::Context > |
Functions | |
| LUMIERA_ERROR_DECLARE (UIWIRING) | |
| #define _ | ( | String | ) | (String) |
Definition at line 68 of file gtk-base.hpp.
| #define N_ | ( | String | ) | String |
Definition at line 69 of file gtk-base.hpp.
| #define textdomain | ( | Domain | ) |
Definition at line 70 of file gtk-base.hpp.
| #define bindtextdomain | ( | Package, | |
| Directory | |||
| ) |
Definition at line 71 of file gtk-base.hpp.