Compare commits

...

34 Commits

Author SHA1 Message Date
Michele Calgaro f1fe95cccf
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
TDE Weblate 1784b19c7e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/tde-style-ia-ora - twin
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-twin/
6 months ago
Heimen Stoffels 2ddcf173ec Translated using Weblate (Dutch)
Currently translated at 100.0% (2 of 2 strings)

Translation: applications/tde-style-ia-ora - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-desktop-files/nl/
6 months ago
Heimen Stoffels 677334c64d Translated using Weblate (Dutch)
Currently translated at 100.0% (3 of 3 strings)

Translation: applications/tde-style-ia-ora - twin
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-twin/nl/
6 months ago
Heimen Stoffels 3c3ab3c71c Added translation using Weblate (Dutch) 6 months ago
Heimen Stoffels b86d305f23 Added translation using Weblate (Dutch) 6 months ago
TDE Weblate fcba998c9d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/tde-style-ia-ora - twin
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-twin/
6 months ago
Michele Calgaro 367b3ab6b5
Use tdestandarddirs.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro 846b41b898 Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings)

Translation: applications/tde-style-ia-ora - twin
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-twin/it/
7 months ago
Michele Calgaro 4085c87ee4 Translated using Weblate (Italian)
Currently translated at 100.0% (2 of 2 strings)

Translation: applications/tde-style-ia-ora - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-desktop-files/it/
7 months ago
Michele Calgaro f2c7457288 Added translation using Weblate (Italian) 7 months ago
Michele Calgaro b319fd37b3 Added translation using Weblate (Italian) 7 months ago
Temuri Doghonadze 4c6f5b92f7 Translated using Weblate (Georgian)
Currently translated at 100.0% (3 of 3 strings)

Translation: applications/tde-style-ia-ora - twin
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-twin/ka/
11 months ago
Temuri Doghonadze 2d6e9124b5 Translated using Weblate (Georgian)
Currently translated at 100.0% (2 of 2 strings)

Translation: applications/tde-style-ia-ora - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-desktop-files/ka/
11 months ago
Temuri Doghonadze 32ad637f23 Added translation using Weblate (Georgian) 11 months ago
Temuri Doghonadze f13667232f Added translation using Weblate (Georgian) 11 months ago
TDE Weblate 35f049b70f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/tde-style-ia-ora - twin
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-twin/
12 months ago
TDE Weblate c6b1845531 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/tde-style-ia-ora - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-desktop-files/
12 months ago
Michele Calgaro e332e42f53
Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITY
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 761017d5e2
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Andrei Stepanov 9e5afc6b4d Translated using Weblate (Russian)
Currently translated at 100.0% (3 of 3 strings)

Translation: applications/tde-style-ia-ora - twin
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-twin/ru/
1 year ago
Andrei Stepanov 5bbd8ebf0d Added translation using Weblate (Russian) 1 year ago
Andrei Stepanov 70d8e947aa Translated using Weblate (Russian)
Currently translated at 100.0% (2 of 2 strings)

Translation: applications/tde-style-ia-ora - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tde-style-ia-ora-desktop-files/ru/
1 year ago
Andrei Stepanov 5e7e179713 Added translation using Weblate (Russian) 1 year ago
Michele Calgaro dbb446f6bb
Remove unnecessary files
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Mavridis Philippe bf94b5f4d8 Added GTK+2.0 engine
Ia Ora was created by Mandriva so that Qt and GTK applications could have a uniform
look. It only seems fair to include the GTK style with the TDE style.

Source: https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/SRPMS/core/release/ia_ora-gnome-1.0.25-12.mga9.src.rpm
Licence: GNU GPL v2 or later

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Michele Calgaro bb0a8ec627
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 454a88c976
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 5f02e9c3f3
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 5fb23d8504
Raise the minimum required version of CMake to 3.5.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro 44709f1642
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro a47b946ea1
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 1a898e5b81
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Mavridis Philippe 25c1960451
Rename library twin3_iaora -> twin_iaora
Related to TDE/tdebase#364.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago

@ -9,7 +9,11 @@
#
#################################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
##### include our cmake modules #################

@ -7,7 +7,11 @@
############################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
#### general package setup
@ -31,11 +35,6 @@ include( CheckCXXSourceCompiles )
include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### setup install paths
include( TDESetupPaths )
@ -52,6 +51,7 @@ option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden"
option( BUILD_ALL "Build all" ON )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
option( BUILD_GTK_ENGINE "Build GTK+2.0 engine" ${BUILD_ALL} )
##### configure checks

@ -23,3 +23,19 @@ tde_setup_largefiles( )
if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( )
endif( WITH_GCC_VISIBILITY )
if( BUILD_GTK_ENGINE )
pkg_search_module( GTK gtk+-2.0 )
if( NOT GTK_FOUND )
tde_message_fatal( "The GTK+2 engine was selected for build, but GTK+2 headers were not found on your system." )
endif( )
pkg_get_variable( GTK_BIN_VERSION gtk+-2.0 gtk_binary_version )
set( INSTALL_PATH_GTK_ENGINES "${GTK_LIBDIR}/gtk-2.0/${GTK_BIN_VERSION}/engines"
CACHE PATH "The directory in which to install the theme engine library" )
message( STATUS " theme engine lib directory: ${INSTALL_PATH_GTK_ENGINES}" )
set( INSTALL_PATH_GTK_THEMES "${GTK_PREFIX}/share/themes"
CACHE PATH "The directory in which to install the theme data" )
message( STATUS " theme engine data directory: ${INSTALL_PATH_GTK_THEMES}" )
endif( BUILD_GTK_ENGINE )

@ -1,275 +0,0 @@
# Doxyfile 1.4.1-KDevelop
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = ia_ora.kdevelop
PROJECT_NUMBER = 0.1
OUTPUT_DIRECTORY =
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = /home/montel/
STRIP_FROM_INC_PATH =
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 8
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_JAVA = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = NO
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = YES
EXTRACT_LOCAL_METHODS = NO
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = NO
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
SORT_BRIEF_DOCS = NO
SORT_BY_SCOPE_NAME = NO
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
SHOW_DIRECTORIES = YES
FILE_VERSION_FILTER =
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_NO_PARAMDOC = NO
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = /home/montel/ia_ora
FILE_PATTERNS = *.c \
*.cc \
*.cxx \
*.cpp \
*.c++ \
*.java \
*.ii \
*.ixx \
*.ipp \
*.i++ \
*.inl \
*.h \
*.hh \
*.hxx \
*.hpp \
*.h++ \
*.idl \
*.odl \
*.cs \
*.php \
*.php3 \
*.inc \
*.m \
*.mm \
*.dox \
*.C \
*.CC \
*.C++ \
*.II \
*.I++ \
*.H \
*.HH \
*.H++ \
*.CS \
*.PHP \
*.PHP3 \
*.M \
*.MM \
*.C \
*.H \
*.tlh \
*.diff \
*.patch \
*.moc \
*.xpm \
*.dox
RECURSIVE = yes
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_PATTERNS =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = NO
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
LATEX_HIDE_INDICES = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = yes
XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::additions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE = ia_ora.tag
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
GROUP_GRAPHS = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = NO
GRAPHICAL_HIERARCHY = YES
DIRECTORY_GRAPH = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
MAX_DOT_GRAPH_DEPTH = 1000
DOT_TRANSPARENT = NO
DOT_MULTI_TARGETS = NO
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::additions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO

@ -1,7 +1,7 @@
#define VERSION "@VERSION@"
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */

@ -1,2 +1,3 @@
add_subdirectory( widget )
add_subdirectory( twin )
tde_conditional_add_subdirectory( BUILD_GTK_ENGINE gtk )

@ -0,0 +1,2 @@
add_subdirectory(engine)
add_subdirectory(styles)

@ -0,0 +1,21 @@
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${GTK_INCLUDE_DIRS}
)
link_directories(
${GTK_LIBDIR}
)
tde_add_library(ia_ora SHARED
SOURCES
ia_ora_theme_draw.c
ia_ora_theme_main.c
ia_ora_rc_style.c
LINK ${GTK_LIBRARIES}
DESTINATION ${INSTALL_PATH_GTK_ENGINES}
)

