Importing EDE2 code to svn... NOTE: It doesn't compile! Stuff thats broken: edewm, eworkpanel, eiconman,

emenueditor
This commit is contained in:
Vedran Ljubovic
2006-08-20 18:43:09 +00:00
commit 65018f75b7
1004 changed files with 88271 additions and 0 deletions

22
ewmconf/Makefile Executable file
View File

@@ -0,0 +1,22 @@
CPPFILES = ../edelib2/Util.cpp ../edelib2/Config.cpp ewm.cpp ewmconf.cpp
TARGET = ewmconf
POFILES = locale/ru.po\
locale/sr.po\
locale/sk.po\
locale/hu.po\
include ../makeinclude
install:
$(INSTALL_PROGRAM) $(TARGET) $(bindir)
$(INSTALL_LOCALE)
uninstall:
$(RM) $(bindir)/$(TARGET)
clean:
$(RM) $(TARGET)
$(RM) *.o

131
ewmconf/ewm.cpp Executable file
View File

@@ -0,0 +1,131 @@
/*
* $Id$
*
* edewm (EDE Window Manager) settings
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2000-2006 EDE Authors.
*
* This program is licenced under terms of the
* GNU General Public Licence version 2 or newer.
* See COPYING for details.
*/
#include "ewm.h"
#include <stdlib.h>
#include <string.h>
#include <fltk/run.h>
#include <fltk/ask.h>
#include <fltk/ColorChooser.h>
#include <fltk/x.h>
#include "../edelib2/Config.h"
using namespace fltk;
using namespace edelib;
Color title_active_color, title_active_color_text;
Color title_normal_color, title_normal_color_text;
int title_height;
int title_align;
bool opaque_resize;
int title_draw_grad;
bool animate;
int animate_speed;
bool use_frame;
Color theme_frame_color;
bool use_theme;
char* theme_path;
static void sendClientMessage(XWindow w, Atom a, long x)
{
XEvent ev;
long mask;
memset(&ev, 0, sizeof(ev));
ev.xclient.type = ClientMessage;
ev.xclient.window = w;
ev.xclient.message_type = a;
ev.xclient.format = 32;
ev.xclient.data.l[0] = x;
ev.xclient.data.l[1] = CurrentTime;
mask = 0L;
if (w == RootWindow(xdisplay, xscreen))
mask = SubstructureRedirectMask;
XSendEvent(xdisplay, w, False, mask, &ev);
}
void applyConfiguration()
{
extern Atom FLTKChangeSettings;
// sendClientMessage(RootWindow(xdisplay, xscreen), FLTKChangeSettings, 0);
XFlush(xdisplay);
}
void readConfiguration()
{
Config wmconf(Config::find_file("wmanager.conf", 0));
wmconf.set_section("TitleBar");
wmconf.read("Active color", title_active_color, color(0,0,128));
wmconf.read("Active color text", title_active_color_text, color(255,255,255));
wmconf.read("Normal color", title_normal_color, color(0,0,130));
wmconf.read("Normal color text", title_normal_color_text, color(255,255,255));
wmconf.read("Box type", title_draw_grad, 0);
wmconf.read("Height", title_height, 20);
wmconf.read("Text align", title_align, 0);
wmconf.set_section("Resize");
wmconf.read("Opaque resize", opaque_resize, false);
wmconf.read("Animate", animate, true);
wmconf.read("Animate Speed", animate_speed, 14);
wmconf.set_section("Misc");
wmconf.read("Use frame", use_frame, false);
wmconf.read("Frame color", theme_frame_color, color(0,0,128));
wmconf.read("Use theme", use_theme, false);
wmconf.read("Theme path", theme_path, 0);
}
void writeConfiguration()
{
if(title_height > 50) title_height=50;
else if(title_height < 10) title_height=10;
Config wmconf(Config::find_file("wmanager.conf", 1));
wmconf.set_section("TitleBar");
wmconf.write("Active color", title_active_color);
wmconf.write("Active color text", title_active_color_text);
wmconf.write("Normal color", title_normal_color);
wmconf.write("Normal color text", title_normal_color_text);
wmconf.write("Box type", title_draw_grad);
wmconf.write("Height", title_height);
wmconf.write("Text align", title_align);
wmconf.set_section("Resize");
wmconf.write("Opaque resize", opaque_resize);
wmconf.write("Animate", animate);
wmconf.write("Animate Speed", animate_speed);
wmconf.set_section("Misc");
wmconf.write("Use frame", use_frame);
wmconf.write("Frame color", theme_frame_color);
wmconf.write("Use theme", use_theme);
if (use_theme)
wmconf.write("Theme path", theme_path);
else
wmconf.write("Theme path", "");
}

37
ewmconf/ewm.h Executable file
View File

@@ -0,0 +1,37 @@
/*
* $Id$
*
* edewm (EDE Window Manager) settings
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2000-2006 EDE Authors.
*
* This program is licenced under terms of the
* GNU General Public Licence version 2 or newer.
* See COPYING for details.
*/
#ifndef ewm_h
#define ewm_h
#include <fltk/Color.h>
extern fltk::Color title_active_color, title_active_color_text;
extern fltk::Color title_normal_color, title_normal_color_text;
extern bool opaque_resize;
extern int title_draw_grad;
extern bool animate;
extern int animate_speed;
extern bool use_frame;
extern fltk::Color theme_frame_color;
extern bool use_theme;
extern char* theme_path;
extern int title_height;
extern int title_align;
void readConfiguration();
void applyConfiguration();
void writeConfiguration();
#endif

347
ewmconf/ewmconf.cpp Executable file
View File

