add gtk+ preference tool

This commit is contained in:
Berke Viktor
2011-08-17 06:51:34 +02:00
parent 4514516712
commit 80be398c40
13 changed files with 2186 additions and 0 deletions

32
src/gtk2-prefs/main.h Normal file
View File

@@ -0,0 +1,32 @@
/***************************************************************************
main.cpp - description
-------------------
begin : Wed Jan 1 2003
copyright : (C) 2003 - 2005 by Alex Shaduri
email : ashaduri '@' gmail.com
***************************************************************************/
#ifndef _MAIN_H_
#define _MAIN_H_
#include <string>
std::string& get_orig_theme();
std::string& get_orig_font();
std::string get_current_theme();
std::string get_current_font();
std::string get_selected_theme();
std::string get_selected_font();
void set_theme(const std::string& theme_name, const std::string& font);
void apply_theme(const std::string& theme_name, const std::string& font);
bool save_current_theme();
void program_shutdown();
#endif