@ -0,0 +1,217 @@
/* Ia Ora theme
* Copyright (C) 2006 Frederic Crozat - Mandriva
* 1999 Olivier Fourdan (fourdan@xfce.org) for XFCE code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "ia_ora_rc_style.h"
#include "ia_ora_style.h"
static void ia_ora_rc_style_init(Ia_OraRcStyle * style);
static void ia_ora_rc_style_class_init(Ia_OraRcStyleClass * klass);
static void ia_ora_rc_style_finalize(GObject * object);
static guint ia_ora_rc_style_parse(GtkRcStyle * rc_style, GtkSettings * settings, GScanner * scanner);
static void ia_ora_rc_style_merge(GtkRcStyle * dest, GtkRcStyle * src);
static GtkStyle *ia_ora_rc_style_create_style(GtkRcStyle * rc_style);
static GtkRcStyleClass *ia_ora_parent_rc_class;
GType ia_ora_type_rc_style = 0;
enum
{
TOKEN_GRADIENT = G_TOKEN_LAST + 1,
TOKEN_CROSS,
TOKEN_BLACK_CHECK,
TOKEN_TRUE,
TOKEN_FALSE,
};
static struct
{
const gchar *name;
guint token;
}
ia_ora_rc_symbols[] =
{
{ "enable_gradient", TOKEN_GRADIENT },
{ "use_cross", TOKEN_CROSS},
{ "black_check", TOKEN_BLACK_CHECK},
{ "TRUE", TOKEN_TRUE},
{ "FALSE", TOKEN_FALSE},
};
void ia_ora_rc_style_register_type(GTypeModule * module)
{
static const GTypeInfo object_info = {
sizeof(Ia_OraRcStyleClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) ia_ora_rc_style_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof(Ia_OraRcStyle),
0, /* n_preallocs */
(GInstanceInitFunc) ia_ora_rc_style_init,
NULL
};
ia_ora_type_rc_style = g_type_module_register_type(module,
GTK_TYPE_RC_STYLE,
"Ia_OraRcStyle",
&object_info, 0);
}
static void ia_ora_rc_style_init(Ia_OraRcStyle * ia_ora_rc_style)
{
ia_ora_rc_style->enable_gradient = TRUE;
ia_ora_rc_style->use_cross = FALSE;
ia_ora_rc_style->black_check = FALSE;
}
static void ia_ora_rc_style_class_init(Ia_OraRcStyleClass * klass)
{
GtkRcStyleClass *rc_style_class = GTK_RC_STYLE_CLASS(klass);
GObjectClass *object_class = G_OBJECT_CLASS(klass);
ia_ora_parent_rc_class = g_type_class_peek_parent(klass);
rc_style_class->parse = ia_ora_rc_style_parse;
rc_style_class->merge = ia_ora_rc_style_merge;
rc_style_class->create_style = ia_ora_rc_style_create_style;
}
static guint ia_ora_parse_boolean(GScanner * scanner, GTokenType wanted_token, guint * retval)
{
guint token;
token = g_scanner_get_next_token(scanner);
if(token != wanted_token)
return wanted_token;
token = g_scanner_get_next_token(scanner);
if(token != G_TOKEN_EQUAL_SIGN)
return G_TOKEN_EQUAL_SIGN;
token = g_scanner_get_next_token(scanner);
if(token == TOKEN_TRUE)
*retval = TRUE;
else if(token == TOKEN_FALSE)
*retval = FALSE;
else
return TOKEN_TRUE;
return G_TOKEN_NONE;
}
static guint ia_ora_rc_style_parse(GtkRcStyle * rc_style, GtkSettings * settings, GScanner * scanner)
{
static GQuark scope_id = 0;
Ia_OraRcStyle *ia_ora_rc_style = IA_ORA_RC_STYLE(rc_style);
guint old_scope;
guint token;
guint i;
/* Set up a new scope in this scanner. */
if(!scope_id)
scope_id = g_quark_from_string("ia_ora_theme_engine");
/* If we bail out due to errors, we *don't* reset the scope, so the
* error messaging code can make sense of our tokens.
*/
old_scope = g_scanner_set_scope(scanner, scope_id);
/* Now check if we already added our symbols to this scope
* (in some previous call to clearlooks_rc_style_parse for the
* same scanner.
*/
if(!g_scanner_lookup_symbol(scanner, ia_ora_rc_symbols[0].name)) {
for(i = 0; i < G_N_ELEMENTS (ia_ora_rc_symbols); i++)
{
g_scanner_scope_add_symbol(scanner, scope_id, ia_ora_rc_symbols[i].name,
GINT_TO_POINTER(ia_ora_rc_symbols[i].token));
}
}
/* We're ready to go, now parse the top level */
token = g_scanner_peek_next_token(scanner);
while(token != G_TOKEN_RIGHT_CURLY)
{
switch (token)
{
case TOKEN_GRADIENT:
token = ia_ora_parse_boolean(scanner, TOKEN_GRADIENT, &ia_ora_rc_style->enable_gradient);
break;
case TOKEN_CROSS:
token = ia_ora_parse_boolean(scanner, TOKEN_CROSS, &ia_ora_rc_style->use_cross);
break;
case TOKEN_BLACK_CHECK:
token = ia_ora_parse_boolean(scanner, TOKEN_BLACK_CHECK, &ia_ora_rc_style->black_check);
break;
default:
g_scanner_get_next_token(scanner);
token = G_TOKEN_RIGHT_CURLY;
break;
}
if(token != G_TOKEN_NONE)
return token;
token = g_scanner_peek_next_token(scanner);
}
g_scanner_get_next_token(scanner);
g_scanner_set_scope(scanner, old_scope);
return G_TOKEN_NONE;
}
static void ia_ora_rc_style_merge(GtkRcStyle * dest, GtkRcStyle * src)
{
Ia_OraRcStyle *dest_w, *src_w;
ia_ora_parent_rc_class->merge (dest, src);
if (!IA_ORA_IS_RC_STYLE (src))
return;
src_w = IA_ORA_RC_STYLE (src);
dest_w = IA_ORA_RC_STYLE (dest);
dest_w->enable_gradient = src_w->enable_gradient;
dest_w->use_cross = src_w->use_cross;
dest_w->black_check= src_w->black_check;
}
/* Create an empty style suitable to this RC style
*/
static GtkStyle *ia_ora_rc_style_create_style(GtkRcStyle * rc_style)
{
return GTK_STYLE(g_object_new(IA_ORA_TYPE_STYLE, NULL));
}

@ -0,0 +1,51 @@
/* Ia Ora
* Copyright (C) 2006 Frederic Crozat - Mandriva
* 1999 Olivier Fourdan (fourdan@xfce.org) for XFCE code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <gtk/gtkrc.h>
typedef struct _Ia_OraRcStyle Ia_OraRcStyle;
typedef struct _Ia_OraRcStyleClass Ia_OraRcStyleClass;
__attribute__((__visibility__("internal"))) extern GType ia_ora_type_rc_style;
#define IA_ORA_TYPE_RC_STYLE ia_ora_type_rc_style
#define IA_ORA_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), IA_ORA_TYPE_RC_STYLE, Ia_OraRcStyle))
#define IA_ORA_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), IA_ORA_TYPE_RC_STYLE, Ia_OraRcStyleClass))
#define IA_ORA_IS_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), IA_ORA_TYPE_RC_STYLE))
#define IA_ORA_IS_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), IA_ORA_TYPE_RC_STYLE))
#define IA_ORA_RC_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), IA_ORA_TYPE_RC_STYLE, Ia_OraRcStyleClass))
struct _Ia_OraRcStyle
{
GtkRcStyle parent_instance;
gboolean enable_gradient;
gboolean use_cross;
gboolean black_check;
};
struct _Ia_OraRcStyleClass
{
GtkRcStyleClass parent_class;
};
__attribute__((__visibility__("internal"))) void ia_ora_rc_style_register_type(GTypeModule * module);

@ -0,0 +1,59 @@
/* Ia Ora
* Copyright (C) 2003 Frederic Crozat - Mandriva
* 1999 Olivier Fourdan (fourdan@xfce.org) for XFCE code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <gtk/gtkstyle.h>
typedef struct _Ia_OraStyle Ia_OraStyle;
typedef struct _Ia_OraStyleClass Ia_OraStyleClass;
__attribute__((__visibility__("internal"))) extern GType ia_ora_type_style;
#define IA_ORA_TYPE_STYLE ia_ora_type_style
#define IA_ORA_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), IA_ORA_TYPE_STYLE, Ia_OraStyle))
#define IA_ORA_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), IA_ORA_TYPE_STYLE, Ia_OraStyleClass))
#define IA_ORA_IS_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), IA_ORA_TYPE_STYLE))
#define IA_ORA_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), IA_ORA_TYPE_STYLE))
#define IA_ORA_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), IA_ORA_TYPE_STYLE, Ia_OraStyleClass))
#define N_BLUE_COLORS 5
#define N_GRAY_COLORS 7
struct _Ia_OraStyle
{
GtkStyle parent_instance;
GdkColor gray[N_GRAY_COLORS]; /* from light to dark */
GdkColor blue[N_BLUE_COLORS]; /* from light to dark */
GdkColor check_color;
GdkGC *gray_gc[N_GRAY_COLORS]; /* from light to dark */
GdkGC *blue_gc[N_BLUE_COLORS]; /* from light to dark */
GdkGC *check_gc;
GdkPixmap *radio_pixmap_circle[5];
GdkBitmap *radio_pixmap_mask; /* All masks are the same */
};
struct _Ia_OraStyleClass
{
GtkStyleClass parent_class;
};
__attribute__((__visibility__("internal"))) void ia_ora_style_register_type(GTypeModule * module);

