mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-19 04:00:19 +00:00
add gtk+ preference tool
This commit is contained in:
32
src/gtk2-prefs/main.h
Normal file
32
src/gtk2-prefs/main.h
Normal 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
|
||||
Reference in New Issue
Block a user