@@ -0,0 +1,347 @@
/*
* $Id$
*
* edewm (EDE Window Manager) settings
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2000-2006 EDE Authors.
*
* This program is licenced under terms of the
* GNU General Public Licence version 2 or newer.
* See COPYING for details.
*/
#include "ewmconf.h"
#include "ewm.h"
#include <fltk/file_chooser.h>
#include <fltk/run.h>
#include <fltk/ask.h>
#include "../edelib2/NLS.h"
fltk::Button* titlebarLabelColorButton;
fltk::Button* titlebarColorButton;
fltk::Button* titlebarActiveLabelColorButton;
fltk::Button* titlebarActiveColorButton;
fltk::Choice* titlebarDrawGrad;
fltk::CheckButton* useThemeButton;
fltk::Input* themePathInput;
fltk::Button* browse_btn;
fltk::CheckButton* animateButton;
fltk::ValueSlider* animateSlider;
fltk::CheckButton* opaqueResize;
fltk::Button* applyButton;
bool conf_changed = false;
// Functions called by callbacks
void changeBoxColor(fltk::Button *box) {
fltk::Button *colorBox = box;
fltk::Color oldColor = colorBox->color();
fltk::Color defColor = oldColor;
fltk::color_chooser("Choose color", defColor);
if ( defColor != oldColor ) {
colorBox->color(defColor);
colorBox->redraw();
}
}
void confChanged() {
if (conf_changed) return;
conf_changed=true;
applyButton->activate();
}
// Callback functions
static void cb_Text(fltk::Choice* o, void*) {
title_align = (int)o->value();
confChanged();
}
static void cb_Height(fltk::ValueInput* o, void*) {
title_height = (int)o->value();
confChanged();
}
static void cb_titlebarLabelColorButton(fltk::Button*, void*) {
changeBoxColor(titlebarLabelColorButton);
title_normal_color_text = (int) titlebarLabelColorButton->color();
confChanged();
}
static void cb_titlebarColorButton(fltk::Button*, void*) {
changeBoxColor(titlebarColorButton);
title_normal_color = (int) titlebarColorButton->color();
confChanged();
}
static void cb_titlebarActiveLabelColorButton(fltk::Button*, void*) {
changeBoxColor(titlebarActiveLabelColorButton);
title_active_color_text = (int) titlebarActiveLabelColorButton->color();
confChanged();
}
static void cb_titlebarActiveColorButton(fltk::Button*, void*) {
changeBoxColor(titlebarActiveColorButton);
title_active_color = (int) titlebarActiveColorButton->color();
confChanged();
}
static void cb_titlebarDrawGrad(fltk::Choice*, void*) {
title_draw_grad = titlebarDrawGrad->value();
confChanged();
}
static void cb_useThemeButton(fltk::CheckButton*, void*) {
if (useThemeButton->value()) {
themePathInput->activate();
browse_btn->activate();
titlebarDrawGrad->deactivate();
titlebarColorButton->deactivate();
titlebarActiveColorButton->deactivate();
} else {
themePathInput->deactivate();
browse_btn->deactivate();
titlebarDrawGrad->activate();
titlebarColorButton->activate();
titlebarActiveColorButton->activate();
}
use_theme = useThemeButton->value();
confChanged();
}
static void cb_themePathInput(fltk::Input*, void*) {
theme_path = (char*)realloc(theme_path, strlen(themePathInput->value()));
strcpy(theme_path, themePathInput->value());
confChanged();
}
static void cb_browse_btn(fltk::Button*, void*) {
char *file_types = _("Themes (*.theme), *.theme, All files (*.*), *");
const char *fileName = fltk::file_chooser( "Themes...", file_types, themePathInput->value());
if (fileName) {
themePathInput->value(fileName);
strncpy(theme_path, fileName, strlen(fileName));
}
confChanged();
}
static void cb_animateButton(fltk::CheckButton*, void*) {
if (animateButton->value())
animateSlider->activate();
else
animateSlider->deactivate();
animate = animateButton->value();
confChanged();
}
static void cb_animateSlider(fltk::ValueSlider*, void*) {
animate_speed = (int)animateSlider->value();
confChanged();
}
static void cb_opaqueResize(fltk::CheckButton*, void*) {
opaque_resize = opaqueResize->value();
confChanged();
}
/*static void cb_OK(fltk::Button*, void*) {
writeConfiguration();
applyConfiguration();
exit(0);
}*/
static void cb_Apply(fltk::Button*, void*) {
writeConfiguration();
applyConfiguration();
conf_changed = false;
applyButton->deactivate();
}
static void cb_Close(fltk::Button*, void*) {
if (conf_changed) {
int answer = fltk::choice_alert(_("You have unsaved changes in this window!\nDo you want to close it anyway?"), 0, _("Go &Back"), _("&Discard Changes"));
if (answer == 1) return;
}
exit(0);
}
// Main window design
int main (int argc, char **argv) {
fltk::Window* w;
//fl_init_locale_support("ewmconf", PREFIX"/share/locale");
readConfiguration();
{fltk::Window* o = new fltk::Window(325, 385, _("Window manager settings"));
w = o;
o->set_vertical();
o->begin();
{fltk::TabGroup* o = new fltk::TabGroup(10, 10, 305, 330);
o->selection_color(o->color());
o->selection_textcolor(o->textcolor());
o->box(fltk::THIN_UP_BOX);
o->begin();
{fltk::Group* o = new fltk::Group(0, 25, 305, 305, _("&Titlebar"));
o->align(fltk::ALIGN_TOP|fltk::ALIGN_LEFT);
o->begin();
{fltk::Choice* o = new fltk::Choice(35, 30, 125, 25, _("Text align:"));
o->callback((fltk::Callback*)cb_Text);
o->align(fltk::ALIGN_TOP|fltk::ALIGN_LEFT);
o->begin();
new fltk::Item(_("Left"));
new fltk::Item(_("Right"));
new fltk::Item(_("Center"));
o->end();
o->value(title_align);
o->tooltip(_("Where will window title be placed on the title bar?"));
}
{fltk::ValueInput* o = new fltk::ValueInput(205, 30, 60, 25, _("Height:"));
o->align(fltk::ALIGN_TOP|fltk::ALIGN_LEFT);
o->minimum(10);
o->maximum(50);
o->step(1);
o->value(20);
o->callback((fltk::Callback*)cb_Height);
o->value(title_height);
o->tooltip(_("Height of titlebar (in pixels)"));
}
{fltk::Button* o = titlebarLabelColorButton = new fltk::Button(205, 75, 60, 20, _("Label color: "));
o->callback((fltk::Callback*)cb_titlebarLabelColorButton);
o->align(fltk::ALIGN_LEFT);
o->color((fltk::Color)title_normal_color_text);
o->tooltip(_("Text color of window title"));
}
{fltk::Button* o = titlebarActiveLabelColorButton = new fltk::Button(205, 105, 60, 20, _("Active label color: "));
o->callback((fltk::Callback*)cb_titlebarActiveLabelColorButton);
o->align(fltk::ALIGN_LEFT);
o->color((fltk::Color) title_active_color_text);
o->tooltip(_("Title text color of active (foremost) window"));
}
{fltk::Button* o = titlebarColorButton = new fltk::Button(205, 135, 60, 20, _("Titlebar color: "));
o->callback((fltk::Callback*)cb_titlebarColorButton);
o->align(fltk::ALIGN_LEFT);
o->color((fltk::Color) title_normal_color);
o->tooltip(_("Color of title bar"));
}
{fltk::Button* o = titlebarActiveColorButton = new fltk::Button(205, 165, 60, 20, _("Active titlebar color: "));
o->callback((fltk::Callback*)cb_titlebarActiveColorButton);
o->align(fltk::ALIGN_LEFT);
o->color((fltk::Color)title_active_color);
o->tooltip(_("Titlebar color of active (foremost) window"));
}
{fltk::Choice* o = titlebarDrawGrad = new fltk::Choice(120, 200, 145, 25, _("Effect type:"));
o->callback((fltk::Callback*)cb_titlebarDrawGrad);
o->align(fltk::ALIGN_LEFT|fltk::ALIGN_WRAP);
o->begin();
new fltk::Item(_("Flat"));
new fltk::Item(_("Horizontal shade"));
new fltk::Item(_("Thin down"));
new fltk::Item(_("Up box"));
new fltk::Item(_("Down box"));
new fltk::Item(_("Plastic"));
o->end();
o->value(title_draw_grad);
o->tooltip(_("Effect that will be used when drawing titlebar"));
}
{fltk::Divider* o = new fltk::Divider();
o->resize(10,235,285,2);
{fltk::CheckButton* o = useThemeButton = new fltk::CheckButton(10, 245, 300, 25, _("&Use theme"));
o->callback((fltk::Callback*)cb_useThemeButton);
o->value(use_theme);
o->tooltip(_("Choose titlebar theme below (some options will be disabled)"));
}
{fltk::Input* o = themePathInput = new fltk::Input(65, 270, 195, 25, _("Path:"));
o->callback((fltk::Callback*)cb_themePathInput);
o->deactivate();
themePathInput->value(theme_path);
o->tooltip(_("Enter filename for file where theme is stored"));
}
{fltk::Button* o = browse_btn = new fltk::Button(270, 270, 25, 25, "...");
o->callback((fltk::Callback*)cb_browse_btn);
o->deactivate();
o->tooltip(_("Click here to choose theme"));
}
// {fltk::Divider* o = new fltk::Divider();
// o->resize(10,100,300,2);
// }
}
o->end();
}
{fltk::Group* o = new fltk::Group(0, 25, 305, 305, "&Resizing");
o->align(fltk::ALIGN_TOP|fltk::ALIGN_LEFT);
o->hide();
o->begin();
{fltk::CheckButton* o = animateButton = new fltk::CheckButton(10, 15, 295, 25, _("Animate size changes"));
o->set();
o->callback((fltk::Callback*)cb_animateButton);
o->value(animate);
o->tooltip(_("If you enable this option, maximize/minimize operations will be animated"));
}
{fltk::ValueSlider* o = animateSlider = new fltk::ValueSlider(70, 40, 225, 25, _("Speed:"));
o->type(fltk::ValueSlider::TICK_ABOVE);
o->box(fltk::DOWN_BOX);
o->textsize(10);
o->minimum(5);
o->maximum(20);
o->step(1);
o->value(14);
o->slider_size(8);
o->callback((fltk::Callback*)cb_animateSlider);
o->align(fltk::ALIGN_LEFT);
o->value(animate_speed);
if(animate) o->activate(); else o->deactivate();
o->tooltip(_("Set speed for animation when maximizing / minimizing windows"));
}
{fltk::Divider* o = new fltk::Divider();
o->resize(10,75,285,2);
}
{fltk::CheckButton* o = opaqueResize = new fltk::CheckButton(10, 85, 285, 25, "Show window content while resizing");
o->callback((fltk::Callback*)cb_opaqueResize);
o->value(opaque_resize);
o->tooltip(_("Enable if you want contents of windows to be redrawn as you resize window"));
}
o->end();
}
o->end();
}
// {fltk::Button* o = new fltk::Button(67, 337, 80, 25, "&OK");
// o->shortcut(0xff0d);
// o->callback((fltk::Callback*)cb_OK);
// }
{fltk::Button* o = applyButton = new fltk::Button(125, 350, 90, 25, _("&Apply"));
o->callback((fltk::Callback*)cb_Apply);
o->tooltip(_("Apply changes"));
}
{fltk::Button* o = new fltk::Button(225, 350, 90, 25, _("&Close"));
o->shortcut(0xff1b);
o->callback((fltk::Callback*)cb_Close);
o->tooltip(_("Close this window"));
}
o->end();
}
// Make sure that "Use theme" is active and standalone buttons inactive
// if theme is set - and vice versa
if (!theme_path || strlen(theme_path) < 2) // possibly just 1 space
useThemeButton->value(false);
else
useThemeButton->value(true);
cb_useThemeButton(useThemeButton, 0);
// above will activate Apply button, so we need to change it back
applyButton->deactivate();
conf_changed=false;
//useThemeButton->do_callback(FL_DIALOG_BTN);
w->show(argc, argv);
return fltk::run();
}

