Radiant:
misc... * local gtk2 themes support; cfgs are .gtkrc-2.0.radiant, .gtkrc-2.0.win; +~100 themes included; MS-Windows theme is one, inheriting current appearence on Windows * GTK2 theme & font selector (Misc->Colors->Gtk theme...) (need restart after pair of naughty engines tho) * openGL implementaion of rubberband selector (w/o rerendering whole scene) (fixes visual issues with Aero)
This commit is contained in:
@@ -543,6 +543,21 @@ void user_shortcuts_save(){
|
||||
SaveCommandMap( path.c_str() );
|
||||
}
|
||||
|
||||
void add_local_rc_files(){
|
||||
{
|
||||
StringOutputStream path( 512 );
|
||||
path << AppPath_get() << ".gtkrc-2.0.radiant";
|
||||
gtk_rc_add_default_file( path.c_str() );
|
||||
}
|
||||
#ifdef WIN32
|
||||
{
|
||||
StringOutputStream path( 512 );
|
||||
path << AppPath_get() << ".gtkrc-2.0.win";
|
||||
gtk_rc_add_default_file( path.c_str() );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
int main( int argc, char* argv[] ){
|
||||
crt_init();
|
||||
|
||||
@@ -594,6 +609,8 @@ int main( int argc, char* argv[] ){
|
||||
|
||||
paths_init();
|
||||
|
||||
add_local_rc_files();
|
||||
|
||||
if ( !check_version() ) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user