File diff suppressed because it is too large Load Diff

@ -0,0 +1,54 @@
/* Ia Ora theme
* Copyright (C) 2006 Frederic Crozat - Mandriva
* 1999 Olivier Fourdan (fourdan@xfce.org) for XFCE code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <gmodule.h>
#include <gtk/gtk.h>
#include "ia_ora_rc_style.h"
#include "ia_ora_style.h"
G_MODULE_EXPORT void theme_init(GTypeModule * module)
{
ia_ora_rc_style_register_type(module);
ia_ora_style_register_type(module);
}
G_MODULE_EXPORT void theme_exit(void)
{
}
G_MODULE_EXPORT GtkRcStyle *theme_create_rc_style(void)
{
return GTK_RC_STYLE(g_object_new(IA_ORA_TYPE_RC_STYLE, NULL));
}
/* The following function will be called by GTK+ when the module
* is loaded and checks to see if we are compatible with the
* version of GTK+ that loads us.
*/
/*
G_MODULE_EXPORT const gchar* g_module_check_init (GModule *module);
const gchar*
g_module_check_init (GModule *module)
{
return gtk_check_version (GTK_MAJOR_VERSION,
GTK_MINOR_VERSION,
GTK_MICRO_VERSION - GTK_INTERFACE_AGE);
}
*/

@ -0,0 +1,6 @@
foreach( THEME orange blue gray arctic smooth night steel )
install(
FILES "${THEME}/gtkrc"
DESTINATION "${INSTALL_PATH_GTK_THEMES}/Ia Ora ${THEME}/gtk-2.0"
)
endforeach()

@ -0,0 +1,169 @@
# Set GtkSettings color scheme property.
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#000\nbg_color:#EFF3F7\nbase_color:#fff\ntext_color:#000\nselected_bg_color:#8EC7FF\nselected_fg_color:#000\ntooltip_fg_color:#000\ntooltip_bg_color:#FFFF94"
gtk-auto-mnemonics = 1
style "ia_ora-default"
{
color["gray0"]= @bg_color # "#EFF3F7"
color["gray1"]= mix(0.5,@bg_color, "#C8D8D8") #"#DFE7EF"
color["gray2"]= mix(0.5,@bg_color, "#A8B8B8") #"#CFD7DF"
color["gray3"]= mix(0.5,@bg_color, "#90B0B8") # "#C7D3DF"
color["gray4"]= mix(0.5,@bg_color, "#709098") # "#B6C3CF"
color["gray5"]= mix(0.5,@bg_color, "#507088") # "#A6B2C7"
color["gray6"]= mix(0.5,@bg_color, "#183050") #"#8692A6"
# arctic
color["blue0"]= mix(0.1, @selected_bg_color, "#F8F8F8") # "#EFF7FF"
color["blue1"]= mix(0.4, @selected_bg_color, "#E8ECF8") # "#C7DFFF"
color["blue2"]= @selected_bg_color # "#8EC7FF"
color["blue3"]= mix(0.5, @selected_bg_color, "#70B0F8") # "#79BEFF"
color["blue4"]= mix(0.5, @selected_bg_color, "#50A0F8") # "#69B6FF"
GtkButton::default-border = {1, 1, 1, 1}
GtkWidget::interior-focus = 1
GtkButton::default-spacing = 6
GtkCheckButton::indicator-size = 13
GtkPaned::handle-size = 6
GtkRange::trough-border = 0
GtkRange::slider-width = 8
GtkRange::stepper-size = 15
GtkRange::stepper-spacing = 0
GtkRange::trough-side-details = 1
GtkScrollbar::min-slider-length = 20
GtkScrollbar::slider-width = 15
GtkScrollbar::trough-side-details = 0
GtkTreeView::even-row-color = @base_color
GtkTreeView::odd-row-color = @bg_color
# Glow the tasklist by changing the color, instead of overlaying it with a rectangle
WnckTasklist ::fade-overlay-rect = 0
fg[NORMAL] = @fg_color
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = @gray4
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
bg[NORMAL] = @bg_color
bg[ACTIVE] = @gray1
bg[INSENSITIVE] = @gray2
bg[PRELIGHT] = @gray1
bg[SELECTED] = @selected_bg_color
base[NORMAL] = @base_color
base[ACTIVE] = @blue1
base[INSENSITIVE] = @bg_color
base[PRELIGHT] = @base_color
base[SELECTED] = @selected_bg_color
text[NORMAL] = @text_color
text[ACTIVE] = @selected_fg_color
text[INSENSITIVE] = @gray4
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
engine "ia_ora" {
black_check=TRUE
}
}
style "ia_ora-button" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
}
style "ia_ora-thin" = "ia_ora-default"
{
xthickness = 1
ythickness = 1
}
style "ia_ora-treeview-header" = "ia_ora-default"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-menu" = "ia_ora-default"
{
fg[PRELIGHT]=@selected_fg_color
text[PRELIGHT]=@selected_fg_color
}
style "ia_ora-bar" = "ia_ora-menu"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-tasklist" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
GtkWidget::focus-line-width = 0
GtkWidget::focus-padding = 0
}
style "ia_ora-comboboxtext" = "ia_ora-default"
{
text[PRELIGHT] = @fg_color
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
text[NORMAL] = @fg_color
}
style "ia_ora-tooltips" = "ia_ora-default"
{
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
bg[SELECTED] = darker(@tooltip_bg_color)
GtkWidget::new-tooltip-style = 1
xthickness = 8
ythickness = 4
}
style "ia_ora-tree" = "ia_ora-default"
{
bg[ACTIVE] = @blue1
}
style "ia_ora-menubar" = "ia_ora-default"
{
GtkWidget::window-dragging = 1
}
class "GtkWidget" style "ia_ora-default"
class "ECanvas" style "ia_ora-thin"
class "GtkButton" style "ia_ora-button"
class "EComboButton" style "ia_ora-thin"
widget_class "*Item.GtkAccelLabel" style "ia_ora-menu"
widget_class "*GtkComboBox.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*BaconCdSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*NautilusBurnDriveSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*Gimp*Combo*.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*.EShortcutsView.GtkButton" style "ia_ora-thin"
widget_class "*.GtkHTMLEmbedded.*GtkButton" style "ia_ora-thin"
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "ia_ora-treeview-header"
class "GtkScrolledWindow" style "ia_ora-thin"
class "GtkProgressBar" style "ia_ora-bar"
widget_class "*<GtkMenuBar>*" style "ia_ora-menubar"
widget_class "*MenuItem*" style "ia_ora-menu"
widget_class "*.PanelApplet.*" style "ia_ora-tasklist"
widget "*.tasklist-button" style "ia_ora-tasklist"
class "GtkNotebook" style "ia_ora-thin"
widget "gtk-tooltip*" style "ia_ora-tooltips"
widget_class "*GtkPathBar*" style "ia_ora-thin"
widget_class "*Tree*" style "ia_ora-tree"
widget_class "*ETable*" style "ia_ora-tree"

