fonts are now delivered by FGFontCache (except for the splash screen,
because this comes way before the gui subsystem is ready)
This commit is contained in:
parent
f729ec6013
commit
54ee68291b
2 changed files with 0 additions and 10 deletions
|
@ -319,14 +319,6 @@ FGDialog::FGDialog (SGPropertyNode * props)
|
||||||
: _object(0),
|
: _object(0),
|
||||||
_gui((NewGUI *)globals->get_subsystem("gui"))
|
_gui((NewGUI *)globals->get_subsystem("gui"))
|
||||||
{
|
{
|
||||||
char* envp = ::getenv( "FG_FONTS" );
|
|
||||||
if ( envp != NULL ) {
|
|
||||||
_font_path.set( envp );
|
|
||||||
} else {
|
|
||||||
_font_path.set( globals->get_fg_root() );
|
|
||||||
_font_path.append( "Fonts" );
|
|
||||||
}
|
|
||||||
|
|
||||||
display(props);
|
display(props);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -163,8 +163,6 @@ private:
|
||||||
// dialog closes.
|
// dialog closes.
|
||||||
char ** make_char_array (int size);
|
char ** make_char_array (int size);
|
||||||
vector<char **> _char_arrays;
|
vector<char **> _char_arrays;
|
||||||
|
|
||||||
SGPath _font_path;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Reference in a new issue