220
ewmconf/ewmconf.fl Executable file
View File

@@ -0,0 +1,220 @@
# data file for the FLTK User Interface Designer (FLUID)
version 2.0100
images_dir ./
header_name {.h}
code_name {.cpp}
gridx 5
gridy 5
snap 3
decl {// Window manager settings for EDE is (C) Copyright 2001-2002 by Martin Pekar, this program is provided under the terms of GNU GPL v.2, see file COPYING for more information.} {}
decl {\#include "ewm.h"} {}
decl {\#include <fltk/file_chooser.h>} {}
Function {} {open
} {
code {//fl_init_locale_support("ewmconf", PREFIX"/share/locale");
readConfiguration();} {}
{fltk::Window} {} {
label {Window manager settings} open
xywh {348 192 325 370} visible
} {
{fltk::TabGroup} {} {open
xywh {0 5 330 320} color 16
} {
{fltk::Group} {} {
label {&Titlebar} open
private xywh {0 20 325 300} align 5
} {
{fltk::Choice} {} {
label {Text align:}
callback {title_align = (int)o->value();} open
xywh {82 23 105 22}
extra_code {o->value(title_align);}
} {
{fltk::Item} {} {
label Left
}
{fltk::Item} {} {
label Right
}
{fltk::Item} {} {
label Center
}
}
{fltk::ValueInput} {} {
label {Height:}
callback {title_height = (int)o->value();}
xywh {242 23 60 22} minimum 10 maximum 50 step 1 value 20
extra_code {o->value(title_height);}
}
{fltk::Button} titlebarLabelColorButton {
label {Titlebar label color: }
callback {changeBoxColor(titlebarLabelColorButton);
title_normal_color_text = (int) titlebarLabelColorButton->color();}
xywh {84 65 60 20} align 132
extra_code {o->color((fltk::Color)title_normal_color_text);}
}
{fltk::Button} titlebarColorButton {
label {Titlebar color: }
callback {changeBoxColor(titlebarColorButton);
title_normal_color = (int) titlebarColorButton->color();}
xywh {84 130 60 20} align 132
extra_code {o->color((fltk::Color) title_normal_color);}
}
{fltk::Group} {} {open
xywh {150 65 156 145}
} {
{fltk::Button} titlebarActiveLabelColorButton {
label {Titlebar active label color: }
callback {changeBoxColor(titlebarActiveLabelColorButton);
title_active_color_text = (int) titlebarActiveLabelColorButton->color();}
xywh {90 0 60 20} align 132
extra_code {o->color((fltk::Color) title_active_color_text);}
}
{fltk::Button} titlebarActiveColorButton {
label {Titlebar active color: }
callback {changeBoxColor(titlebarActiveColorButton);
title_active_color = (int) titlebarActiveColorButton->color();}
xywh {90 65 60 20} align 132
extra_code {o->color((fltk::Color)title_active_color);}
}
}
{fltk::Choice} titlebarDrawGrad {
label {Box type:}
callback {title_draw_grad = titlebarDrawGrad->value();} open
xywh {84 167 163 23} align 132
extra_code {o->value(title_draw_grad);}
} {
{fltk::Item} {} {
label Flat
}
{fltk::Item} {} {
label {Horizontal shade}
}
{fltk::Item} {} {
label {Thin down}
}
{fltk::Item} {} {
label {Up box}
}
{fltk::Item} {} {
label {Down box}
}
{fltk::Item} {} {
label Plastic
}
}
{fltk::CheckButton} useThemeButton {
label {&Use theme}
callback {if (useThemeButton->value()) {
themePathInput->activate();
browse_btn->activate();
titlebarDrawGrad->deactivate();
titlebarColorButton->deactivate();
titlebarActiveColorButton->deactivate();
}
else
{
themePathInput->deactivate();
browse_btn->deactivate();
titlebarDrawGrad->activate();
titlebarColorButton->activate();
titlebarActiveColorButton->activate();
}
use_theme = useThemeButton->value();}
xywh {7 230 300 20}
extra_code {o->value(use_theme);}
}
{fltk::Input} themePathInput {
label {Path:}
callback {theme_path = themePathInput->value();}
xywh {64 257 210 23} deactivate
extra_code {themePathInput->value(theme_path);}
}
{fltk::Button} browse_btn {
label {...}
callback {char *file_types = _("Themes (*.theme), *.theme, All files (*.*), *");
const char *fileName = fltk::file_chooser( "Themes...", themePathInput->value(), file_types);
if (fileName) {
themePathInput->value(fileName);
theme_path = fileName;
}} selected
xywh {279 257 25 23} deactivate
}
{fltk::Divider} {} {
extra_code {o->resize(10,100,300,2);}
}
{fltk::Divider} {} {
extra_code {o->resize(10,210,300,2);}
}
}
{fltk::Group} {} {
label {&Resizing} open
xywh {0 20 325 300} align 5 hide
} {
{fltk::CheckButton} animateButton {
label {Animate size changes}
callback {if(animateButton->value()) animateSlider->activate();
else animateSlider->deactivate();
animate = animateButton->value();}
xywh {7 15 300 20} value 1
extra_code {o->value(animate);}
}
{fltk::ValueSlider} animateSlider {
label {Speed:}
callback {animate_speed = (int)animateSlider->value();}
xywh {67 40 235 20} type TICK_ABOVE align 4 box DOWN_BOX textsize 10 minimum 5 maximum 20 step 1 value 14 slider_size 8
extra_code {o->value(animate_speed);
if(animate) o->activate(); else o->deactivate();}
}
{fltk::Divider} {} {
extra_code {o->resize(10,75,300,2);}
}
{fltk::CheckButton} opaqueResize {
label {Show window content while resizing}
callback {opaque_resize = opaqueResize->value()}
xywh {7 90 290 20}
extra_code {o->value(opaque_resize);}
}
}
}
{fltk::Button} {} {
label {&OK}
callback {writeConfiguration();
applyConfiguration();
exit(0);}
private xywh {67 337 80 25} shortcut 0xff0d
}
{fltk::Button} {} {
label {&Apply}
callback {writeConfiguration();
applyConfiguration();}
private xywh {152 337 80 25}
}
{fltk::Button} {} {
label {&Cancel}
callback {exit(0);}
private xywh {237 337 80 25} shortcut 0xff1b
}
}
code {//useThemeButton->do_callback(FL_DIALOG_BTN);} {}
}
Function {changeBoxColor(fltk::Button *box)} {open return_type void
} {
code {fltk::Button *colorBox = box;
fltk::Color oldColor = colorBox->color();
fltk::Color defColor = oldColor;
fltk::color_chooser("Choose color", defColor);
if ( defColor != oldColor ) {
colorBox->color(defColor);
colorBox->redraw();
}} {}
}

228
ewmconf/ewmconf.fld Executable file
View File

@@ -0,0 +1,228 @@
# data file for the FLTK User Interface Designer (FLUID)
version 2,0003
images_dir ./
i18n
header_name {.h}
code_name {.cpp}
gridx 5
gridy 5
snap 3
decl {// Window manager settings for EDE is (C) Copyright 2001-2002 by Martin Pekar, this program is provided under the terms of GNU GPL v.2, see file COPYING for more information.} {}
decl {\#include <efltk/Fl_Color_Chooser.h>} {}
decl {\#include <efltk/Fl_File_Dialog.h>} {}
decl {\#include <efltk/Fl_Config.h>} {}
decl {\#include <efltk/Fl_Locale.h>} {}
decl {\#include "ewm.h"} {}
Function {} {open
} {
code {fl_init_locale_support("ewmconf", PREFIX"/share/locale");
readConfiguration();} {}
Fl_Window {} {
label {Window manager settings} open
xywh {793 429 320 370} visible
} {
Fl_Tabs {} {open
xywh {2 5 318 325} color 16
} {
Fl_Group {} {
label {&Titlebar} open
private xywh {1 29 316 295} align 5
} {
Fl_Choice {} {
label {Text align:}
callback {title_align = (int)o->value();} open
xywh {83 13 105 22}
extra_code {o->value(title_align);}
} {
Fl_Item {} {
label Left
}
Fl_Item {} {
label Right
}
Fl_Item {} {
label Center
}
}
Fl_Value_Input {} {
label {Height:}
callback {title_height = (int)o->value();}
xywh {243 13 60 22} minimum 10 maximum 50 step 1 value 20
extra_code {o->value(title_height);}
}
Fl_Button titlebarLabelColorButton {
label {Titlebar label color: }
callback {changeBoxColor(titlebarLabelColorButton);
title_normal_color_text = (int) titlebarLabelColorButton->color();}
xywh {85 55 60 20} align 132 box DOWN_BOX
extra_code {o->color((Fl_Color)title_normal_color_text);}
}
Fl_Button titlebarColorButton {
label {Titlebar color: }
callback {changeBoxColor(titlebarColorButton);
title_normal_color = (int) titlebarColorButton->color();}
xywh {85 120 60 20} align 132 box DOWN_BOX
extra_code {o->color((Fl_Color) title_normal_color);}
}
Fl_Group {} {open
xywh {153 45 160 110}
} {
Fl_Button titlebarActiveLabelColorButton {
label {Titlebar active label color: }
callback {changeBoxColor(titlebarActiveLabelColorButton);
title_active_color_text = (int) titlebarActiveLabelColorButton->color();}
xywh {90 10 60 20} align 132 box DOWN_BOX
extra_code {o->color((Fl_Color) title_active_color_text);}
}
Fl_Button titlebarActiveColorButton {
label {Titlebar active color: }
callback {changeBoxColor(titlebarActiveColorButton);
title_active_color = (int) titlebarActiveColorButton->color();}
xywh {90 75 60 20} align 132 box DOWN_BOX
extra_code {o->color((Fl_Color)title_active_color);}
}
}
Fl_Choice titlebarDrawGrad {
label {Box type:}
callback {title_draw_grad = titlebarDrawGrad->value();} open
xywh {85 157 163 23} align 132
extra_code {o->value(title_draw_grad);}
} {
Fl_Item {} {
label Flat
}
Fl_Item {} {
label {Horizontal shade}
}
Fl_Item {} {
label {Thin down}
}
Fl_Item {} {
label {Up box}
}
Fl_Item {} {
label {Down box}
}
Fl_Item {} {
label Plastic
}
}
Fl_Check_Button useThemeButton {
label {&Use theme}
callback {if (useThemeButton->value()) {
themePathInput->activate();
browse_btn->activate();
titlebarDrawGrad->deactivate();
titlebarColorButton->deactivate();
titlebarActiveColorButton->deactivate();
}
else
{
themePathInput->deactivate();
browse_btn->deactivate();
titlebarDrawGrad->activate();
titlebarColorButton->activate();
titlebarActiveColorButton->activate();
}
use_theme = useThemeButton->value();}
xywh {8 220 300 20}
extra_code {o->value(use_theme);}
}
Fl_Input themePathInput {
label {Path:}
callback {theme_path = themePathInput->value();}
xywh {65 247 210 23} deactivate
extra_code {themePathInput->value(theme_path);}
}
Fl_Button browse_btn {
label {...}
callback {char *file_types = _("Themes (*.theme), *.theme, All files (*.*), *");
const char *fileName = fl_select_file(themePathInput->value(), file_types, _("Themes..."));
if (fileName) {
themePathInput->value(fileName);
theme_path = fileName;
}}
xywh {280 247 25 23} deactivate
}
Fl_Divider {} {
label label
xywh {8 190 300 25} color 16
}
Fl_Divider {} {
label label
xywh {8 85 297 25} color 16
}
}
Fl_Group {} {
label {&Resizing} open
xywh {3 20 310 305} align 5 hide
} {
Fl_Check_Button animateButton {
label {Animate size changes}
callback {if(animateButton->value()) animateSlider->activate();
else animateSlider->deactivate();
animate = animateButton->value();}
xywh {10 10 300 20} value 1
extra_code {o->value(animate);}
}
Fl_Value_Slider animateSlider {
label {Speed:}
callback {animate_speed = (int)animateSlider->value();}
xywh {70 35 235 20} type {HORIZONTAL|Fl_Slider::TICK_ABOVE} align 4 box DOWN_BOX text_size 10 minimum 5 maximum 20 step 2 value 14 slider_size 8
extra_code {o->value(animate_speed);
if(animate) o->activate(); else o->deactivate();}
}
Fl_Divider {} {
label label
xywh {0 60 300 25}
}
Fl_Check_Button opaqueResize {
label {Show window content while resizing}
callback {opaque_resize = opaqueResize->value()}
xywh {10 85 290 20}
extra_code {o->value(opaque_resize);}
}
}
}
Fl_Button {} {
label {&OK}
callback {writeConfiguration();
applyConfiguration();
exit(0);}
private xywh {67 337 80 25} shortcut 0xff0d
}
Fl_Button {} {
label {&Apply}
callback {writeConfiguration();
applyConfiguration();}
private xywh {152 337 80 25}
}
Fl_Button {} {
label {&Cancel}
callback {exit(0);}
private xywh {237 337 80 25} shortcut 0xff1b
}
}
code {useThemeButton->do_callback(FL_DIALOG_BTN);} {selected
}
}
Function {changeBoxColor(Fl_Button *box)} {open return_type void
} {
code {Fl_Button *colorBox = box;
Fl_Color oldColor = colorBox->color();
Fl_Color defColor = oldColor;
fl_color_chooser(_("Choose color"), defColor);
if ( defColor != oldColor ) {
colorBox->color(defColor);
colorBox->redraw();
}} {}
}

42
ewmconf/ewmconf.h Executable file
View File

@@ -0,0 +1,42 @@
/*
* $Id$
*
* edewm (EDE Window Manager) settings
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2000-2006 EDE Authors.
*
* This program is licenced under terms of the
* GNU General Public Licence version 2 or newer.
* See COPYING for details.
*/
#ifndef ewmconf_h
#define ewmconf_h
#include <fltk/Window.h>
#include <fltk/TabGroup.h>
#include <fltk/Group.h>
#include <fltk/Choice.h>
#include <fltk/Item.h>
#include <fltk/ValueInput.h>
#include <fltk/Button.h>
#include <fltk/CheckButton.h>
#include <fltk/Input.h>
#include <fltk/Divider.h>
#include <fltk/ValueSlider.h>
extern fltk::Button* titlebarLabelColorButton;
extern fltk::Button* titlebarColorButton;
extern fltk::Button* titlebarActiveLabelColorButton;
extern fltk::Button* titlebarActiveColorButton;
extern fltk::Choice* titlebarDrawGrad;
extern fltk::CheckButton* useThemeButton;
extern fltk::Input* themePathInput;
extern fltk::Button* browse_btn;
extern fltk::CheckButton* animateButton;
extern fltk::ValueSlider* animateSlider;
extern fltk::CheckButton* opaqueResize;
void changeBoxColor(fltk::Button *box);
#endif

141
ewmconf/locale/hu.po Executable file
View File

@@ -0,0 +1,141 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2005-02-09 11:23+0100\n"
"Last-Translator: Nemeth Otto <otto_nemeth@freemail.hu>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ewmconf.cpp:89
msgid "Themes (*.theme), *.theme, All files (*.*), *"
msgstr "Témák (*.theme), *.theme, Minden fájl (*.*), *"
#: ewmconf.cpp:92
msgid "Themes..."
msgstr "Témák..."
#: ewmconf.cpp:139
msgid "Window manager settings"
msgstr "Ablakkezelő beállítások"
#: ewmconf.cpp:143
msgid "&Titlebar"
msgstr "&Fejléc"
#: ewmconf.cpp:145
msgid "Text align:"
msgstr "Igazítás:"
#: ewmconf.cpp:147
msgid "Left"
msgstr "Balra"
#: ewmconf.cpp:148
msgid "Right"
msgstr "Jobbra"
#: ewmconf.cpp:149
msgid "Center"
msgstr "Középen"
#: ewmconf.cpp:153
msgid "Height:"
msgstr "Mag.:"
#: ewmconf.cpp:161
msgid "Titlebar label color: "
msgstr "Inaktív szöveg szín:"
#: ewmconf.cpp:167
msgid "Titlebar color: "
msgstr "Inaktív fejléc szín:"
#: ewmconf.cpp:174
msgid "Titlebar active label color: "
msgstr "Aktív szöveg szín:"
#: ewmconf.cpp:180
msgid "Titlebar active color: "
msgstr "Aktív fejléc szín:"
#: ewmconf.cpp:188
msgid "Box type:"
msgstr "Stílus:"
#: ewmconf.cpp:191
msgid "Flat"
msgstr "Egyszínű"
#: ewmconf.cpp:192
msgid "Horizontal shade"
msgstr "Vízszintes színátmenet"
#: ewmconf.cpp:193
msgid "Thin down"
msgstr "Karcsú"
#: ewmconf.cpp:194
msgid "Up box"
msgstr "Megemelt"
#: ewmconf.cpp:195
msgid "Down box"
msgstr "Süllyesztett"
#: ewmconf.cpp:196
msgid "Plastic"
msgstr "Plasztik"
#: ewmconf.cpp:200
msgid "&Use theme"
msgstr "&Téma használata"
#: ewmconf.cpp:204
msgid "Path:"
msgstr "Útvonal:"
#: ewmconf.cpp:209
msgid "..."
msgstr "..."
#: ewmconf.cpp:213
#: ewmconf.cpp:216
#: ewmconf.cpp:243
msgid "label"
msgstr "címke"
#: ewmconf.cpp:221
msgid "&Resizing"
msgstr "Á&tméretezés"
#: ewmconf.cpp:224
msgid "Animate size changes"
msgstr "Animált maximalizálás"
#: ewmconf.cpp:229
msgid "Speed:"
msgstr "Sebesség:"
#: ewmconf.cpp:244
msgid "Show window content while resizing"
msgstr "Ablaktartalom megjelenítése átméretezésnél"
#: ewmconf.cpp:252
msgid "&OK"
msgstr "&OK"
#: ewmconf.cpp:256
msgid "&Apply"
msgstr "&Alkalmaz"
#: ewmconf.cpp:259
msgid "&Cancel"
msgstr "Mégs&em"
#: ewmconf.cpp:274
msgid "Choose color"
msgstr "Szín kiválasztása"

148
ewmconf/locale/id.po Executable file
View File

@@ -0,0 +1,148 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: ewmconf\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-02-04 11:51+0100\n"
"PO-Revision-Date: 2002-11-29 15:44+0700\n"
"Last-Translator: Bambang Purnomosidi D. P. <i-am-the-boss@bpdp.org>\n"
"Language-Team: id <i-am-the-boss@bpdp.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-2\n"
"Content-Transfer-Encoding: 8bit\n"
#: ewmconf.cpp:89
msgid "Themes (*.theme), *.theme, All files (*.*), *"
msgstr ""
#: ewmconf.cpp:92
msgid "Themes..."
msgstr ""
#: ewmconf.cpp:139
msgid "Window manager settings"
msgstr "Seting window manager"
#: ewmconf.cpp:143
#, fuzzy
msgid "&Titlebar"
msgstr "Baris judul"
#: ewmconf.cpp:145
msgid "Text align:"
msgstr ""
#: ewmconf.cpp:147
msgid "Left"
msgstr ""
#: ewmconf.cpp:148
msgid "Right"
msgstr ""
#: ewmconf.cpp:149
msgid "Center"
msgstr ""
#: ewmconf.cpp:153
msgid "Height:"
msgstr ""
#: ewmconf.cpp:161
msgid "Titlebar label color: "
msgstr "Warna label baris judul"
#: ewmconf.cpp:167
msgid "Titlebar color: "
msgstr "Warna judul baris"
#: ewmconf.cpp:174
msgid "Titlebar active label color: "
msgstr "Warna label judul baris yang aktif"
#: ewmconf.cpp:180
msgid "Titlebar active color: "
msgstr "Warna judul baris aktif"
#: ewmconf.cpp:188
msgid "Box type:"
msgstr ""
#: ewmconf.cpp:191
msgid "Flat"
msgstr ""
#: ewmconf.cpp:192
msgid "Horizontal shade"
msgstr ""
#: ewmconf.cpp:193
msgid "Thin down"
msgstr ""
#: ewmconf.cpp:194
msgid "Up box"
msgstr ""
#: ewmconf.cpp:195
msgid "Down box"
msgstr ""
#: ewmconf.cpp:196
msgid "Plastic"
msgstr ""
#: ewmconf.cpp:200
msgid "&Use theme"
msgstr ""
#: ewmconf.cpp:204
msgid "Path:"
msgstr ""
#: ewmconf.cpp:209
msgid "..."
msgstr ""
#: ewmconf.cpp:213 ewmconf.cpp:216 ewmconf.cpp:243
msgid "label"
msgstr ""
#: ewmconf.cpp:221
#, fuzzy
msgid "&Resizing"
msgstr "Pindahkan && Ubah ukuran"
#: ewmconf.cpp:224
msgid "Animate size changes"
msgstr "Animasikan perubahan ukuran"
#: ewmconf.cpp:229
msgid "Speed:"
msgstr "Kecepatan:"
#: ewmconf.cpp:244
msgid "Show window content while resizing"
msgstr "Perlihatkan isi window pada saat mengubah ukuran"
#: ewmconf.cpp:252
msgid "&OK"
msgstr "&OK"
#: ewmconf.cpp:256
msgid "&Apply"
msgstr "Ter&apkan"
#: ewmconf.cpp:259
msgid "&Cancel"
msgstr "&Batal"
#: ewmconf.cpp:274
msgid "Choose color"
msgstr "Pilih warna"
#~ msgid "Draw gradient titlebar"
#~ msgstr "Hapus gradien judul baris"

145
ewmconf/locale/messages.pot Executable file
View File

@@ -0,0 +1,145 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-02-04 11:51+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: ewmconf.cpp:89
msgid "Themes (*.theme), *.theme, All files (*.*), *"
msgstr ""
#: ewmconf.cpp:92
msgid "Themes..."
msgstr ""
#: ewmconf.cpp:139
msgid "Window manager settings"
msgstr ""
#: ewmconf.cpp:143
msgid "&Titlebar"
msgstr ""
#: ewmconf.cpp:145
msgid "Text align:"
msgstr ""
#: ewmconf.cpp:147
msgid "Left"
msgstr ""
#: ewmconf.cpp:148
msgid "Right"
msgstr ""
#: ewmconf.cpp:149
msgid "Center"
msgstr ""
#: ewmconf.cpp:153
msgid "Height:"
msgstr ""
#: ewmconf.cpp:161
msgid "Titlebar label color: "
msgstr ""
#: ewmconf.cpp:167
msgid "Titlebar color: "
msgstr ""
#: ewmconf.cpp:174
msgid "Titlebar active label color: "
msgstr ""
#: ewmconf.cpp:180
msgid "Titlebar active color: "
msgstr ""
#: ewmconf.cpp:188
msgid "Box type:"
msgstr ""
#: ewmconf.cpp:191
msgid "Flat"
msgstr ""
#: ewmconf.cpp:192
msgid "Horizontal shade"
msgstr ""
#: ewmconf.cpp:193
msgid "Thin down"
msgstr ""
#: ewmconf.cpp:194
msgid "Up box"
msgstr ""
#: ewmconf.cpp:195
msgid "Down box"
msgstr ""
#: ewmconf.cpp:196
msgid "Plastic"
msgstr ""
#: ewmconf.cpp:200
msgid "&Use theme"
msgstr ""
#: ewmconf.cpp:204
msgid "Path:"
msgstr ""
#: ewmconf.cpp:209
msgid "..."
msgstr ""
#: ewmconf.cpp:213 ewmconf.cpp:216 ewmconf.cpp:243
msgid "label"
msgstr ""
#: ewmconf.cpp:221
msgid "&Resizing"
msgstr ""
#: ewmconf.cpp:224
msgid "Animate size changes"
msgstr ""
#: ewmconf.cpp:229
msgid "Speed:"
msgstr ""
#: ewmconf.cpp:244
msgid "Show window content while resizing"
msgstr ""
#: ewmconf.cpp:252
msgid "&OK"
msgstr ""
#: ewmconf.cpp:256
msgid "&Apply"
msgstr ""
#: ewmconf.cpp:259
msgid "&Cancel"
msgstr ""
#: ewmconf.cpp:274
msgid "Choose color"
msgstr ""

149
ewmconf/locale/ru.po Executable file
View File

@@ -0,0 +1,149 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-02-04 11:51+0100\n"
"PO-Revision-Date: 2002-11-28 HO:MI+ZONE\n"
"Last-Translator: aabbvv <null@list.ru>\n"
"Language-Team: RUSSIAN <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=koi8-r\n"
"Content-Transfer-Encoding: 8bit\n"
#: ewmconf.cpp:89
msgid "Themes (*.theme), *.theme, All files (*.*), *"
msgstr ""
#: ewmconf.cpp:92
msgid "Themes..."
msgstr ""
#: ewmconf.cpp:139
msgid "Window manager settings"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#: ewmconf.cpp:143
#, fuzzy
msgid "&Titlebar"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#: ewmconf.cpp:145
msgid "Text align:"
msgstr ""
#: ewmconf.cpp:147
msgid "Left"
msgstr ""
#: ewmconf.cpp:148
msgid "Right"
msgstr ""
#: ewmconf.cpp:149
msgid "Center"
msgstr ""
#: ewmconf.cpp:153
msgid "Height:"
msgstr ""
#: ewmconf.cpp:161
msgid "Titlebar label color: "
msgstr "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
#: ewmconf.cpp:167
msgid "Titlebar color: "
msgstr "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
#: ewmconf.cpp:174
msgid "Titlebar active label color: "
msgstr "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
#: ewmconf.cpp:180
msgid "Titlebar active color: "
msgstr "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
#: ewmconf.cpp:188
msgid "Box type:"
msgstr ""
#: ewmconf.cpp:191
msgid "Flat"
msgstr ""
#: ewmconf.cpp:192
msgid "Horizontal shade"
msgstr ""
#: ewmconf.cpp:193
msgid "Thin down"
msgstr ""
#: ewmconf.cpp:194
msgid "Up box"
msgstr ""
#: ewmconf.cpp:195
msgid "Down box"
msgstr ""
#: ewmconf.cpp:196
msgid "Plastic"
msgstr ""
#: ewmconf.cpp:200
msgid "&Use theme"
msgstr ""
#: ewmconf.cpp:204
msgid "Path:"
msgstr ""
#: ewmconf.cpp:209
msgid "..."
msgstr ""
#: ewmconf.cpp:213 ewmconf.cpp:216 ewmconf.cpp:243
msgid "label"
msgstr ""
#: ewmconf.cpp:221
#, fuzzy
msgid "&Resizing"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#: ewmconf.cpp:224
msgid "Animate size changes"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#: ewmconf.cpp:229
msgid "Speed:"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
#: ewmconf.cpp:244
msgid "Show window content while resizing"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#: ewmconf.cpp:252
msgid "&OK"
msgstr "&OK"
#: ewmconf.cpp:256
msgid "&Apply"
msgstr "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#: ewmconf.cpp:259
msgid "&Cancel"
msgstr "<22><><EFBFBD><EFBFBD>&<26><>"
#: ewmconf.cpp:274
msgid "Choose color"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
#~ msgid "Draw gradient titlebar"
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"

148
ewmconf/locale/sk.po Executable file
View File

@@ -0,0 +1,148 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: ewmconf 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-02-04 11:51+0100\n"
"PO-Revision-Date: 2002-04-21 14:50+0200\n"
"Last-Translator: Martin Pekar <cortex@nextra.sk>\n"
"Language-Team: Slovak <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ewmconf.cpp:89
msgid "Themes (*.theme), *.theme, All files (*.*), *"
msgstr ""
#: ewmconf.cpp:92
msgid "Themes..."
msgstr ""
#: ewmconf.cpp:139
msgid "Window manager settings"
msgstr "Nastavenie manažéra okien"
#: ewmconf.cpp:143
#, fuzzy
msgid "&Titlebar"
msgstr "Lišta okna"
#: ewmconf.cpp:145
msgid "Text align:"
msgstr ""
#: ewmconf.cpp:147
msgid "Left"
msgstr ""
#: ewmconf.cpp:148
msgid "Right"
msgstr ""
#: ewmconf.cpp:149
msgid "Center"
msgstr ""
#: ewmconf.cpp:153
msgid "Height:"
msgstr ""
#: ewmconf.cpp:161
msgid "Titlebar label color: "
msgstr "Farba menovky lišty: "
#: ewmconf.cpp:167
msgid "Titlebar color: "
msgstr "Farba lišty: "
#: ewmconf.cpp:174
msgid "Titlebar active label color: "
msgstr "Aktívna farba menovky lišty: "
#: ewmconf.cpp:180
msgid "Titlebar active color: "
msgstr "Aktívna farba lišty: "
#: ewmconf.cpp:188
msgid "Box type:"
msgstr ""
#: ewmconf.cpp:191
msgid "Flat"
msgstr ""
#: ewmconf.cpp:192
msgid "Horizontal shade"
msgstr ""
#: ewmconf.cpp:193
msgid "Thin down"
msgstr ""
#: ewmconf.cpp:194
msgid "Up box"
msgstr ""
#: ewmconf.cpp:195
msgid "Down box"
msgstr ""
#: ewmconf.cpp:196
msgid "Plastic"
msgstr ""
#: ewmconf.cpp:200
msgid "&Use theme"
msgstr ""
#: ewmconf.cpp:204
msgid "Path:"
msgstr ""
#: ewmconf.cpp:209
msgid "..."
msgstr ""
#: ewmconf.cpp:213 ewmconf.cpp:216 ewmconf.cpp:243
msgid "label"
msgstr ""
#: ewmconf.cpp:221
#, fuzzy
msgid "&Resizing"
msgstr "Presun a zmena veľkosti"
#: ewmconf.cpp:224
msgid "Animate size changes"
msgstr "Animácia pri zmene rozmeru"
#: ewmconf.cpp:229
msgid "Speed:"
msgstr "Rýchlosť:"
#: ewmconf.cpp:244
msgid "Show window content while resizing"
msgstr "Zobrazovať obsah okna počas zmeny veľkosti"
#: ewmconf.cpp:252
msgid "&OK"
msgstr "&OK"
#: ewmconf.cpp:256
msgid "&Apply"
msgstr "&Použiť"
#: ewmconf.cpp:259
msgid "&Cancel"
msgstr "&Zrušiť"
#: ewmconf.cpp:274
msgid "Choose color"
msgstr "Zvoliť farbu"
#~ msgid "Draw gradient titlebar"
#~ msgstr "Kresliť gradientovú lištu"

148
ewmconf/locale/sr.po Executable file
View File

@@ -0,0 +1,148 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# Dejan Lekic <dejan@nu6.org>, 2002.
#
msgid ""
msgstr ""
"Project-Id-Version: ewmconf 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-02-04 11:51+0100\n"
"PO-Revision-Date: 2002-12-02 04:24+0100\n"
"Last-Translator: Dejan Lekic <dejan@nu6.org>\n"
"Language-Team: LINUKS.org T.T. <i18n@linuks.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ewmconf.cpp:89
msgid "Themes (*.theme), *.theme, All files (*.*), *"
msgstr ""
#: ewmconf.cpp:92
msgid "Themes..."
msgstr ""
#: ewmconf.cpp:139
msgid "Window manager settings"
msgstr "Подешавање менаџера прозора"
#: ewmconf.cpp:143
#, fuzzy
msgid "&Titlebar"
msgstr "Тајтлбар"
#: ewmconf.cpp:145
msgid "Text align:"
msgstr ""
#: ewmconf.cpp:147
msgid "Left"
msgstr ""
#: ewmconf.cpp:148
msgid "Right"
msgstr ""
#: ewmconf.cpp:149
msgid "Center"
msgstr ""
#: ewmconf.cpp:153
msgid "Height:"
msgstr ""
#: ewmconf.cpp:161
msgid "Titlebar label color: "
msgstr "Боја наслова:"
#: ewmconf.cpp:167
msgid "Titlebar color: "
msgstr "Боја тајтлбар-а:"
#: ewmconf.cpp:174
msgid "Titlebar active label color: "
msgstr "Боја активног тајтлбар-а:"
#: ewmconf.cpp:180
msgid "Titlebar active color: "
msgstr "Боја активног тајтлбар-а:"
#: ewmconf.cpp:188
msgid "Box type:"
msgstr ""
#: ewmconf.cpp:191
msgid "Flat"
msgstr ""
#: ewmconf.cpp:192
msgid "Horizontal shade"
msgstr ""
#: ewmconf.cpp:193
msgid "Thin down"
msgstr ""
#: ewmconf.cpp:194
msgid "Up box"
msgstr ""
#: ewmconf.cpp:195
msgid "Down box"
msgstr ""
#: ewmconf.cpp:196
msgid "Plastic"
msgstr ""
#: ewmconf.cpp:200
msgid "&Use theme"
msgstr ""
#: ewmconf.cpp:204
msgid "Path:"
msgstr ""
#: ewmconf.cpp:209
msgid "..."
msgstr ""
#: ewmconf.cpp:213 ewmconf.cpp:216 ewmconf.cpp:243
msgid "label"
msgstr ""
#: ewmconf.cpp:221
#, fuzzy
msgid "&Resizing"
msgstr "Померање и промена величине"
#: ewmconf.cpp:224
msgid "Animate size changes"
msgstr "Анимирај промену величине"
#: ewmconf.cpp:229
msgid "Speed:"
msgstr "Брзина:"
#: ewmconf.cpp:244
msgid "Show window content while resizing"
msgstr "Приказуј прозор приликом мењања величине"
#: ewmconf.cpp:252
msgid "&OK"
msgstr "&ОК"
#: ewmconf.cpp:256
msgid "&Apply"
msgstr "&Примени"
#: ewmconf.cpp:259
msgid "&Cancel"
msgstr "&Одустани"
#: ewmconf.cpp:274
msgid "Choose color"
msgstr "Изабери боју"
#~ msgid "Draw gradient titlebar"
#~ msgstr "Цртај тајтлбар са преливом"