@ -0,0 +1,166 @@
# Set GtkSettings color scheme property.
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#000\nbg_color:#EFF3F7\nbase_color:#fff\ntext_color:#000\nselected_bg_color:#4965AE\nselected_fg_color:#fff\ntooltip_fg_color:#000\ntooltip_bg_color:#FFFF94"
gtk-auto-mnemonics = 1
style "ia_ora-default"
{
color["gray0"]= @bg_color # "#EFF3F7"
color["gray1"]= mix(0.5,@bg_color, "#C8D8D8") #"#DFE7EF"
color["gray2"]= mix(0.5,@bg_color, "#A8B8B8") #"#CFD7DF"
color["gray3"]= mix(0.5,@bg_color, "#90B0B8") # "#C7D3DF"
color["gray4"]= mix(0.5,@bg_color, "#709098") # "#B6C3CF"
color["gray5"]= mix(0.5,@bg_color, "#507088") # "#A6B2C7"
color["gray6"]= mix(0.5,@bg_color, "#183050") #"#8692A6"
# blue
color["blue0"]= mix(0.3, @selected_bg_color, "#C8D8F8") # "#A6B6E7"
color["blue1"]= mix(0.5, @selected_bg_color, "#C8E0E8") #"#8EA2CF"
color["blue2"]= @selected_bg_color # "#4965AE"
color["blue3"]= mix(0.5, @selected_bg_color, "#405595") #"#415DA6"
color["blue4"]= mix(0.5, @selected_bg_color, "#012888") #"#21459C"
GtkButton::default-border = {1, 1, 1, 1}
GtkWidget::interior-focus = 1
GtkButton::default-spacing = 6
GtkCheckButton::indicator-size = 13
GtkPaned::handle-size = 6
GtkRange::trough-border = 0
GtkRange::slider-width = 8
GtkRange::stepper-size = 15
GtkRange::stepper-spacing = 0
GtkRange::trough-side-details = 1
GtkScrollbar::min-slider-length = 20
GtkScrollbar::slider-width = 15
GtkScrollbar::trough-side-details = 0
GtkTreeView::even-row-color = @base_color
GtkTreeView::odd-row-color = @bg_color
# Glow the tasklist by changing the color, instead of overlaying it with a rectangle
WnckTasklist ::fade-overlay-rect = 0
fg[NORMAL] = @fg_color
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = @gray4
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
bg[NORMAL] = @bg_color
bg[ACTIVE] = @gray1
bg[INSENSITIVE] = @gray2
bg[PRELIGHT] = @gray1
bg[SELECTED] = @selected_bg_color
base[NORMAL] = @base_color
base[ACTIVE] = @blue1
base[INSENSITIVE] = @bg_color
base[PRELIGHT] = @base_color
base[SELECTED] = @selected_bg_color
text[NORMAL] = @text_color
text[ACTIVE] = @selected_fg_color
text[INSENSITIVE] = @gray4
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
engine "ia_ora" {}
}
style "ia_ora-button" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
}
style "ia_ora-thin" = "ia_ora-default"
{
xthickness = 1
ythickness = 1
}
style "ia_ora-treeview-header" = "ia_ora-default"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-menu" = "ia_ora-default"
{
fg[PRELIGHT]=@selected_fg_color
text[PRELIGHT]=@selected_fg_color
}
style "ia_ora-bar" = "ia_ora-menu"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-tasklist" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
GtkWidget::focus-line-width = 0
GtkWidget::focus-padding = 0
}
style "ia_ora-comboboxtext" = "ia_ora-default"
{
text[PRELIGHT] = @fg_color
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
text[NORMAL] = @fg_color
}
style "ia_ora-tooltips" = "ia_ora-default"
{
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
bg[SELECTED] = darker(@tooltip_bg_color)
GtkWidget::new-tooltip-style = 1
xthickness = 8
ythickness = 4
}
style "ia_ora-tree" = "ia_ora-default"
{
bg[ACTIVE] = @blue1
}
style "ia_ora-menubar" = "ia_ora-default"
{
GtkWidget::window-dragging = 1
}
class "GtkWidget" style "ia_ora-default"
class "ECanvas" style "ia_ora-thin"
class "GtkButton" style "ia_ora-button"
class "EComboButton" style "ia_ora-thin"
widget_class "*Item.GtkAccelLabel" style "ia_ora-menu"
widget_class "*GtkComboBox.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*BaconCdSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*NautilusBurnDriveSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*Gimp*Combo*.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*.EShortcutsView.GtkButton" style "ia_ora-thin"
widget_class "*.GtkHTMLEmbedded.*GtkButton" style "ia_ora-thin"
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "ia_ora-treeview-header"
class "GtkScrolledWindow" style "ia_ora-thin"
class "GtkProgressBar" style "ia_ora-bar"
widget_class "*<GtkMenuBar>*" style "ia_ora-menubar"
widget_class "*MenuItem*" style "ia_ora-menu"
widget_class "*.PanelApplet.*" style "ia_ora-tasklist"
widget "*.tasklist-button" style "ia_ora-tasklist"
class "GtkNotebook" style "ia_ora-thin"
widget "gtk-tooltip*" style "ia_ora-tooltips"
widget_class "*GtkPathBar*" style "ia_ora-thin"
widget_class "*Tree*" style "ia_ora-tree"
widget_class "*ETable*" style "ia_ora-tree"

@ -0,0 +1,169 @@
# Set GtkSettings color scheme property.
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#000\nbg_color:#EFF3F7\nbase_color:#fff\ntext_color:#000\nselected_bg_color:#C7D3DF\nselected_fg_color:#000\ntooltip_fg_color:#000\ntooltip_bg_color:#FFFF94"
gtk-auto-mnemonics = 1
style "ia_ora-default"
{
color["gray0"]= @bg_color # "#EFF3F7"
color["gray1"]= mix(0.5,@bg_color, "#C8D8D8") #"#DFE7EF"
color["gray2"]= mix(0.5,@bg_color, "#A8B8B8") #"#CFD7DF"
color["gray3"]= mix(0.5,@bg_color, "#90B0B8") # "#C7D3DF"
color["gray4"]= mix(0.5,@bg_color, "#709098") # "#B6C3CF"
color["gray5"]= mix(0.5,@bg_color, "#507088") # "#A6B2C7"
color["gray6"]= mix(0.5,@bg_color, "#183050") #"#8692A6"
# pwp+
color["blue0"]= mix(0.3, @selected_bg_color, "#E8ECF0") # gray1 #DFE7EF
color["blue1"]= mix(0.5, @selected_bg_color, "#C8D8D0") # gray2 #CFD7DF
color["blue2"]= @selected_bg_color # gray3 #C7D3DF
color["blue3"]= mix(0.5, @selected_bg_color, "#8090A0") # gray5 #A6B2C7
color["blue4"]= mix(0.5, @selected_bg_color, "#405060") # gray6 #8692A6
GtkButton::default-border = {1, 1, 1, 1}
GtkWidget::interior-focus = 1
GtkButton::default-spacing = 6
GtkCheckButton::indicator-size = 13
GtkPaned::handle-size = 6
GtkRange::trough-border = 0
GtkRange::slider-width = 8
GtkRange::stepper-size = 15
GtkRange::stepper-spacing = 0
GtkRange::trough-side-details = 1
GtkScrollbar::min-slider-length = 20
GtkScrollbar::slider-width = 15
GtkScrollbar::trough-side-details = 0
GtkTreeView::even-row-color = @base_color
GtkTreeView::odd-row-color = @bg_color
# Glow the tasklist by changing the color, instead of overlaying it with a rectangle
WnckTasklist ::fade-overlay-rect = 0
fg[NORMAL] = @fg_color
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = @gray4
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
bg[NORMAL] = @bg_color
bg[ACTIVE] = @gray1
bg[INSENSITIVE] = @gray2
bg[PRELIGHT] = @gray1
bg[SELECTED] = @selected_bg_color
base[NORMAL] = @base_color
base[ACTIVE] = @blue1
base[INSENSITIVE] = @bg_color
base[PRELIGHT] = @base_color
base[SELECTED] = @selected_bg_color
text[NORMAL] = @text_color
text[ACTIVE] = @selected_fg_color
text[INSENSITIVE] = @gray4
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
engine "ia_ora" {
black_check=TRUE
}
}
style "ia_ora-button" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
}
style "ia_ora-thin" = "ia_ora-default"
{
xthickness = 1
ythickness = 1
}
style "ia_ora-treeview-header" = "ia_ora-default"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-menu" = "ia_ora-default"
{
fg[PRELIGHT]=@selected_fg_color
text[PRELIGHT]=@selected_fg_color
}
style "ia_ora-bar" = "ia_ora-menu"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-tasklist" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
GtkWidget::focus-line-width = 0
GtkWidget::focus-padding = 0
}
style "ia_ora-comboboxtext" = "ia_ora-default"
{
text[PRELIGHT] = @fg_color
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
text[NORMAL] = @fg_color
}
style "ia_ora-tooltips" = "ia_ora-default"
{
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
bg[SELECTED] = darker(@tooltip_bg_color)
GtkWidget::new-tooltip-style = 1
xthickness = 8
ythickness = 4
}
style "ia_ora-tree" = "ia_ora-default"
{
bg[ACTIVE] = @blue1
}
style "ia_ora-menubar" = "ia_ora-default"
{
GtkWidget::window-dragging = 1
}
class "GtkWidget" style "ia_ora-default"
class "ECanvas" style "ia_ora-thin"
class "GtkButton" style "ia_ora-button"
class "EComboButton" style "ia_ora-thin"
widget_class "*Item.GtkAccelLabel" style "ia_ora-menu"
widget_class "*GtkComboBox.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*BaconCdSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*NautilusBurnDriveSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*Gimp*Combo*.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*.EShortcutsView.GtkButton" style "ia_ora-thin"
widget_class "*.GtkHTMLEmbedded.*GtkButton" style "ia_ora-thin"
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "ia_ora-treeview-header"
class "GtkScrolledWindow" style "ia_ora-thin"
class "GtkProgressBar" style "ia_ora-bar"
widget_class "*<GtkMenuBar>*" style "ia_ora-menubar"
widget_class "*MenuItem*" style "ia_ora-menu"
widget_class "*.PanelApplet.*" style "ia_ora-tasklist"
widget "*.tasklist-button" style "ia_ora-tasklist"
class "GtkNotebook" style "ia_ora-thin"
widget "gtk-tooltip*" style "ia_ora-tooltips"
widget_class "*GtkPathBar*" style "ia_ora-thin"
widget_class "*Tree*" style "ia_ora-tree"
widget_class "*ETable*" style "ia_ora-tree"

@ -0,0 +1,166 @@
# Set GtkSettings color scheme property.
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#000\nbg_color:#EFF3F7\nbase_color:#fff\ntext_color:#000\nselected_bg_color:#5D658E\nselected_fg_color:#fff\ntooltip_fg_color:#000\ntooltip_bg_color:#FFFF94"
gtk-auto-mnemonics = 1
style "ia_ora-default"
{
color["gray0"]= @bg_color # "#EFF3F7"
color["gray1"]= mix(0.5,@bg_color, "#C8D8D8") #"#DFE7EF"
color["gray2"]= mix(0.5,@bg_color, "#A8B8B8") #"#CFD7DF"
color["gray3"]= mix(0.5,@bg_color, "#90B0B8") # "#C7D3DF"
color["gray4"]= mix(0.5,@bg_color, "#709098") # "#B6C3CF"
color["gray5"]= mix(0.5,@bg_color, "#507088") # "#A6B2C7"
color["gray6"]= mix(0.5,@bg_color, "#183050") #"#8692A6"
# night
color["blue0"]= mix(0.1, @selected_bg_color, "#B5C2F4") # "#ACB9EA"
color["blue1"]= mix(0.5, @selected_bg_color, "#A3B5F3") #"#808DC6"
color["blue2"]= @selected_bg_color # "#5D658E"
color["blue3"]= mix(0.5, @selected_bg_color, "#1E2440") #"#3D4467"
color["blue4"]= mix(0.3, @selected_bg_color, "#101834") #"#272F4F"
GtkButton::default-border = {1, 1, 1, 1}
GtkWidget::interior-focus = 1
GtkButton::default-spacing = 6
GtkCheckButton::indicator-size = 13
GtkPaned::handle-size = 6
GtkRange::trough-border = 0
GtkRange::slider-width = 8
GtkRange::stepper-size = 15
GtkRange::stepper-spacing = 0
GtkRange::trough-side-details = 1
GtkScrollbar::min-slider-length = 20
GtkScrollbar::slider-width = 15
GtkScrollbar::trough-side-details = 0
GtkTreeView::even-row-color = @base_color
GtkTreeView::odd-row-color = @bg_color
# Glow the tasklist by changing the color, instead of overlaying it with a rectangle
WnckTasklist ::fade-overlay-rect = 0
fg[NORMAL] = @fg_color
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = @gray4
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
bg[NORMAL] = @bg_color
bg[ACTIVE] = @gray1
bg[INSENSITIVE] = @gray2
bg[PRELIGHT] = @gray1
bg[SELECTED] = @selected_bg_color
base[NORMAL] = @base_color
base[ACTIVE] = @blue1
base[INSENSITIVE] = @bg_color
base[PRELIGHT] = @base_color
base[SELECTED] = @selected_bg_color
text[NORMAL] = @text_color
text[ACTIVE] = @selected_fg_color
text[INSENSITIVE] = @gray4
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
engine "ia_ora" {}
}
style "ia_ora-button" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
}
style "ia_ora-thin" = "ia_ora-default"
{
xthickness = 1
ythickness = 1
}
style "ia_ora-treeview-header" = "ia_ora-default"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-menu" = "ia_ora-default"
{
fg[PRELIGHT]=@selected_fg_color
text[PRELIGHT]=@selected_fg_color
}
style "ia_ora-bar" = "ia_ora-menu"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-tasklist" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
GtkWidget::focus-line-width = 0
GtkWidget::focus-padding = 0
}
style "ia_ora-comboboxtext" = "ia_ora-default"
{
text[PRELIGHT] = @fg_color
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
text[NORMAL] = @fg_color
}
style "ia_ora-tooltips" = "ia_ora-default"
{
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
bg[SELECTED] = darker(@tooltip_bg_color)
GtkWidget::new-tooltip-style = 1
xthickness = 8
ythickness = 4
}
style "ia_ora-tree" = "ia_ora-default"
{
bg[ACTIVE] = @blue1
}
style "ia_ora-menubar" = "ia_ora-default"
{
GtkWidget::window-dragging = 1
}
class "GtkWidget" style "ia_ora-default"
class "ECanvas" style "ia_ora-thin"
class "GtkButton" style "ia_ora-button"
class "EComboButton" style "ia_ora-thin"
widget_class "*Item.GtkAccelLabel" style "ia_ora-menu"
widget_class "*GtkComboBox.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*BaconCdSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*NautilusBurnDriveSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*Gimp*Combo*.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*.EShortcutsView.GtkButton" style "ia_ora-thin"
widget_class "*.GtkHTMLEmbedded.*GtkButton" style "ia_ora-thin"
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "ia_ora-treeview-header"
class "GtkScrolledWindow" style "ia_ora-thin"
class "GtkProgressBar" style "ia_ora-bar"
widget_class "*<GtkMenuBar>*" style "ia_ora-menubar"
widget_class "*MenuItem*" style "ia_ora-menu"
widget_class "*.PanelApplet.*" style "ia_ora-tasklist"
widget "*.tasklist-button" style "ia_ora-tasklist"
class "GtkNotebook" style "ia_ora-thin"
widget "gtk-tooltip*" style "ia_ora-tooltips"
widget_class "*GtkPathBar*" style "ia_ora-thin"
widget_class "*Tree*" style "ia_ora-tree"
widget_class "*ETable*" style "ia_ora-tree"

@ -0,0 +1,169 @@
# Set GtkSettings color scheme property.
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#000\nbg_color:#EFF3F7\nbase_color:#fff\ntext_color:#000\nselected_bg_color:#F7B610\nselected_fg_color:#000\ntooltip_fg_color:#000\ntooltip_bg_color:#FFFF94"
gtk-auto-mnemonics = 1
style "ia_ora-default"
{
color["gray0"]= @bg_color # "#EFF3F7"
color["gray1"]= mix(0.5,@bg_color, "#C8D8D8") #"#DFE7EF"
color["gray2"]= mix(0.5,@bg_color, "#A8B8B8") #"#CFD7DF"
color["gray3"]= mix(0.5,@bg_color, "#90B0B8") # "#C7D3DF"
color["gray4"]= mix(0.5,@bg_color, "#709098") # "#B6C3CF"
color["gray5"]= mix(0.5,@bg_color, "#507088") # "#A6B2C7"
color["gray6"]= mix(0.5,@bg_color, "#183050") #"#8692A6"
# orange
color["blue0"]= mix(0.3, @selected_bg_color, "#FFF018") # "#FFDF10"
color["blue1"]= mix(0.5, @selected_bg_color, "#FFE018") #"#FFCB10"
color["blue2"]= @selected_bg_color # "#F7B610"
color["blue3"]= mix(0.5, @selected_bg_color, "#FF9008") # "#FFA208"
color["blue4"]= mix(0.1, @selected_bg_color, "#EF9000") # "#F79600"
GtkButton::default-border = {1, 1, 1, 1}
GtkWidget::interior-focus = 1
GtkButton::default-spacing = 6
GtkCheckButton::indicator-size = 13
GtkPaned::handle-size = 6
GtkRange::trough-border = 0
GtkRange::slider-width = 8
GtkRange::stepper-size = 15
GtkRange::stepper-spacing = 0
GtkRange::trough-side-details = 1
GtkScrollbar::min-slider-length = 20
GtkScrollbar::slider-width = 15
GtkScrollbar::trough-side-details = 0
GtkTreeView::even-row-color = @base_color
GtkTreeView::odd-row-color = @bg_color
# Glow the tasklist by changing the color, instead of overlaying it with a rectangle
WnckTasklist ::fade-overlay-rect = 0
fg[NORMAL] = @fg_color
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = @gray4
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
bg[NORMAL] = @bg_color
bg[ACTIVE] = @gray1
bg[INSENSITIVE] = @gray2
bg[PRELIGHT] = @gray1
bg[SELECTED] = @selected_bg_color
base[NORMAL] = @base_color
base[ACTIVE] = @blue1
base[INSENSITIVE] = @bg_color
base[PRELIGHT] = @base_color
base[SELECTED] = @selected_bg_color
text[NORMAL] = @text_color
text[ACTIVE] = @selected_fg_color
text[INSENSITIVE] = @gray4
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
engine "ia_ora" {
black_check=TRUE
}
}
style "ia_ora-button" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
}
style "ia_ora-thin" = "ia_ora-default"
{
xthickness = 1
ythickness = 1
}
style "ia_ora-treeview-header" = "ia_ora-default"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-menu" = "ia_ora-default"
{
fg[PRELIGHT]=@selected_fg_color
text[PRELIGHT]=@selected_fg_color
}
style "ia_ora-bar" = "ia_ora-menu"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-tasklist" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
GtkWidget::focus-line-width = 0
GtkWidget::focus-padding = 0
}
style "ia_ora-comboboxtext" = "ia_ora-default"
{
text[PRELIGHT] = @fg_color
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
text[NORMAL] = @fg_color
}
style "ia_ora-tooltips" = "ia_ora-default"
{
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
bg[SELECTED] = darker(@tooltip_bg_color)
GtkWidget::new-tooltip-style = 1
xthickness = 8
ythickness = 4
}
style "ia_ora-tree" = "ia_ora-default"
{
bg[ACTIVE] = @blue1
}
style "ia_ora-menubar" = "ia_ora-default"
{
GtkWidget::window-dragging = 1
}
class "GtkWidget" style "ia_ora-default"
class "ECanvas" style "ia_ora-thin"
class "GtkButton" style "ia_ora-button"
class "EComboButton" style "ia_ora-thin"
widget_class "*Item.GtkAccelLabel" style "ia_ora-menu"
widget_class "*GtkComboBox.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*BaconCdSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*NautilusBurnDriveSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*Gimp*Combo*.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*.EShortcutsView.GtkButton" style "ia_ora-thin"
widget_class "*.GtkHTMLEmbedded.*GtkButton" style "ia_ora-thin"
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "ia_ora-treeview-header"
class "GtkScrolledWindow" style "ia_ora-thin"
class "GtkProgressBar" style "ia_ora-bar"
widget_class "*<GtkMenuBar>*" style "ia_ora-menubar"
widget_class "*MenuItem*" style "ia_ora-menu"
widget_class "*.PanelApplet.*" style "ia_ora-tasklist"
widget "*.tasklist-button" style "ia_ora-tasklist"
class "GtkNotebook" style "ia_ora-thin"
widget "gtk-tooltip*" style "ia_ora-tooltips"
widget_class "*GtkPathBar*" style "ia_ora-thin"
widget_class "*Tree*" style "ia_ora-tree"
widget_class "*ETable*" style "ia_ora-tree"

@ -0,0 +1,168 @@
# Set GtkSettings color scheme property.
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#000\nbg_color:#EFF3F7\nbase_color:#fff\ntext_color:#000\nselected_bg_color:#7BAAE7\nselected_fg_color:#fff\ntooltip_fg_color:#000\ntooltip_bg_color:#FFFF94"
gtk-auto-mnemonics = 1
style "ia_ora-default"
{
color["gray0"]= @bg_color # "#EFF3F7"
color["gray1"]= mix(0.5,@bg_color, "#C8D8D8") #"#DFE7EF"
color["gray2"]= mix(0.5,@bg_color, "#A8B8B8") #"#CFD7DF"
color["gray3"]= mix(0.5,@bg_color, "#90B0B8") # "#C7D3DF"
color["gray4"]= mix(0.5,@bg_color, "#709098") # "#B6C3CF"
color["gray5"]= mix(0.5,@bg_color, "#507088") # "#A6B2C7"
color["gray6"]= mix(0.5,@bg_color, "#183050") #"#8692A6"
# smooth
color["blue0"] = mix(0.3, @selected_bg_color, "#E8F8FF") # "#cee3ff"
color["blue1"] = mix(0.3, @selected_bg_color, "#C0DAFF") # "#adcfff"
color["blue2"] = @selected_bg_color # "#7BAAE7"
color["blue3"] = mix(0.5, @selected_bg_color, "#396AC5" ) # "#5A8AD6"
color["blue4"] = mix(0.5, @selected_bg_color, "#0C50a0") # "#427dc6"
GtkButton::default-border = {1, 1, 1, 1}
GtkWidget::interior-focus = 1
GtkButton::default-spacing = 6
GtkCheckButton::indicator-size = 13
GtkPaned::handle-size = 6
GtkRange::trough-border = 0
GtkRange::slider-width = 8
GtkRange::stepper-size = 15
GtkRange::stepper-spacing = 0
GtkRange::trough-side-details = 1
GtkScrollbar::min-slider-length = 20
GtkScrollbar::slider-width = 15
GtkScrollbar::trough-side-details = 0
GtkTreeView::even-row-color = @base_color
GtkTreeView::odd-row-color = @bg_color
# Glow the tasklist by changing the color, instead of overlaying it with a rectangle
WnckTasklist ::fade-overlay-rect = 0
fg[NORMAL] = @fg_color
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = @gray4
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
bg[NORMAL] = @bg_color
bg[ACTIVE] = @gray1
bg[INSENSITIVE] = @gray2
bg[PRELIGHT] = @gray1
bg[SELECTED] = @selected_bg_color
base[NORMAL] = @base_color
base[ACTIVE] = @blue1
base[INSENSITIVE] = @bg_color
base[PRELIGHT] = @base_color
base[SELECTED] = @selected_bg_color
text[NORMAL] = @text_color
text[ACTIVE] = @selected_fg_color
text[INSENSITIVE] = @gray4
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
engine "ia_ora" {
black_check=TRUE
}
}
style "ia_ora-button" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
}
style "ia_ora-thin" = "ia_ora-default"
{
xthickness = 1
ythickness = 1
}
style "ia_ora-treeview-header" = "ia_ora-default"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-menu" = "ia_ora-default"
{
fg[PRELIGHT]=@selected_fg_color
text[PRELIGHT]=@selected_fg_color
}
style "ia_ora-bar" = "ia_ora-menu"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-tasklist" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
GtkWidget::focus-line-width = 0
GtkWidget::focus-padding = 0
}
style "ia_ora-comboboxtext" = "ia_ora-default"
{
text[PRELIGHT] = @fg_color
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
text[NORMAL] = @fg_color
}
style "ia_ora-tooltips" = "ia_ora-default"
{
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
bg[SELECTED] = darker(@tooltip_bg_color)
GtkWidget::new-tooltip-style = 1
xthickness = 8
ythickness = 4
}
style "ia_ora-tree" = "ia_ora-default"
{
bg[ACTIVE] = @blue1
}
style "ia_ora-menubar" = "ia_ora-default"
{
GtkWidget::window-dragging = 1
}
class "GtkWidget" style "ia_ora-default"
class "ECanvas" style "ia_ora-thin"
class "GtkButton" style "ia_ora-button"
class "EComboButton" style "ia_ora-thin"
widget_class "*Item.GtkAccelLabel" style "ia_ora-menu"
widget_class "*GtkComboBox.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*BaconCdSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*NautilusBurnDriveSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*Gimp*Combo*.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*.EShortcutsView.GtkButton" style "ia_ora-thin"
widget_class "*.GtkHTMLEmbedded.*GtkButton" style "ia_ora-thin"
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "ia_ora-treeview-header"
class "GtkScrolledWindow" style "ia_ora-thin"
class "GtkProgressBar" style "ia_ora-bar"
widget_class "*<GtkMenuBar>*" style "ia_ora-menubar"
widget_class "*MenuItem*" style "ia_ora-menu"
widget_class "*.PanelApplet.*" style "ia_ora-tasklist"
widget "*.tasklist-button" style "ia_ora-tasklist"
class "GtkNotebook" style "ia_ora-thin"
widget "gtk-tooltip*" style "ia_ora-tooltips"
widget_class "*GtkPathBar*" style "ia_ora-thin"
widget_class "*Tree*" style "ia_ora-tree"
widget_class "*ETable*" style "ia_ora-tree"

@ -0,0 +1,167 @@
# Set GtkSettings color scheme property.
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#000\nbg_color:#EFF3F7\nbase_color:#fff\ntext_color:#000\nselected_bg_color:#158CCD\nselected_fg_color:#fff\ntooltip_fg_color:#000\ntooltip_bg_color:#FFFF94"
gtk-auto-mnemonics = 1
style "ia_ora-default"
{
color["gray0"]= @bg_color # "#EFF3F7"
color["gray1"]= mix(0.5,@bg_color, "#C8D8D8") #"#DFE7EF"
color["gray2"]= mix(0.5,@bg_color, "#A8B8B8") #"#CFD7DF"
color["gray3"]= mix(0.5,@bg_color, "#90B0B8") # "#C7D3DF"
color["gray4"]= mix(0.5,@bg_color, "#709098") # "#B6C3CF"
color["gray5"]= mix(0.5,@bg_color, "#507088") # "#A6B2C7"
color["gray6"]= mix(0.5,@bg_color, "#183050") #"#8692A6"
# steel
color["blue0"]= mix(0.3, @selected_bg_color, "#DEFCEC") # "#A2DBE3"
color["blue1"]= mix(0.4, @selected_bg_color, "#55DFD0") # "#3BBECF"
color["blue2"]= @selected_bg_color # "#158CCD"
color["blue3"]= mix(0.1, @selected_bg_color, "#046B9E") # "#056EA3"
color["blue4"]= mix(0.1, @selected_bg_color, "#092A46") # "#0A3453"
GtkButton::default-border = {1, 1, 1, 1}
GtkWidget::interior-focus = 1
GtkButton::default-spacing = 6
GtkCheckButton::indicator-size = 13
GtkPaned::handle-size = 6
GtkRange::trough-border = 0
GtkRange::slider-width = 8
GtkRange::stepper-size = 15
GtkRange::stepper-spacing = 0
GtkRange::trough-side-details = 1
GtkScrollbar::min-slider-length = 20
GtkScrollbar::slider-width = 15
GtkScrollbar::trough-side-details = 0
GtkTreeView::even-row-color = @base_color
GtkTreeView::odd-row-color = @bg_color
# Glow the tasklist by changing the color, instead of overlaying it with a rectangle
WnckTasklist ::fade-overlay-rect = 0
fg[NORMAL] = @fg_color
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = @gray4
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
bg[NORMAL] = @bg_color
bg[ACTIVE] = @gray1
bg[INSENSITIVE] = @gray2
bg[PRELIGHT] = @gray1
bg[SELECTED] = @selected_bg_color
base[NORMAL] = @base_color
base[ACTIVE] = @blue1
base[INSENSITIVE] = @bg_color
base[PRELIGHT] = @base_color
base[SELECTED] = @selected_bg_color
text[NORMAL] = @text_color
text[ACTIVE] = @selected_fg_color
text[INSENSITIVE] = @gray4
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
engine "ia_ora" {
}
}
style "ia_ora-button" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
}
style "ia_ora-thin" = "ia_ora-default"
{
xthickness = 1
ythickness = 1
}
style "ia_ora-treeview-header" = "ia_ora-default"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-menu" = "ia_ora-default"
{
fg[PRELIGHT]=@selected_fg_color
text[PRELIGHT]=@selected_fg_color
}
style "ia_ora-bar" = "ia_ora-menu"
{
xthickness = 0
ythickness = 0
}
style "ia_ora-tasklist" = "ia_ora-default"
{
xthickness = 2
ythickness = 2
GtkWidget::focus-line-width = 0
GtkWidget::focus-padding = 0
}
style "ia_ora-comboboxtext" = "ia_ora-default"
{
text[PRELIGHT] = @fg_color
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
text[NORMAL] = @fg_color
}
style "ia_ora-tooltips" = "ia_ora-default"
{
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
bg[SELECTED] = darker(@tooltip_bg_color)
GtkWidget::new-tooltip-style = 1
xthickness = 8
ythickness = 4
}
style "ia_ora-tree" = "ia_ora-default"
{
bg[ACTIVE] = @blue1
}
style "ia_ora-menubar" = "ia_ora-default"
{
GtkWidget::window-dragging = 1
}
class "GtkWidget" style "ia_ora-default"
class "ECanvas" style "ia_ora-thin"
class "GtkButton" style "ia_ora-button"
class "EComboButton" style "ia_ora-thin"
widget_class "*Item.GtkAccelLabel" style "ia_ora-menu"
widget_class "*GtkComboBox.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*BaconCdSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*NautilusBurnDriveSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*Gimp*Combo*.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*.EShortcutsView.GtkButton" style "ia_ora-thin"
widget_class "*.GtkHTMLEmbedded.*GtkButton" style "ia_ora-thin"
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "ia_ora-treeview-header"
class "GtkScrolledWindow" style "ia_ora-thin"
class "GtkProgressBar" style "ia_ora-bar"
widget_class "*<GtkMenuBar>*" style "ia_ora-menubar"
widget_class "*MenuItem*" style "ia_ora-menu"
widget_class "*.PanelApplet.*" style "ia_ora-tasklist"
widget "*.tasklist-button" style "ia_ora-tasklist"
class "GtkNotebook" style "ia_ora-thin"
widget "gtk-tooltip*" style "ia_ora-tooltips"
widget_class "*GtkPathBar*" style "ia_ora-thin"
widget_class "*Tree*" style "ia_ora-tree"
widget_class "*ETable*" style "ia_ora-tree"

@ -16,9 +16,9 @@ link_directories(
)
##### twin3_iaora (kpart)
##### twin_iaora (kpart)
tde_add_kpart( twin3_iaora AUTOMOC
tde_add_kpart( twin_iaora AUTOMOC
SOURCES
iaora.cpp

@ -52,10 +52,10 @@ IaOraConfig::IaOraConfig(TDEConfig* config, TQWidget* parent)
load(config);
// setup the connections
connect(m_dialog->menuClose, SIGNAL(toggled(bool)),
this, SIGNAL(changed()));
connect(m_dialog->titleShadow, SIGNAL(toggled(bool)),
this, SIGNAL(changed()));
connect(m_dialog->menuClose, TQ_SIGNAL(toggled(bool)),
this, TQ_SIGNAL(changed()));
connect(m_dialog->titleShadow, TQ_SIGNAL(toggled(bool)),
this, TQ_SIGNAL(changed()));
}
IaOraConfig::~IaOraConfig()
@ -95,7 +95,7 @@ void IaOraConfig::defaults()
extern "C"
{
KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
TDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return (new IaOraConfig(config, parent));
}
}

@ -34,7 +34,7 @@ class ConfigDialog;
class IaOraConfig : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
IaOraConfig(TDEConfig* config, TQWidget* parent);
~IaOraConfig();

@ -662,7 +662,7 @@ IaOraHandler* Handler()
extern "C"
{
KDE_EXPORT KDecorationFactory *create_factory()
TDE_EXPORT KDecorationFactory *create_factory()
{
KWinIaOra::handler = new KWinIaOra::IaOraHandler();
return KWinIaOra::handler;

@ -1,4 +1,4 @@
[Desktop Entry]
Name=Ia Ora
Encoding=UTF-8
X-TDE-Library=twin3_iaora
X-TDE-Library=twin_iaora

@ -77,7 +77,7 @@ enum ButtonIcon {
class IaOraHandler: public TQObject, public KDecorationFactory
{
Q_OBJECT
TQ_OBJECT
public:
IaOraHandler();
~IaOraHandler();

@ -37,7 +37,7 @@ class IaOraClient;
class IaOraButton : public KCommonDecorationButton
{
Q_OBJECT
TQ_OBJECT
public:
IaOraButton(ButtonType type, IaOraClient *parent, const char *name);
~IaOraButton();

@ -46,7 +46,7 @@
#include <tqtoolbutton.h>
#include <tqtoolbar.h>
#include <tqpopupmenu.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <kdrawutil.h>
#include <kpixmapeffect.h>
#include <tqradiobutton.h>
@ -80,7 +80,7 @@ public:
}
};
Q_EXPORT_PLUGIN( ThemeMdvStylePlugin )
TQ_EXPORT_PLUGIN( ThemeMdvStylePlugin )
// ---------------------------------------------------
@ -353,7 +353,7 @@ void MandrivaStyle::updateHoverControl(const TQPoint &pos, const TQStyleControlE
void MandrivaStyle::applicationPolish(const TQStyleControlElementData &ceData, ControlElementFlags, void *ptr)
{
if (ceData.widgetObjectTypes.contains(TQAPPLICATION_OBJECT_NAME_STRING)) {
if (ceData.widgetObjectTypes.contains("TQApplication")) {
TQApplication *app = reinterpret_cast<TQApplication*>(ptr);
if (!qstrcmp(app->argv()[0], "kicker")) {
kickerMode = true;
@ -363,7 +363,7 @@ void MandrivaStyle::applicationPolish(const TQStyleControlElementData &ceData, C
void MandrivaStyle::polish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr)
{
if (ceData.widgetObjectTypes.contains(TQWIDGET_OBJECT_NAME_STRING)) {
if (ceData.widgetObjectTypes.contains("TQWidget")) {
TQWidget *widget = reinterpret_cast<TQWidget*>(ptr);
// Put in order of highest occurance to maximize hit rate
@ -418,11 +418,11 @@ void MandrivaStyle::polish(const TQStyleControlElementData &ceData, ControlEleme
void MandrivaStyle::unPolish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr)
{
if (ceData.widgetObjectTypes.contains(TQWIDGET_OBJECT_NAME_STRING)) {
if (ceData.widgetObjectTypes.contains("TQWidget")) {
TQWidget *widget = reinterpret_cast<TQWidget*>(ptr);
TQFont f = TQApplication::font();
TQApplication::setFont( f, TRUE ); // get rid of the special fonts for special widget classes
TQApplication::setFont( f, true ); // get rid of the special fonts for special widget classes
if ( widget->inherits( "TQComboBox" )
|| widget->inherits("TQScrollBar")
@ -477,7 +477,7 @@ void MandrivaStyle::renderMenuBlendPixmap( KPixmap& pix, const TQColorGroup &cg,
{
TQColor col = cg.background();
//FIXME !!!!!!!!!!!!!!!
#ifdef Q_WS_X11 // Only draw menu gradients on TrueColor, X11 visuals
#ifdef TQ_WS_X11 // Only draw menu gradients on TrueColor, X11 visuals
if ( TQPaintDevice::x11AppDepth() >= 24 )
KPixmapEffect::gradient( pix, col.light(120), col.dark(115),
KPixmapEffect::HorizontalGradient );
@ -3030,7 +3030,7 @@ bool MandrivaStyle::objectEventHandler( const TQStyleControlElementData &ceData,
return true;
}
if (ceData.widgetObjectTypes.contains(TQOBJECT_OBJECT_NAME_STRING)) {
if (ceData.widgetObjectTypes.contains("TQObject")) {
TQObject* obj = reinterpret_cast<TQObject*>(source);
TQToolBar* toolbar;

@ -45,7 +45,7 @@ class TQPopupMenu;
class MandrivaStyle : public TDEStyle
{
Q_OBJECT
TQ_OBJECT
public:
MandrivaStyle();

@ -0,0 +1,28 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# Michele Calgaro <michele.calgaro@yahoo.it>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-12 13:08+0200\n"
"PO-Revision-Date: 2025-03-03 06:44+0000\n"
"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tde-style-ia-ora-desktop-files/it/>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Name
#: widget/ia_ora.themerc:2 twin/iaora.desktop:2
msgid "Ia Ora"
msgstr "Ia Ora"
#. Comment
#: widget/ia_ora.themerc:3
msgid "Mandriva Widget Style"
msgstr "Stile widget Mandriva"

@ -0,0 +1,28 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# Temuri Doghonadze <rkavt@smartprojects.ge>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-12 13:08+0200\n"
"PO-Revision-Date: 2024-11-03 20:10+0000\n"
"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n"
"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tde-style-ia-ora-desktop-files/ka/>\n"
"Language: ka\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Name
#: widget/ia_ora.themerc:2 twin/iaora.desktop:2
msgid "Ia Ora"
msgstr "Ia Ora"
#. Comment
#: widget/ia_ora.themerc:3
msgid "Mandriva Widget Style"
msgstr "Mandriva-ის ვიჯეტების სტილი"

@ -0,0 +1,28 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# Heimen Stoffels <vistausss@fastmail.com>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-12 13:08+0200\n"
"PO-Revision-Date: 2025-03-31 12:44+0000\n"
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/"
"applications/tde-style-ia-ora-desktop-files/nl/>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Name
#: widget/ia_ora.themerc:2 twin/iaora.desktop:2
msgid "Ia Ora"
msgstr "Ia Ora"
#. Comment
#: widget/ia_ora.themerc:3
msgid "Mandriva Widget Style"
msgstr "De klassieke Mandriva-stijl"

@ -0,0 +1,29 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# Andrei Stepanov <adem4ik@gmail.com>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-12 13:08+0200\n"
"PO-Revision-Date: 2024-04-20 04:44+0000\n"
"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tde-style-ia-ora-desktop-files/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
#. Name
#: widget/ia_ora.themerc:2 twin/iaora.desktop:2
msgid "Ia Ora"
msgstr "Ia Ora"
#. Comment
#: widget/ia_ora.themerc:3
msgid "Mandriva Widget Style"
msgstr "Стиль виджетов Mandriva"

@ -0,0 +1,32 @@
# SOME DESCRIPTIVE TITLE.
# Michele Calgaro <michele.calgaro@yahoo.it>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-12 12:47+0200\n"
"PO-Revision-Date: 2025-03-03 06:44+0000\n"
"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tde-style-ia-ora-twin/it/>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Michele Calgaro"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "michele.calgaro@yahoo.it"
#: iaoraclient.cpp:58
msgid "Ia Ora"
msgstr "Ia Ora"

@ -0,0 +1,32 @@
# SOME DESCRIPTIVE TITLE.
# Temuri Doghonadze <rkavt@smartprojects.ge>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-12 12:47+0200\n"
"PO-Revision-Date: 2024-11-03 20:10+0000\n"
"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n"
"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tde-style-ia-ora-twin/ka/>\n"
"Language: ka\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "თემური დოღონაძე"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "temuri.doghonadze@gmail.com"
#: iaoraclient.cpp:58
msgid "Ia Ora"
msgstr "Ia Ora"

@ -0,0 +1,32 @@
# SOME DESCRIPTIVE TITLE.
# Heimen Stoffels <vistausss@fastmail.com>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-12 12:47+0200\n"
"PO-Revision-Date: 2025-03-31 12:44+0000\n"
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/"
"applications/tde-style-ia-ora-twin/nl/>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Heimen Stoffels"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "vistausss@fastmail.com"
#: iaoraclient.cpp:58
msgid "Ia Ora"
msgstr "Ia Ora"

@ -0,0 +1,33 @@
# SOME DESCRIPTIVE TITLE.
# Andrei Stepanov <adem4ik@gmail.com>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-12 12:47+0200\n"
"PO-Revision-Date: 2024-04-21 17:50+0000\n"
"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/tde-style-ia-ora-twin/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Андрей Степанов"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "adem4ik@gmail.com"
#: iaoraclient.cpp:58
msgid "Ia Ora"
msgstr "Ia Ora"
Loading…
Cancel
Save