mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 22:06:15 +00:00
Angus latest patch + some tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1182 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
85f8bf7445
commit
c2077c66a8
27
ChangeLog
27
ChangeLog
@ -1,3 +1,30 @@
|
|||||||
|
2000-11-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
|
* lib/ui/default.ui: change Item to OptItem in import menu.
|
||||||
|
Comment out fax stuff.
|
||||||
|
|
||||||
|
* lib/configure.m4: comment out fax-related stuff.
|
||||||
|
|
||||||
|
2000-10-31 Angus Leeming <a.leeming@ic.ac.uk>
|
||||||
|
|
||||||
|
* src/frontends/xforms/xform_helpers.[Ch]: new files. Repository for
|
||||||
|
useful xforms helper functions. At present contains only formatted().
|
||||||
|
Input a string and it returns it with line breaks so that in fits
|
||||||
|
inside the label.
|
||||||
|
|
||||||
|
* src/frontends/xforms/Makefile.am: add new files.
|
||||||
|
|
||||||
|
* src/lyxrc.[Ch] (getDescription): new name for getFeedback.
|
||||||
|
* src/lyxrc.C (getDescription): Removed '\n's from strings. Corrected
|
||||||
|
punctuation.
|
||||||
|
|
||||||
|
* src/frontends/xforms/FormPreferences.[Ch]:
|
||||||
|
* src/frontends/xforms/forms/form_preferences.fd: No new functionality
|
||||||
|
but lots of little clean ups. Removed enum State. Make use of
|
||||||
|
formatted(). Constify lots of methods. Perhaps best of all: removed
|
||||||
|
requirement for that horrible reinterpret_cast from pointer to long in
|
||||||
|
feedbackPost().
|
||||||
|
|
||||||
2000-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
|
2000-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||||
|
|
||||||
* src/lyxlookup.C: include FORMS_H_LOCATION to get at FL_REVISION,
|
* src/lyxlookup.C: include FORMS_H_LOCATION to get at FL_REVISION,
|
||||||
|
45
lib/configure
vendored
45
lib/configure
vendored
@ -736,50 +736,6 @@ if test -z "$SPELL" ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Search a Fax handling program
|
|
||||||
echo $ac_n "checking for a fax driver""... $ac_c"
|
|
||||||
echo "$ac_t""(sendfax faxsend fax)"
|
|
||||||
FAX=
|
|
||||||
for ac_prog in sendfax faxsend fax
|
|
||||||
do
|
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
||||||
set dummy $ac_prog ; ac_word=$2
|
|
||||||
if test -n "$ac_word"; then
|
|
||||||
echo $ac_n "+checking for \"$ac_word\"""... $ac_c"
|
|
||||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
||||||
for ac_dir in $PATH; do
|
|
||||||
test -z "$ac_dir" && ac_dir=.
|
|
||||||
if test -x $ac_dir/$ac_word; then
|
|
||||||
FAX="$ac_prog"
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
IFS="$ac_save_ifs"
|
|
||||||
|
|
||||||
if test -n "$FAX"; then
|
|
||||||
ac_result=yes
|
|
||||||
else
|
|
||||||
ac_result=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "$ac_t""$ac_result"
|
|
||||||
test -n "$FAX" && break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if test -z "$FAX" ; then
|
|
||||||
FAX=none
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $FAX = sendfax ; then
|
|
||||||
fax_command="sendfax -n -h '\$\$Host' -c '\$\$Comment' -x '\$\$Enterprise' -d '\$\$Name'@'\$\$Phone' '\$\$FName'"
|
|
||||||
elif test $FAX = faxsend ; then
|
|
||||||
fax_command="faxsend '\$\$Phone' '\$\$FName'"
|
|
||||||
elif test $FAX = fax ; then
|
|
||||||
fax_command="fax send '\$\$Phone' '\$\$FName'"
|
|
||||||
else
|
|
||||||
fax_command="none"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Search for LinuxDoc support
|
# Search for LinuxDoc support
|
||||||
echo $ac_n "checking for SGML-tools 1.x (LinuxDoc)""... $ac_c"
|
echo $ac_n "checking for SGML-tools 1.x (LinuxDoc)""... $ac_c"
|
||||||
@ -1099,7 +1055,6 @@ cat >lyxrc.defaults <<EOF
|
|||||||
\\ascii_roff_command "$ascii_roff_command"
|
\\ascii_roff_command "$ascii_roff_command"
|
||||||
\\chktex_command "$chktex_command"
|
\\chktex_command "$chktex_command"
|
||||||
\\spell_command "$SPELL"
|
\\spell_command "$SPELL"
|
||||||
\\fax_command "$fax_command"
|
|
||||||
\\print_spool_command "$print_spool_command"
|
\\print_spool_command "$print_spool_command"
|
||||||
\\print_spool_printerprefix "$print_spool_printerprefix"
|
\\print_spool_printerprefix "$print_spool_printerprefix"
|
||||||
\\font_encoding "$chk_fontenc"
|
\\font_encoding "$chk_fontenc"
|
||||||
|
@ -236,17 +236,17 @@ test $CHKTEX = "chktex" && chktex_command="$CHKTEX -n1 -n3 -n6 -n9 -n22 -n25 -n3
|
|||||||
# Search for a spellchecker
|
# Search for a spellchecker
|
||||||
SEARCH_PROG([for a spell-checker], SPELL,ispell)
|
SEARCH_PROG([for a spell-checker], SPELL,ispell)
|
||||||
|
|
||||||
# Search a Fax handling program
|
dnl # Search a Fax handling program
|
||||||
SEARCH_PROG([for a fax driver], FAX, sendfax faxsend fax)
|
dnl SEARCH_PROG([for a fax driver], FAX, sendfax faxsend fax)
|
||||||
if test $FAX = sendfax ; then
|
dnl if test $FAX = sendfax ; then
|
||||||
fax_command="sendfax -n -h '\$\$Host' -c '\$\$Comment' -x '\$\$Enterprise' -d '\$\$Name'@'\$\$Phone' '\$\$FName'"
|
dnl fax_command="sendfax -n -h '\$\$Host' -c '\$\$Comment' -x '\$\$Enterprise' -d '\$\$Name'@'\$\$Phone' '\$\$FName'"
|
||||||
elif test $FAX = faxsend ; then
|
dnl elif test $FAX = faxsend ; then
|
||||||
fax_command="faxsend '\$\$Phone' '\$\$FName'"
|
dnl fax_command="faxsend '\$\$Phone' '\$\$FName'"
|
||||||
elif test $FAX = fax ; then
|
dnl elif test $FAX = fax ; then
|
||||||
fax_command="fax send '\$\$Phone' '\$\$FName'"
|
dnl fax_command="fax send '\$\$Phone' '\$\$FName'"
|
||||||
else
|
dnl else
|
||||||
fax_command="none"
|
dnl fax_command="none"
|
||||||
fi
|
dnl fi
|
||||||
|
|
||||||
# Search for LinuxDoc support
|
# Search for LinuxDoc support
|
||||||
SEARCH_PROG([for SGML-tools 1.x (LinuxDoc)], LINUXDOC, sgml2lyx)
|
SEARCH_PROG([for SGML-tools 1.x (LinuxDoc)], LINUXDOC, sgml2lyx)
|
||||||
@ -422,7 +422,7 @@ cat >lyxrc.defaults <<EOF
|
|||||||
\\ascii_roff_command "$ascii_roff_command"
|
\\ascii_roff_command "$ascii_roff_command"
|
||||||
\\chktex_command "$chktex_command"
|
\\chktex_command "$chktex_command"
|
||||||
\\spell_command "$SPELL"
|
\\spell_command "$SPELL"
|
||||||
\\fax_command "$fax_command"
|
dnl \\fax_command "$fax_command"
|
||||||
\\print_spool_command "$print_spool_command"
|
\\print_spool_command "$print_spool_command"
|
||||||
\\print_spool_printerprefix "$print_spool_printerprefix"
|
\\print_spool_printerprefix "$print_spool_printerprefix"
|
||||||
\\font_encoding "$chk_fontenc"
|
\\font_encoding "$chk_fontenc"
|
||||||
|
@ -43,7 +43,7 @@ Menuset
|
|||||||
OptItem "Build program|B" "build-program"
|
OptItem "Build program|B" "build-program"
|
||||||
Separator
|
Separator
|
||||||
Item "Print...|P" "buffer-print"
|
Item "Print...|P" "buffer-print"
|
||||||
Item "Fax...|F" "buffer-fax"
|
# Item "Fax...|F" "buffer-fax"
|
||||||
Submenu "Import|I" "import"
|
Submenu "Import|I" "import"
|
||||||
Submenu "Export|E" "export"
|
Submenu "Export|E" "export"
|
||||||
Separator
|
Separator
|
||||||
@ -73,12 +73,12 @@ Menuset
|
|||||||
End
|
End
|
||||||
|
|
||||||
Menu "import"
|
Menu "import"
|
||||||
Item "LaTeX|L" "buffer-import latex"
|
OptItem "LaTeX|L" "buffer-import latex"
|
||||||
Item "Ascii text as lines|A" "buffer-import text"
|
OptItem "Ascii text as lines|A" "buffer-import text"
|
||||||
Item "Ascii text as paragraphs|p" "buffer-import textparagraph"
|
OptItem "Ascii text as paragraphs|p" "buffer-import textparagraph"
|
||||||
Item "HTML|H" "buffer-import html"
|
OptItem "HTML|H" "buffer-import html"
|
||||||
Item "Noweb|N" "buffer-import literate"
|
OptItem "Noweb|N" "buffer-import literate"
|
||||||
Item "LinuxDoc|D" "buffer-import linuxdoc"
|
OptItem "LinuxDoc|D" "buffer-import linuxdoc"
|
||||||
End
|
End
|
||||||
|
|
||||||
Menu "export"
|
Menu "export"
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "support/FileInfo.h"
|
#include "support/FileInfo.h"
|
||||||
#include "support/filetools.h"
|
#include "support/filetools.h"
|
||||||
#include "lyx_gui_misc.h"
|
#include "lyx_gui_misc.h"
|
||||||
|
#include "xform_helpers.h" // formatted()
|
||||||
#include "xform_macros.h"
|
#include "xform_macros.h"
|
||||||
|
|
||||||
#ifdef SIGC_CXX_NAMESPACES
|
#ifdef SIGC_CXX_NAMESPACES
|
||||||
@ -40,7 +41,8 @@ FormPreferences::FormPreferences(LyXView * lv, Dialogs * d)
|
|||||||
usage_tab_(0), colours_(0), inputs_misc_(0), interface_(0),
|
usage_tab_(0), colours_(0), inputs_misc_(0), interface_(0),
|
||||||
language_(0), lnf_misc_(0), outputs_misc_(0), paths_(0), printer_(0),
|
language_(0), lnf_misc_(0), outputs_misc_(0), paths_(0), printer_(0),
|
||||||
screen_fonts_(0), spellchecker_(0),
|
screen_fonts_(0), spellchecker_(0),
|
||||||
combo_default_lang(0), combo_kbmap_1(0), combo_kbmap_2(0)
|
combo_default_lang(0), combo_kbmap_1(0), combo_kbmap_2(0),
|
||||||
|
feedbackObj(0)
|
||||||
{
|
{
|
||||||
// let the dialog be shown
|
// let the dialog be shown
|
||||||
// This is a permanent connection so we won't bother
|
// This is a permanent connection so we won't bother
|
||||||
@ -229,30 +231,39 @@ void FormPreferences::apply()
|
|||||||
|
|
||||||
void FormPreferences::feedback( FL_OBJECT * ob )
|
void FormPreferences::feedback( FL_OBJECT * ob )
|
||||||
{
|
{
|
||||||
if( ob->form->fdui == colours_ )
|
string str;
|
||||||
feedbackColours( ob );
|
|
||||||
if( ob->form->fdui == inputs_misc_ )
|
if( ob->form->fdui == colours_ ) {
|
||||||
feedbackInputsMisc( ob );
|
str = feedbackColours( ob );
|
||||||
if( ob->form->fdui == interface_ )
|
} else if( ob->form->fdui == inputs_misc_ ) {
|
||||||
feedbackInterface( ob );
|
str = feedbackInputsMisc( ob );
|
||||||
if( ob->form->fdui == language_ )
|
} else if( ob->form->fdui == interface_ ) {
|
||||||
feedbackLanguage( ob );
|
str = feedbackInterface( ob );
|
||||||
if( ob->form->fdui == lnf_misc_ )
|
} else if( ob->form->fdui == language_ ) {
|
||||||
feedbackLnFmisc( ob );
|
str = feedbackLanguage( ob );
|
||||||
if( ob->form->fdui == outputs_misc_ )
|
} else if( ob->form->fdui == lnf_misc_ ) {
|
||||||
feedbackOutputsMisc( ob );
|
str = feedbackLnFmisc( ob );
|
||||||
if( ob->form->fdui == paths_ )
|
} else if( ob->form->fdui == outputs_misc_ ) {
|
||||||
feedbackPaths( ob );
|
str = feedbackOutputsMisc( ob );
|
||||||
if( ob->form->fdui == printer_ )
|
} else if( ob->form->fdui == paths_ ) {
|
||||||
feedbackPrinter( ob );
|
str = feedbackPaths( ob );
|
||||||
if( ob->form->fdui == screen_fonts_ )
|
} else if( ob->form->fdui == printer_ ) {
|
||||||
feedbackScreenFonts( ob );
|
str = feedbackPrinter( ob );
|
||||||
if( ob->form->fdui == spellchecker_ )
|
} else if( ob->form->fdui == screen_fonts_ ) {
|
||||||
feedbackSpellChecker( ob );
|
str = feedbackScreenFonts( ob );
|
||||||
|
} else if( ob->form->fdui == spellchecker_ ) {
|
||||||
|
str = feedbackSpellChecker( ob );
|
||||||
|
}
|
||||||
|
|
||||||
|
str = formatted( str, dialog_->text_warning->w-10,
|
||||||
|
FL_SMALL_SIZE, FL_NORMAL_STYLE );
|
||||||
|
|
||||||
|
fl_set_object_label(dialog_->text_warning, str.c_str());
|
||||||
|
fl_set_object_lsize(dialog_->text_warning, FL_SMALL_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool FormPreferences::input(FL_OBJECT * ob, long data)
|
bool FormPreferences::input(FL_OBJECT * ob, long)
|
||||||
{
|
{
|
||||||
bool activate = true;
|
bool activate = true;
|
||||||
|
|
||||||
@ -260,30 +271,18 @@ bool FormPreferences::input(FL_OBJECT * ob, long data)
|
|||||||
// some totally ridiculous value somewhere. Change activate to suit.
|
// some totally ridiculous value somewhere. Change activate to suit.
|
||||||
// comments before each test describe what is _valid_
|
// comments before each test describe what is _valid_
|
||||||
|
|
||||||
State cb = static_cast<State>( data );
|
if( ob->form->fdui == language_ ) {
|
||||||
switch( cb ) {
|
|
||||||
case LANGUAGE:
|
|
||||||
if( ! inputLanguage( ob ) )
|
if( ! inputLanguage( ob ) )
|
||||||
activate = false;
|
activate = false;
|
||||||
break;
|
} else if( ob->form->fdui == paths_ ) {
|
||||||
|
|
||||||
case PATHS:
|
|
||||||
if( ! inputPaths( ob ) )
|
if( ! inputPaths( ob ) )
|
||||||
activate = false;
|
activate = false;
|
||||||
break;
|
} else if( ob->form->fdui == screen_fonts_ ) {
|
||||||
|
|
||||||
case SCREENFONTS:
|
|
||||||
if( ! inputScreenFonts() )
|
if( ! inputScreenFonts() )
|
||||||
activate = false;
|
activate = false;
|
||||||
break;
|
} else if( ob->form->fdui == spellchecker_ ) {
|
||||||
|
|
||||||
case SPELLCHECKER:
|
|
||||||
if( ! inputSpellChecker( ob ) )
|
if( ! inputSpellChecker( ob ) )
|
||||||
activate = false;
|
activate = false;
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return activate;
|
return activate;
|
||||||
@ -308,7 +307,7 @@ void FormPreferences::update()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::applyColours()
|
void FormPreferences::applyColours() const
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -319,8 +318,9 @@ void FormPreferences::buildColours()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::feedbackColours( FL_OBJECT const * const )
|
string FormPreferences::feedbackColours( FL_OBJECT const * const ) const
|
||||||
{
|
{
|
||||||
|
return string();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -329,7 +329,7 @@ void FormPreferences::updateColours()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::applyInputsMisc()
|
void FormPreferences::applyInputsMisc() const
|
||||||
{
|
{
|
||||||
lyxrc.date_insert_format = fl_get_input(inputs_misc_->input_date_format);
|
lyxrc.date_insert_format = fl_get_input(inputs_misc_->input_date_format);
|
||||||
}
|
}
|
||||||
@ -351,15 +351,14 @@ void FormPreferences::buildInputsMisc()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::feedbackInputsMisc( FL_OBJECT const * const ob )
|
string FormPreferences::feedbackInputsMisc( FL_OBJECT const * const ob ) const
|
||||||
{
|
{
|
||||||
string str;
|
string str;
|
||||||
|
|
||||||
if( ob == inputs_misc_->input_date_format )
|
if( ob == inputs_misc_->input_date_format )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_DATE_INSERT_FORMAT );
|
str = lyxrc.getDescription( LyXRC::RC_DATE_INSERT_FORMAT );
|
||||||
|
|
||||||
fl_set_object_label(dialog_->text_warning, str.c_str());
|
return str;
|
||||||
fl_set_object_lsize(dialog_->text_warning, FL_SMALL_SIZE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -370,7 +369,7 @@ void FormPreferences::updateInputsMisc()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::applyInterface()
|
void FormPreferences::applyInterface() const
|
||||||
{
|
{
|
||||||
lyxrc.popup_font_name =
|
lyxrc.popup_font_name =
|
||||||
fl_get_input(interface_->input_popup_font);
|
fl_get_input(interface_->input_popup_font);
|
||||||
@ -418,25 +417,24 @@ void FormPreferences::buildInterface()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::feedbackInterface( FL_OBJECT const * const ob )
|
string FormPreferences::feedbackInterface( FL_OBJECT const * const ob ) const
|
||||||
{
|
{
|
||||||
string str;
|
string str;
|
||||||
|
|
||||||
if( ob == interface_->input_popup_font )
|
if( ob == interface_->input_popup_font )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SCREEN_FONT_POPUP );
|
str = lyxrc.getDescription( LyXRC::RC_SCREEN_FONT_POPUP );
|
||||||
else if ( ob == interface_->input_menu_font )
|
else if ( ob == interface_->input_menu_font )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SCREEN_FONT_MENU );
|
str = lyxrc.getDescription( LyXRC::RC_SCREEN_FONT_MENU );
|
||||||
else if ( ob == interface_->input_popup_encoding )
|
else if ( ob == interface_->input_popup_encoding )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SCREEN_FONT_ENCODING_MENU );
|
str = lyxrc.getDescription( LyXRC::RC_SCREEN_FONT_ENCODING_MENU );
|
||||||
else if ( ob == interface_->input_bind_file )
|
else if ( ob == interface_->input_bind_file )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_BINDFILE );
|
str = lyxrc.getDescription( LyXRC::RC_BINDFILE );
|
||||||
else if ( ob == interface_->input_ui_file )
|
else if ( ob == interface_->input_ui_file )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_UIFILE );
|
str = lyxrc.getDescription( LyXRC::RC_UIFILE );
|
||||||
else if ( ob == interface_->check_override_x_dead_keys )
|
else if ( ob == interface_->check_override_x_dead_keys )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_OVERRIDE_X_DEADKEYS );
|
str = lyxrc.getDescription( LyXRC::RC_OVERRIDE_X_DEADKEYS );
|
||||||
|
|
||||||
fl_set_object_label(dialog_->text_warning, str.c_str());
|
return str;
|
||||||
fl_set_object_lsize(dialog_->text_warning, FL_SMALL_SIZE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -457,7 +455,7 @@ void FormPreferences::updateInterface()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::applyLanguage()
|
void FormPreferences::applyLanguage() const
|
||||||
{
|
{
|
||||||
lyxrc.default_language = combo_default_lang->getline();
|
lyxrc.default_language = combo_default_lang->getline();
|
||||||
|
|
||||||
@ -529,7 +527,8 @@ void FormPreferences::buildLanguage()
|
|||||||
setPostHandler( language_->input_package );
|
setPostHandler( language_->input_package );
|
||||||
setPostHandler( language_->check_use_kbmap );
|
setPostHandler( language_->check_use_kbmap );
|
||||||
|
|
||||||
// these 3 should be replaced by the appropriate combox call
|
// This is safe, as nothing is done to the pointer, other than
|
||||||
|
// to use its address in a block-if statement.
|
||||||
//setPostHandler( reinterpret_cast<FL_OBJECT *>(combo_default_lang) );
|
//setPostHandler( reinterpret_cast<FL_OBJECT *>(combo_default_lang) );
|
||||||
//setPostHandler( reinterpret_cast<FL_OBJECT *>(combo_kbmap_1) );
|
//setPostHandler( reinterpret_cast<FL_OBJECT *>(combo_kbmap_1) );
|
||||||
//setPostHandler( reinterpret_cast<FL_OBJECT *>(combo_kbmap_2) );
|
//setPostHandler( reinterpret_cast<FL_OBJECT *>(combo_kbmap_2) );
|
||||||
@ -545,7 +544,7 @@ void FormPreferences::buildLanguage()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::addLanguages( Combox & combo )
|
void FormPreferences::addLanguages( Combox & combo ) const
|
||||||
{
|
{
|
||||||
for(Languages::const_iterator cit = languages.begin();
|
for(Languages::const_iterator cit = languages.begin();
|
||||||
cit != languages.end(); cit++) {
|
cit != languages.end(); cit++) {
|
||||||
@ -554,35 +553,34 @@ void FormPreferences::addLanguages( Combox & combo )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::feedbackLanguage( FL_OBJECT const * const ob )
|
string FormPreferences::feedbackLanguage( FL_OBJECT const * const ob ) const
|
||||||
{
|
{
|
||||||
string str;
|
string str;
|
||||||
|
|
||||||
if( reinterpret_cast<Combox const *>(ob) == combo_default_lang )
|
if( reinterpret_cast<Combox const *>(ob) == combo_default_lang )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_DEFAULT_LANGUAGE );
|
str = lyxrc.getDescription( LyXRC::RC_DEFAULT_LANGUAGE );
|
||||||
else if( ob == language_->check_use_kbmap )
|
else if( ob == language_->check_use_kbmap )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_KBMAP );
|
str = lyxrc.getDescription( LyXRC::RC_KBMAP );
|
||||||
else if( reinterpret_cast<Combox const *>(ob) == combo_kbmap_1)
|
else if( reinterpret_cast<Combox const *>(ob) == combo_kbmap_1)
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_KBMAP_PRIMARY );
|
str = lyxrc.getDescription( LyXRC::RC_KBMAP_PRIMARY );
|
||||||
else if( reinterpret_cast<Combox const *>(ob) == combo_kbmap_2 )
|
else if( reinterpret_cast<Combox const *>(ob) == combo_kbmap_2 )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_KBMAP_SECONDARY );
|
str = lyxrc.getDescription( LyXRC::RC_KBMAP_SECONDARY );
|
||||||
else if( ob == language_->check_rtl_support )
|
else if( ob == language_->check_rtl_support )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_RTL_SUPPORT );
|
str = lyxrc.getDescription( LyXRC::RC_RTL_SUPPORT );
|
||||||
else if( ob == language_->check_auto_begin )
|
else if( ob == language_->check_auto_begin )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_LANGUAGE_AUTO_BEGIN );
|
str = lyxrc.getDescription( LyXRC::RC_LANGUAGE_AUTO_BEGIN );
|
||||||
else if( ob == language_->check_auto_end )
|
else if( ob == language_->check_auto_end )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_LANGUAGE_AUTO_END );
|
str = lyxrc.getDescription( LyXRC::RC_LANGUAGE_AUTO_END );
|
||||||
else if( ob == language_->check_mark_foreign )
|
else if( ob == language_->check_mark_foreign )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_MARK_FOREIGN_LANGUAGE );
|
str = lyxrc.getDescription( LyXRC::RC_MARK_FOREIGN_LANGUAGE );
|
||||||
else if( ob == language_->input_package )
|
else if( ob == language_->input_package )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_LANGUAGE_PACKAGE );
|
str = lyxrc.getDescription( LyXRC::RC_LANGUAGE_PACKAGE );
|
||||||
else if( ob == language_->input_command_begin )
|
else if( ob == language_->input_command_begin )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_LANGUAGE_COMMAND_BEGIN );
|
str = lyxrc.getDescription( LyXRC::RC_LANGUAGE_COMMAND_BEGIN );
|
||||||
else if( ob == language_->input_command_end )
|
else if( ob == language_->input_command_end )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_LANGUAGE_COMMAND_END );
|
str = lyxrc.getDescription( LyXRC::RC_LANGUAGE_COMMAND_END );
|
||||||
|
|
||||||
fl_set_object_label(dialog_->text_warning, str.c_str());
|
return str;
|
||||||
fl_set_object_lsize(dialog_->text_warning, FL_SMALL_SIZE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -638,7 +636,7 @@ void FormPreferences::updateLanguage()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::applyLnFmisc()
|
void FormPreferences::applyLnFmisc() const
|
||||||
{
|
{
|
||||||
lyxrc.show_banner = fl_get_button(lnf_misc_->check_banner);
|
lyxrc.show_banner = fl_get_button(lnf_misc_->check_banner);
|
||||||
lyxrc.auto_region_delete = fl_get_button(lnf_misc_->
|
lyxrc.auto_region_delete = fl_get_button(lnf_misc_->
|
||||||
@ -681,29 +679,28 @@ void FormPreferences::buildLnFmisc()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::feedbackLnFmisc( FL_OBJECT const * const ob )
|
string FormPreferences::feedbackLnFmisc( FL_OBJECT const * const ob ) const
|
||||||
{
|
{
|
||||||
string str;
|
string str;
|
||||||
|
|
||||||
if( ob == lnf_misc_->check_banner )
|
if( ob == lnf_misc_->check_banner )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SHOW_BANNER );
|
str = lyxrc.getDescription( LyXRC::RC_SHOW_BANNER );
|
||||||
else if( ob == lnf_misc_->check_auto_region_delete )
|
else if( ob == lnf_misc_->check_auto_region_delete )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_AUTOREGIONDELETE );
|
str = lyxrc.getDescription( LyXRC::RC_AUTOREGIONDELETE );
|
||||||
else if( ob == lnf_misc_->check_exit_confirm )
|
else if( ob == lnf_misc_->check_exit_confirm )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_EXIT_CONFIRMATION );
|
str = lyxrc.getDescription( LyXRC::RC_EXIT_CONFIRMATION );
|
||||||
else if( ob == lnf_misc_->check_display_shortcuts )
|
else if( ob == lnf_misc_->check_display_shortcuts )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_DISPLAY_SHORTCUTS );
|
str = lyxrc.getDescription( LyXRC::RC_DISPLAY_SHORTCUTS );
|
||||||
else if( ob == lnf_misc_->check_ask_new_file )
|
else if( ob == lnf_misc_->check_ask_new_file )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_NEW_ASK_FILENAME );
|
str = lyxrc.getDescription( LyXRC::RC_NEW_ASK_FILENAME );
|
||||||
else if( ob == lnf_misc_->check_cursor_follows_scrollbar )
|
else if( ob == lnf_misc_->check_cursor_follows_scrollbar )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_CURSOR_FOLLOWS_SCROLLBAR );
|
str = lyxrc.getDescription( LyXRC::RC_CURSOR_FOLLOWS_SCROLLBAR );
|
||||||
else if( ob == lnf_misc_->counter_autosave )
|
else if( ob == lnf_misc_->counter_autosave )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_AUTOSAVE );
|
str = lyxrc.getDescription( LyXRC::RC_AUTOSAVE );
|
||||||
else if( ob == lnf_misc_->counter_wm_jump )
|
else if( ob == lnf_misc_->counter_wm_jump )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_WHEEL_JUMP );
|
str = lyxrc.getDescription( LyXRC::RC_WHEEL_JUMP );
|
||||||
|
|
||||||
fl_set_object_label(dialog_->text_warning, str.c_str());
|
return str;
|
||||||
fl_set_object_lsize(dialog_->text_warning, FL_SMALL_SIZE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void FormPreferences::updateLnFmisc()
|
void FormPreferences::updateLnFmisc()
|
||||||
@ -727,7 +724,7 @@ void FormPreferences::updateLnFmisc()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::applyOutputsMisc()
|
void FormPreferences::applyOutputsMisc() const
|
||||||
{
|
{
|
||||||
lyxrc.ascii_linelen = static_cast<unsigned int>
|
lyxrc.ascii_linelen = static_cast<unsigned int>
|
||||||
(fl_get_counter_value(outputs_misc_->counter_line_len));
|
(fl_get_counter_value(outputs_misc_->counter_line_len));
|
||||||
@ -770,23 +767,22 @@ void FormPreferences::buildOutputsMisc()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::feedbackOutputsMisc(FL_OBJECT const * const ob )
|
string FormPreferences::feedbackOutputsMisc(FL_OBJECT const * const ob ) const
|
||||||
{
|
{
|
||||||
string str;
|
string str;
|
||||||
|
|
||||||
if( ob == outputs_misc_->counter_line_len )
|
if( ob == outputs_misc_->counter_line_len )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_ASCII_LINELEN );
|
str = lyxrc.getDescription( LyXRC::RC_ASCII_LINELEN );
|
||||||
else if( ob == outputs_misc_->input_tex_encoding )
|
else if( ob == outputs_misc_->input_tex_encoding )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_FONT_ENCODING );
|
str = lyxrc.getDescription( LyXRC::RC_FONT_ENCODING );
|
||||||
else if( ob == outputs_misc_->input_ascii_roff )
|
else if( ob == outputs_misc_->input_ascii_roff )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_ASCIIROFF_COMMAND );
|
str = lyxrc.getDescription( LyXRC::RC_ASCIIROFF_COMMAND );
|
||||||
else if( ob == outputs_misc_->input_checktex )
|
else if( ob == outputs_misc_->input_checktex )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_CHKTEX_COMMAND );
|
str = lyxrc.getDescription( LyXRC::RC_CHKTEX_COMMAND );
|
||||||
else if( ob == outputs_misc_->choice_default_papersize )
|
else if( ob == outputs_misc_->choice_default_papersize )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_DEFAULT_PAPERSIZE );
|
str = lyxrc.getDescription( LyXRC::RC_DEFAULT_PAPERSIZE );
|
||||||
|
|
||||||
fl_set_object_label(dialog_->text_warning, str.c_str());
|
return str;
|
||||||
fl_set_object_lsize(dialog_->text_warning, FL_SMALL_SIZE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -890,32 +886,32 @@ void FormPreferences::buildPaths()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::feedbackPaths( FL_OBJECT const * const ob )
|
string FormPreferences::feedbackPaths( FL_OBJECT const * const ob ) const
|
||||||
{
|
{
|
||||||
string str;
|
string str;
|
||||||
if( ob == paths_->input_default_path )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_DOCUMENTPATH );
|
|
||||||
else if ( ob == paths_->input_template_path )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_TEMPLATEPATH );
|
|
||||||
else if ( ob == paths_->check_use_temp_dir )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_USETEMPDIR );
|
|
||||||
else if ( ob == paths_->input_temp_dir )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_TEMPDIRPATH );
|
|
||||||
else if ( ob == paths_->check_last_files )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_CHECKLASTFILES );
|
|
||||||
else if ( ob == paths_->input_lastfiles )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_LASTFILES );
|
|
||||||
else if ( ob == paths_->counter_lastfiles )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_NUMLASTFILES );
|
|
||||||
else if ( ob == paths_->check_make_backups )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_MAKE_BACKUP );
|
|
||||||
else if ( ob == paths_->input_backup_path )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_BACKUPDIR_PATH );
|
|
||||||
else if ( ob == paths_->input_serverpipe )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SERVERPIPE );
|
|
||||||
|
|
||||||
fl_set_object_label(dialog_->text_warning, str.c_str());
|
if( ob == paths_->input_default_path )
|
||||||
fl_set_object_lsize(dialog_->text_warning, FL_SMALL_SIZE);
|
str = lyxrc.getDescription( LyXRC::RC_DOCUMENTPATH );
|
||||||
|
else if ( ob == paths_->input_template_path )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_TEMPLATEPATH );
|
||||||
|
else if ( ob == paths_->check_use_temp_dir )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_USETEMPDIR );
|
||||||
|
else if ( ob == paths_->input_temp_dir )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_TEMPDIRPATH );
|
||||||
|
else if ( ob == paths_->check_last_files )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_CHECKLASTFILES );
|
||||||
|
else if ( ob == paths_->input_lastfiles )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_LASTFILES );
|
||||||
|
else if ( ob == paths_->counter_lastfiles )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_NUMLASTFILES );
|
||||||
|
else if ( ob == paths_->check_make_backups )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_MAKE_BACKUP );
|
||||||
|
else if ( ob == paths_->input_backup_path )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_BACKUPDIR_PATH );
|
||||||
|
else if ( ob == paths_->input_serverpipe )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_SERVERPIPE );
|
||||||
|
|
||||||
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1047,7 +1043,7 @@ void FormPreferences::updatePaths()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::applyPrinter()
|
void FormPreferences::applyPrinter() const
|
||||||
{
|
{
|
||||||
lyxrc.print_adapt_output = fl_get_button(printer_->check_adapt_output);
|
lyxrc.print_adapt_output = fl_get_button(printer_->check_adapt_output);
|
||||||
lyxrc.print_command = fl_get_input(printer_->input_command);
|
lyxrc.print_command = fl_get_input(printer_->input_command);
|
||||||
@ -1075,49 +1071,48 @@ void FormPreferences::applyPrinter()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::feedbackPrinter( FL_OBJECT const * const ob )
|
string FormPreferences::feedbackPrinter( FL_OBJECT const * const ob ) const
|
||||||
{
|
{
|
||||||
string str;
|
string str;
|
||||||
|
|
||||||
if( ob == printer_->input_command )
|
if( ob == printer_->input_command )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINT_COMMAND );
|
str = lyxrc.getDescription( LyXRC::RC_PRINT_COMMAND );
|
||||||
else if( ob == printer_->check_adapt_output )
|
else if( ob == printer_->check_adapt_output )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINT_ADAPTOUTPUT );
|
str = lyxrc.getDescription( LyXRC::RC_PRINT_ADAPTOUTPUT );
|
||||||
else if( ob == printer_->input_to_printer )
|
else if( ob == printer_->input_to_printer )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTTOPRINTER );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTTOPRINTER );
|
||||||
else if( ob == printer_->input_to_file )
|
else if( ob == printer_->input_to_file )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTTOFILE );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTTOFILE );
|
||||||
else if( ob == printer_->input_file_extension )
|
else if( ob == printer_->input_file_extension )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTFILEEXTENSION );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTFILEEXTENSION );
|
||||||
else if( ob == printer_->input_extra_options )
|
else if( ob == printer_->input_extra_options )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTEXSTRAOPTIONS );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTEXSTRAOPTIONS );
|
||||||
else if( ob == printer_->input_spool_command )
|
else if( ob == printer_->input_spool_command )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTSPOOL_COMMAND );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTSPOOL_COMMAND );
|
||||||
else if( ob == printer_->input_spool_prefix )
|
else if( ob == printer_->input_spool_prefix )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTSPOOL_PRINTERPREFIX );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTSPOOL_PRINTERPREFIX );
|
||||||
else if( ob == printer_->input_name )
|
else if( ob == printer_->input_name )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTER );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTER );
|
||||||
else if( ob == printer_->input_even_pages )
|
else if( ob == printer_->input_even_pages )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTEVENPAGEFLAG );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTEVENPAGEFLAG );
|
||||||
else if( ob == printer_->input_odd_pages )
|
else if( ob == printer_->input_odd_pages )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTODDPAGEFLAG );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTODDPAGEFLAG );
|
||||||
else if( ob == printer_->input_page_range )
|
else if( ob == printer_->input_page_range )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTPAGERANGEFLAG );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTPAGERANGEFLAG );
|
||||||
else if( ob == printer_->input_reverse )
|
else if( ob == printer_->input_reverse )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTREVERSEFLAG );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTREVERSEFLAG );
|
||||||
else if( ob == printer_->input_landscape )
|
else if( ob == printer_->input_landscape )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTLANDSCAPEFLAG );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTLANDSCAPEFLAG );
|
||||||
else if( ob == printer_->input_copies )
|
else if( ob == printer_->input_copies )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTCOLLCOPIESFLAG );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTCOLLCOPIESFLAG );
|
||||||
else if( ob == printer_->input_collated )
|
else if( ob == printer_->input_collated )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTCOPIESFLAG );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTCOPIESFLAG );
|
||||||
else if( ob == printer_->input_paper_type )
|
else if( ob == printer_->input_paper_type )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTPAPERFLAG );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTPAPERFLAG );
|
||||||
else if( ob == printer_->input_paper_size )
|
else if( ob == printer_->input_paper_size )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PRINTPAPERDIMENSIONFLAG );
|
str = lyxrc.getDescription( LyXRC::RC_PRINTPAPERDIMENSIONFLAG );
|
||||||
|
|
||||||
fl_set_object_label(dialog_->text_warning, str.c_str());
|
return str;
|
||||||
fl_set_object_lsize(dialog_->text_warning, FL_SMALL_SIZE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1210,7 +1205,7 @@ void FormPreferences::updatePrinter()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::applyScreenFonts()
|
void FormPreferences::applyScreenFonts() const
|
||||||
{
|
{
|
||||||
bool changed = false;
|
bool changed = false;
|
||||||
|
|
||||||
@ -1374,24 +1369,24 @@ void FormPreferences::buildScreenFonts()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::feedbackScreenFonts(FL_OBJECT const * const ob )
|
string FormPreferences::feedbackScreenFonts(FL_OBJECT const * const ob ) const
|
||||||
{
|
{
|
||||||
string str;
|
string str;
|
||||||
|
|
||||||
if( ob == screen_fonts_->input_roman )
|
if( ob == screen_fonts_->input_roman )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SCREEN_FONT_ROMAN );
|
str = lyxrc.getDescription( LyXRC::RC_SCREEN_FONT_ROMAN );
|
||||||
else if( ob == screen_fonts_->input_sans )
|
else if( ob == screen_fonts_->input_sans )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SCREEN_FONT_SANS );
|
str = lyxrc.getDescription( LyXRC::RC_SCREEN_FONT_SANS );
|
||||||
else if( ob == screen_fonts_->input_typewriter )
|
else if( ob == screen_fonts_->input_typewriter )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SCREEN_FONT_TYPEWRITER );
|
str = lyxrc.getDescription( LyXRC::RC_SCREEN_FONT_TYPEWRITER );
|
||||||
else if( ob == screen_fonts_->check_scalable )
|
else if( ob == screen_fonts_->check_scalable )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SCREEN_FONT_SCALABLE );
|
str = lyxrc.getDescription( LyXRC::RC_SCREEN_FONT_SCALABLE );
|
||||||
else if( ob == screen_fonts_->input_screen_encoding )
|
else if( ob == screen_fonts_->input_screen_encoding )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SCREEN_FONT_ENCODING );
|
str = lyxrc.getDescription( LyXRC::RC_SCREEN_FONT_ENCODING );
|
||||||
else if( ob == screen_fonts_->counter_zoom )
|
else if( ob == screen_fonts_->counter_zoom )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SCREEN_ZOOM );
|
str = lyxrc.getDescription( LyXRC::RC_SCREEN_ZOOM );
|
||||||
else if( ob == screen_fonts_->counter_dpi )
|
else if( ob == screen_fonts_->counter_dpi )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SCREEN_DPI );
|
str = lyxrc.getDescription( LyXRC::RC_SCREEN_DPI );
|
||||||
else if( ob == screen_fonts_->input_tiny
|
else if( ob == screen_fonts_->input_tiny
|
||||||
|| ob == screen_fonts_->input_script
|
|| ob == screen_fonts_->input_script
|
||||||
|| ob == screen_fonts_->input_footnote
|
|| ob == screen_fonts_->input_footnote
|
||||||
@ -1403,10 +1398,9 @@ void FormPreferences::feedbackScreenFonts(FL_OBJECT const * const ob )
|
|||||||
|| ob == screen_fonts_->input_normal
|
|| ob == screen_fonts_->input_normal
|
||||||
|| ob == screen_fonts_->input_huge
|
|| ob == screen_fonts_->input_huge
|
||||||
|| ob == screen_fonts_->input_huger )
|
|| ob == screen_fonts_->input_huger )
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SCREEN_FONT_SIZES );
|
str = lyxrc.getDescription( LyXRC::RC_SCREEN_FONT_SIZES );
|
||||||
|
|
||||||
fl_set_object_label(dialog_->text_warning, str.c_str());
|
return str;
|
||||||
fl_set_object_lsize(dialog_->text_warning, FL_SMALL_SIZE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1605,30 +1599,30 @@ void FormPreferences::buildSpellchecker()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::feedbackSpellChecker( FL_OBJECT const * const ob )
|
string FormPreferences::feedbackSpellChecker( FL_OBJECT const * const ob ) const
|
||||||
{
|
{
|
||||||
string str;
|
string str;
|
||||||
if( ob == spellchecker_->choice_spell_command )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_SPELL_COMMAND );
|
|
||||||
else if( ob == spellchecker_->check_alt_lang )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_USE_ALT_LANG );
|
|
||||||
else if( ob == spellchecker_->input_alt_lang )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_ALT_LANG );
|
|
||||||
else if( ob == spellchecker_->check_escape_chars )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_USE_ESC_CHARS );
|
|
||||||
else if( ob == spellchecker_->input_escape_chars )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_ESC_CHARS );
|
|
||||||
else if( ob == spellchecker_->check_personal_dict )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_USE_PERS_DICT );
|
|
||||||
else if( ob == spellchecker_->input_personal_dict )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_PERS_DICT );
|
|
||||||
else if( ob == spellchecker_->check_compound_words )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_ACCEPT_COMPOUND );
|
|
||||||
else if( ob == spellchecker_->check_input_enc )
|
|
||||||
str = lyxrc.getFeedback( LyXRC::RC_USE_INP_ENC );
|
|
||||||
|
|
||||||
fl_set_object_label(dialog_->text_warning, str.c_str());
|
if( ob == spellchecker_->choice_spell_command )
|
||||||
fl_set_object_lsize(dialog_->text_warning, FL_SMALL_SIZE);
|
str = lyxrc.getDescription( LyXRC::RC_SPELL_COMMAND );
|
||||||
|
else if( ob == spellchecker_->check_alt_lang )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_USE_ALT_LANG );
|
||||||
|
else if( ob == spellchecker_->input_alt_lang )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_ALT_LANG );
|
||||||
|
else if( ob == spellchecker_->check_escape_chars )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_USE_ESC_CHARS );
|
||||||
|
else if( ob == spellchecker_->input_escape_chars )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_ESC_CHARS );
|
||||||
|
else if( ob == spellchecker_->check_personal_dict )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_USE_PERS_DICT );
|
||||||
|
else if( ob == spellchecker_->input_personal_dict )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_PERS_DICT );
|
||||||
|
else if( ob == spellchecker_->check_compound_words )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_ACCEPT_COMPOUND );
|
||||||
|
else if( ob == spellchecker_->check_input_enc )
|
||||||
|
str = lyxrc.getDescription( LyXRC::RC_USE_INP_ENC );
|
||||||
|
|
||||||
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1864,58 +1858,55 @@ bool FormPreferences::WriteableFile( string const & name, string const & suffix
|
|||||||
void FormPreferences::ComboLanguageCB(int, void * v, Combox * combox)
|
void FormPreferences::ComboLanguageCB(int, void * v, Combox * combox)
|
||||||
{
|
{
|
||||||
FormPreferences * pre = static_cast<FormPreferences*>(v);
|
FormPreferences * pre = static_cast<FormPreferences*>(v);
|
||||||
pre->bc_.valid( pre->input( reinterpret_cast<FL_OBJECT *>(combox),
|
// This is safe, as nothing is done to the pointer, other than
|
||||||
FormPreferences::LANGUAGE ) );
|
// to use its address in a block-if statement.
|
||||||
|
pre->bc_.valid( pre->input( reinterpret_cast<FL_OBJECT *>(combox), 0 ));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// C functions for the timer callback used to give the user feedback
|
// C functions for the timer callback used to give the user feedback
|
||||||
C_GENERICCB(FormPreferences, FeedbackCB)
|
C_GENERICCB(FormPreferences, FeedbackCB)
|
||||||
|
|
||||||
|
void FormPreferences::FeedbackCB(FL_OBJECT * ob, long)
|
||||||
|
{
|
||||||
|
FormPreferences * pre =
|
||||||
|
static_cast<FormPreferences*>(ob->form->u_vdata);
|
||||||
|
pre->feedback( pre->feedbackObj );
|
||||||
|
}
|
||||||
|
|
||||||
extern "C" int C_FormPreferencesFeedbackPost(FL_OBJECT * ob, int event,
|
extern "C" int C_FormPreferencesFeedbackPost(FL_OBJECT * ob, int event,
|
||||||
FL_Coord mx, FL_Coord my,
|
|
||||||
int key, void * xev)
|
|
||||||
{
|
|
||||||
FormPreferences * pre =
|
|
||||||
static_cast<FormPreferences*>(ob->form->u_vdata);
|
|
||||||
return pre->FeedbackPost(ob, event, mx, my, key, xev);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::FeedbackCB(FL_OBJECT *, long data)
|
|
||||||
{
|
|
||||||
FL_OBJECT * ob = reinterpret_cast<FL_OBJECT*>(data);
|
|
||||||
FormPreferences * pre =
|
|
||||||
static_cast<FormPreferences*>(ob->form->u_vdata);
|
|
||||||
pre->feedback( ob );
|
|
||||||
}
|
|
||||||
|
|
||||||
// post_handler for feedback messages
|
|
||||||
int FormPreferences::FeedbackPost(FL_OBJECT *ob, int event,
|
|
||||||
FL_Coord, FL_Coord, int, void *)
|
FL_Coord, FL_Coord, int, void *)
|
||||||
{
|
{
|
||||||
FL_OBJECT * timer_feedback = reinterpret_cast<FL_OBJECT *>(ob->u_cdata);
|
|
||||||
|
|
||||||
// We do not test for empty help here, since this can never happen
|
|
||||||
if(event == FL_ENTER){
|
|
||||||
fl_set_object_callback(timer_feedback,
|
|
||||||
C_FormPreferencesFeedbackCB,
|
|
||||||
reinterpret_cast<long>(ob));
|
|
||||||
fl_set_timer(timer_feedback, 0.5);
|
|
||||||
}
|
|
||||||
else if(event != FL_MOTION){
|
|
||||||
fl_set_timer(timer_feedback, 0);
|
|
||||||
|
|
||||||
FormPreferences * pre =
|
FormPreferences * pre =
|
||||||
static_cast<FormPreferences*>(ob->form->u_vdata);
|
static_cast<FormPreferences*>(ob->form->u_vdata);
|
||||||
|
pre->feedbackPost(ob, event);
|
||||||
fl_set_object_label(pre->dialog_->text_warning, "");
|
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// post_handler for feedback messages
|
||||||
|
void FormPreferences::feedbackPost(FL_OBJECT *ob, int event)
|
||||||
|
{
|
||||||
|
// We do not test for empty help here, since this can never happen
|
||||||
|
if(event == FL_ENTER){
|
||||||
|
// Used as a placeholder for ob, so that we don't have to
|
||||||
|
// a horrible reinterpret_cast to long and pass it as an
|
||||||
|
// argument in fl_set_object_callback.
|
||||||
|
feedbackObj = ob;
|
||||||
|
fl_set_object_callback(dialog_->timer_feedback,
|
||||||
|
C_FormPreferencesFeedbackCB,
|
||||||
|
0);
|
||||||
|
fl_set_timer(dialog_->timer_feedback, 0.5);
|
||||||
|
}
|
||||||
|
else if(event != FL_MOTION){
|
||||||
|
fl_set_timer(dialog_->timer_feedback, 0);
|
||||||
|
feedbackObj = 0;
|
||||||
|
fl_set_object_label(dialog_->text_warning, "");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void FormPreferences::setPostHandler( FL_OBJECT * ob ) const
|
void FormPreferences::setPostHandler( FL_OBJECT * ob ) const
|
||||||
{
|
{
|
||||||
ob->u_cdata = reinterpret_cast<char *>(dialog_->timer_feedback);
|
|
||||||
fl_set_object_posthandler(ob, C_FormPreferencesFeedbackPost);
|
fl_set_object_posthandler(ob, C_FormPreferencesFeedbackPost);
|
||||||
}
|
}
|
||||||
|
@ -54,34 +54,9 @@ public:
|
|||||||
///
|
///
|
||||||
static void FeedbackCB(FL_OBJECT *, long);
|
static void FeedbackCB(FL_OBJECT *, long);
|
||||||
///
|
///
|
||||||
static int FeedbackPost(FL_OBJECT *ob, int, FL_Coord, FL_Coord,
|
void feedbackPost(FL_OBJECT *, int);
|
||||||
int, void *);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
///
|
|
||||||
enum State {
|
|
||||||
///
|
|
||||||
COLOURS,
|
|
||||||
///
|
|
||||||
INPUTSMISC,
|
|
||||||
///
|
|
||||||
INTERFACE,
|
|
||||||
///
|
|
||||||
LANGUAGE,
|
|
||||||
///
|
|
||||||
LOOKNFEELMISC,
|
|
||||||
///
|
|
||||||
OUTPUTSMISC,
|
|
||||||
///
|
|
||||||
PATHS,
|
|
||||||
///
|
|
||||||
PRINTER,
|
|
||||||
///
|
|
||||||
SCREENFONTS,
|
|
||||||
///
|
|
||||||
SPELLCHECKER
|
|
||||||
};
|
|
||||||
|
|
||||||
/// Update the dialog.
|
/// Update the dialog.
|
||||||
virtual void update();
|
virtual void update();
|
||||||
///
|
///
|
||||||
@ -97,29 +72,29 @@ private:
|
|||||||
/// Build the dialog
|
/// Build the dialog
|
||||||
virtual void build();
|
virtual void build();
|
||||||
/// control which feedback message is output
|
/// control which feedback message is output
|
||||||
void feedback( FL_OBJECT * ob );
|
void feedback( FL_OBJECT * );
|
||||||
///
|
///
|
||||||
virtual FL_FORM * form() const;
|
virtual FL_FORM * form() const;
|
||||||
///
|
///
|
||||||
void applyColours();
|
void applyColours() const;
|
||||||
///
|
///
|
||||||
void applyInputsMisc();
|
void applyInputsMisc() const;
|
||||||
///
|
///
|
||||||
void applyInterface();
|
void applyInterface() const;
|
||||||
///
|
///
|
||||||
void applyLanguage();
|
void applyLanguage() const;
|
||||||
///
|
///
|
||||||
void applyLnFmisc();
|
void applyLnFmisc() const;
|
||||||
///
|
///
|
||||||
void applyOutputsMisc();
|
void applyOutputsMisc() const;
|
||||||
///
|
///
|
||||||
void applyPaths();
|
void applyPaths(); // not const because calls updatePaths!
|
||||||
///
|
///
|
||||||
void applyPrinter();
|
void applyPrinter() const;
|
||||||
///
|
///
|
||||||
void applyScreenFonts();
|
void applyScreenFonts() const;
|
||||||
///
|
///
|
||||||
void applySpellChecker();
|
void applySpellChecker(); // not const because calls updateSpellChecker!
|
||||||
///
|
///
|
||||||
void buildColours();
|
void buildColours();
|
||||||
///
|
///
|
||||||
@ -129,7 +104,7 @@ private:
|
|||||||
///
|
///
|
||||||
void buildLanguage();
|
void buildLanguage();
|
||||||
///
|
///
|
||||||
void addLanguages( Combox & );
|
void addLanguages( Combox & ) const;
|
||||||
///
|
///
|
||||||
void buildLnFmisc();
|
void buildLnFmisc();
|
||||||
///
|
///
|
||||||
@ -143,25 +118,25 @@ private:
|
|||||||
///
|
///
|
||||||
void buildSpellchecker();
|
void buildSpellchecker();
|
||||||
///
|
///
|
||||||
void feedbackColours(FL_OBJECT const * const);
|
string feedbackColours(FL_OBJECT const * const) const;
|
||||||
///
|
///
|
||||||
void feedbackInputsMisc(FL_OBJECT const * const);
|
string feedbackInputsMisc(FL_OBJECT const * const) const;
|
||||||
///
|
///
|
||||||
void feedbackInterface(FL_OBJECT const * const);
|
string feedbackInterface(FL_OBJECT const * const) const;
|
||||||
///
|
///
|
||||||
void feedbackLanguage(FL_OBJECT const * const);
|
string feedbackLanguage(FL_OBJECT const * const) const;
|
||||||
///
|
///
|
||||||
void feedbackLnFmisc(FL_OBJECT const * const);
|
string feedbackLnFmisc(FL_OBJECT const * const) const;
|
||||||
///
|
///
|
||||||
void feedbackOutputsMisc(FL_OBJECT const * const);
|
string feedbackOutputsMisc(FL_OBJECT const * const) const;
|
||||||
///
|
///
|
||||||
void feedbackPaths(FL_OBJECT const * const);
|
string feedbackPaths(FL_OBJECT const * const) const;
|
||||||
///
|
///
|
||||||
void feedbackPrinter(FL_OBJECT const * const);
|
string feedbackPrinter(FL_OBJECT const * const) const;
|
||||||
///
|
///
|
||||||
void feedbackScreenFonts(FL_OBJECT const * const);
|
string feedbackScreenFonts(FL_OBJECT const * const) const;
|
||||||
///
|
///
|
||||||
void feedbackSpellChecker(FL_OBJECT const * const);
|
string feedbackSpellChecker(FL_OBJECT const * const) const;
|
||||||
///
|
///
|
||||||
bool inputLanguage(FL_OBJECT const * const);
|
bool inputLanguage(FL_OBJECT const * const);
|
||||||
///
|
///
|
||||||
@ -261,6 +236,8 @@ private:
|
|||||||
Combox * combo_kbmap_1;
|
Combox * combo_kbmap_1;
|
||||||
///
|
///
|
||||||
Combox * combo_kbmap_2;
|
Combox * combo_kbmap_2;
|
||||||
|
///
|
||||||
|
FL_OBJECT * feedbackObj;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -83,7 +83,9 @@ libxforms_la_SOURCES = \
|
|||||||
RadioButtonGroup.h \
|
RadioButtonGroup.h \
|
||||||
Toolbar_pimpl.C \
|
Toolbar_pimpl.C \
|
||||||
Toolbar_pimpl.h \
|
Toolbar_pimpl.h \
|
||||||
xform_macros.h
|
xform_macros.h \
|
||||||
|
xform_helpers.C \
|
||||||
|
xform_helpers.h
|
||||||
|
|
||||||
# These still have to be added. Sooner or later. ARRae-20000411
|
# These still have to be added. Sooner or later. ARRae-20000411
|
||||||
# GUI_defaults.C \
|
# GUI_defaults.C \
|
||||||
|
@ -96,18 +96,18 @@ FD_form_screen_fonts * FormPreferences::build_screen_fonts()
|
|||||||
obj = fl_add_box(FL_FLAT_BOX, 0, 0, 455, 375, "");
|
obj = fl_add_box(FL_FLAT_BOX, 0, 0, 455, 375, "");
|
||||||
fdui->input_roman = obj = fl_add_input(FL_NORMAL_INPUT, 210, 5, 200, 30, _("Roman"));
|
fdui->input_roman = obj = fl_add_input(FL_NORMAL_INPUT, 210, 5, 200, 30, _("Roman"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_sans = obj = fl_add_input(FL_NORMAL_INPUT, 210, 35, 200, 30, _("Sans Serif"));
|
fdui->input_sans = obj = fl_add_input(FL_NORMAL_INPUT, 210, 35, 200, 30, _("Sans Serif"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_typewriter = obj = fl_add_input(FL_NORMAL_INPUT, 210, 65, 200, 30, _("Typewriter"));
|
fdui->input_typewriter = obj = fl_add_input(FL_NORMAL_INPUT, 210, 65, 200, 30, _("Typewriter"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->counter_zoom = obj = fl_add_counter(FL_SIMPLE_COUNTER, 345, 130, 65, 30, idex(_("Zoom %|#Z")));
|
fdui->counter_zoom = obj = fl_add_counter(FL_SIMPLE_COUNTER, 345, 130, 65, 30, idex(_("Zoom %|#Z")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Zoom %|#Z")), 1);
|
fl_set_button_shortcut(obj, scex(_("Zoom %|#Z")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_counter_precision(obj, 0);
|
fl_set_counter_precision(obj, 0);
|
||||||
fl_set_counter_bounds(obj, 0, 999);
|
fl_set_counter_bounds(obj, 0, 999);
|
||||||
fl_set_counter_value(obj, 150);
|
fl_set_counter_value(obj, 150);
|
||||||
@ -115,50 +115,50 @@ FD_form_screen_fonts * FormPreferences::build_screen_fonts()
|
|||||||
fdui->check_scalable = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 60, 143, 33, 31, _("Use scalable fonts"));
|
fdui->check_scalable = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 60, 143, 33, 31, _("Use scalable fonts"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_RIGHT);
|
fl_set_object_lalign(obj, FL_ALIGN_RIGHT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
fdui->input_screen_encoding = obj = fl_add_input(FL_NORMAL_INPUT, 210, 95, 200, 30, _("Encoding"));
|
fdui->input_screen_encoding = obj = fl_add_input(FL_NORMAL_INPUT, 210, 95, 200, 30, _("Encoding"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_script = obj = fl_add_input(FL_FLOAT_INPUT, 200, 199, 70, 30, _("script"));
|
fdui->input_script = obj = fl_add_input(FL_FLOAT_INPUT, 200, 199, 70, 30, _("script"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_footnote = obj = fl_add_input(FL_FLOAT_INPUT, 340, 198, 70, 30, _("footnote"));
|
fdui->input_footnote = obj = fl_add_input(FL_FLOAT_INPUT, 340, 198, 70, 30, _("footnote"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_large = obj = fl_add_input(FL_FLOAT_INPUT, 340, 228, 70, 30, _("large"));
|
fdui->input_large = obj = fl_add_input(FL_FLOAT_INPUT, 340, 228, 70, 30, _("large"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_largest = obj = fl_add_input(FL_FLOAT_INPUT, 200, 259, 70, 30, _("largest"));
|
fdui->input_largest = obj = fl_add_input(FL_FLOAT_INPUT, 200, 259, 70, 30, _("largest"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_huge = obj = fl_add_input(FL_FLOAT_INPUT, 340, 258, 70, 30, _("huge"));
|
fdui->input_huge = obj = fl_add_input(FL_FLOAT_INPUT, 340, 258, 70, 30, _("huge"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_normal = obj = fl_add_input(FL_FLOAT_INPUT, 200, 229, 70, 30, _("normal"));
|
fdui->input_normal = obj = fl_add_input(FL_FLOAT_INPUT, 200, 229, 70, 30, _("normal"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->counter_dpi = obj = fl_add_counter(FL_SIMPLE_COUNTER, 345, 162, 65, 30, idex(_("Screen DPI|#D")));
|
fdui->counter_dpi = obj = fl_add_counter(FL_SIMPLE_COUNTER, 345, 162, 65, 30, idex(_("Screen DPI|#D")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Screen DPI|#D")), 1);
|
fl_set_button_shortcut(obj, scex(_("Screen DPI|#D")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_counter_precision(obj, 0);
|
fl_set_counter_precision(obj, 0);
|
||||||
fl_set_counter_bounds(obj, 0, 999);
|
fl_set_counter_bounds(obj, 0, 999);
|
||||||
fl_set_counter_value(obj, 150);
|
fl_set_counter_value(obj, 150);
|
||||||
fl_set_counter_step(obj, 1, 1);
|
fl_set_counter_step(obj, 1, 1);
|
||||||
fdui->input_tiny = obj = fl_add_input(FL_FLOAT_INPUT, 60, 198, 70, 30, _("tiny"));
|
fdui->input_tiny = obj = fl_add_input(FL_FLOAT_INPUT, 60, 198, 70, 30, _("tiny"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_larger = obj = fl_add_input(FL_FLOAT_INPUT, 60, 258, 70, 30, _("larger"));
|
fdui->input_larger = obj = fl_add_input(FL_FLOAT_INPUT, 60, 258, 70, 30, _("larger"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_small = obj = fl_add_input(FL_FLOAT_INPUT, 60, 228, 70, 30, _("small"));
|
fdui->input_small = obj = fl_add_input(FL_FLOAT_INPUT, 60, 228, 70, 30, _("small"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_huger = obj = fl_add_input(FL_FLOAT_INPUT, 60, 288, 70, 30, _("huger"));
|
fdui->input_huger = obj = fl_add_input(FL_FLOAT_INPUT, 60, 288, 70, 30, _("huger"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SCREENFONTS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_end_form();
|
fl_end_form();
|
||||||
|
|
||||||
fdui->form->fdui = fdui;
|
fdui->form->fdui = fdui;
|
||||||
@ -186,7 +186,7 @@ FD_form_outputs_misc * FormPreferences::build_outputs_misc()
|
|||||||
fl_set_button_shortcut(obj, scex(_("Ascii line length|#A")), 1);
|
fl_set_button_shortcut(obj, scex(_("Ascii line length|#A")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, OUTPUTSMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_counter_precision(obj, 0);
|
fl_set_counter_precision(obj, 0);
|
||||||
fl_set_counter_bounds(obj, 0, 120);
|
fl_set_counter_bounds(obj, 0, 120);
|
||||||
fl_set_counter_value(obj, 75);
|
fl_set_counter_value(obj, 75);
|
||||||
@ -194,20 +194,20 @@ FD_form_outputs_misc * FormPreferences::build_outputs_misc()
|
|||||||
fdui->input_tex_encoding = obj = fl_add_input(FL_NORMAL_INPUT, 216, 95, 200, 30, idex(_("TeX encoding|#T")));
|
fdui->input_tex_encoding = obj = fl_add_input(FL_NORMAL_INPUT, 216, 95, 200, 30, idex(_("TeX encoding|#T")));
|
||||||
fl_set_button_shortcut(obj, scex(_("TeX encoding|#T")), 1);
|
fl_set_button_shortcut(obj, scex(_("TeX encoding|#T")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, OUTPUTSMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->choice_default_papersize = obj = fl_add_choice(FL_NORMAL_CHOICE, 219, 142, 199, 29, idex(_("Default paper size|#p")));
|
fdui->choice_default_papersize = obj = fl_add_choice(FL_NORMAL_CHOICE, 219, 142, 199, 29, idex(_("Default paper size|#p")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Default paper size|#p")), 1);
|
fl_set_button_shortcut(obj, scex(_("Default paper size|#p")), 1);
|
||||||
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, OUTPUTSMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_ascii_roff = obj = fl_add_input(FL_NORMAL_INPUT, 121, 209, 285, 30, idex(_("ascii roff|#r")));
|
fdui->input_ascii_roff = obj = fl_add_input(FL_NORMAL_INPUT, 121, 209, 285, 30, idex(_("ascii roff|#r")));
|
||||||
fl_set_button_shortcut(obj, scex(_("ascii roff|#r")), 1);
|
fl_set_button_shortcut(obj, scex(_("ascii roff|#r")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, OUTPUTSMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_checktex = obj = fl_add_input(FL_NORMAL_INPUT, 121, 250, 285, 30, idex(_("checktex|#c")));
|
fdui->input_checktex = obj = fl_add_input(FL_NORMAL_INPUT, 121, 250, 285, 30, idex(_("checktex|#c")));
|
||||||
fl_set_button_shortcut(obj, scex(_("checktex|#c")), 1);
|
fl_set_button_shortcut(obj, scex(_("checktex|#c")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, OUTPUTSMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 12, 186, 406, 120, _("Outside code interaction"));
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 12, 186, 406, 120, _("Outside code interaction"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
||||||
@ -239,42 +239,42 @@ FD_form_spellchecker * FormPreferences::build_spellchecker()
|
|||||||
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_TOP);
|
fl_set_object_lalign(obj, FL_ALIGN_TOP);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SPELLCHECKER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_alt_lang = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 208, 100, 30, 30, idex(_("Use alternative language|#a")));
|
fdui->check_alt_lang = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 208, 100, 30, 30, idex(_("Use alternative language|#a")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Use alternative language|#a")), 1);
|
fl_set_button_shortcut(obj, scex(_("Use alternative language|#a")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SPELLCHECKER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_alt_lang = obj = fl_add_input(FL_NORMAL_INPUT, 239, 100, 170, 30, "");
|
fdui->input_alt_lang = obj = fl_add_input(FL_NORMAL_INPUT, 239, 100, 170, 30, "");
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SPELLCHECKER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_escape_chars = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 208, 130, 30, 30, idex(_("Use escape characters|#e")));
|
fdui->check_escape_chars = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 208, 130, 30, 30, idex(_("Use escape characters|#e")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Use escape characters|#e")), 1);
|
fl_set_button_shortcut(obj, scex(_("Use escape characters|#e")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SPELLCHECKER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_escape_chars = obj = fl_add_input(FL_NORMAL_INPUT, 239, 130, 170, 30, "");
|
fdui->input_escape_chars = obj = fl_add_input(FL_NORMAL_INPUT, 239, 130, 170, 30, "");
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SPELLCHECKER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_personal_dict = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 208, 160, 30, 30, idex(_("Use personal dictionary|#d")));
|
fdui->check_personal_dict = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 208, 160, 30, 30, idex(_("Use personal dictionary|#d")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Use personal dictionary|#d")), 1);
|
fl_set_button_shortcut(obj, scex(_("Use personal dictionary|#d")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SPELLCHECKER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_personal_dict = obj = fl_add_input(FL_NORMAL_INPUT, 239, 160, 170, 30, "");
|
fdui->input_personal_dict = obj = fl_add_input(FL_NORMAL_INPUT, 239, 160, 170, 30, "");
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SPELLCHECKER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->button_personal_dict = obj = fl_add_button(FL_NORMAL_BUTTON, 239, 190, 89, 30, idex(_("Browse...|#B")));
|
fdui->button_personal_dict = obj = fl_add_button(FL_NORMAL_BUTTON, 239, 190, 89, 30, idex(_("Browse...|#B")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Browse...|#B")), 1);
|
fl_set_button_shortcut(obj, scex(_("Browse...|#B")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SPELLCHECKER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_compound_words = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 130, 230, 30, 30, idex(_("Accept compound words|#w")));
|
fdui->check_compound_words = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 130, 230, 30, 30, idex(_("Accept compound words|#w")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Accept compound words|#w")), 1);
|
fl_set_button_shortcut(obj, scex(_("Accept compound words|#w")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_RIGHT);
|
fl_set_object_lalign(obj, FL_ALIGN_RIGHT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SPELLCHECKER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_input_enc = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 130, 260, 30, 30, idex(_("Use input encoding|#i")));
|
fdui->check_input_enc = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 130, 260, 30, 30, idex(_("Use input encoding|#i")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Use input encoding|#i")), 1);
|
fl_set_button_shortcut(obj, scex(_("Use input encoding|#i")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_RIGHT);
|
fl_set_object_lalign(obj, FL_ALIGN_RIGHT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, SPELLCHECKER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_end_form();
|
fl_end_form();
|
||||||
|
|
||||||
fdui->form->fdui = fdui;
|
fdui->form->fdui = fdui;
|
||||||
@ -301,7 +301,7 @@ FD_form_inputs_misc * FormPreferences::build_inputs_misc()
|
|||||||
fdui->input_date_format = obj = fl_add_input(FL_NORMAL_INPUT, 120, 70, 285, 30, idex(_("date format|#f")));
|
fdui->input_date_format = obj = fl_add_input(FL_NORMAL_INPUT, 120, 70, 285, 30, idex(_("date format|#f")));
|
||||||
fl_set_button_shortcut(obj, scex(_("date format|#f")), 1);
|
fl_set_button_shortcut(obj, scex(_("date format|#f")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, INPUTSMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_end_form();
|
fl_end_form();
|
||||||
|
|
||||||
fdui->form->fdui = fdui;
|
fdui->form->fdui = fdui;
|
||||||
@ -328,52 +328,52 @@ FD_form_language * FormPreferences::build_language()
|
|||||||
fdui->input_package = obj = fl_add_input(FL_NORMAL_INPUT, 131, 18, 300, 30, idex(_("Package|#P")));
|
fdui->input_package = obj = fl_add_input(FL_NORMAL_INPUT, 131, 18, 300, 30, idex(_("Package|#P")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Package|#P")), 1);
|
fl_set_button_shortcut(obj, scex(_("Package|#P")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LANGUAGE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->choice_default_lang = obj = fl_add_choice(FL_NORMAL_CHOICE, 231, 56, 200, 30, idex(_("Default language|#D")));
|
fdui->choice_default_lang = obj = fl_add_choice(FL_NORMAL_CHOICE, 231, 56, 200, 30, idex(_("Default language|#D")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Default language|#D")), 1);
|
fl_set_button_shortcut(obj, scex(_("Default language|#D")), 1);
|
||||||
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LANGUAGE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_use_kbmap = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 158, 113, 30, 30, idex(_("Keyboard map|#K")));
|
fdui->check_use_kbmap = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 158, 113, 30, 30, idex(_("Keyboard map|#K")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Keyboard map|#K")), 1);
|
fl_set_button_shortcut(obj, scex(_("Keyboard map|#K")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LANGUAGE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->choice_kbmap_1 = obj = fl_add_choice(FL_NORMAL_CHOICE, 231, 96, 200, 30, idex(_("1st|#1")));
|
fdui->choice_kbmap_1 = obj = fl_add_choice(FL_NORMAL_CHOICE, 231, 96, 200, 30, idex(_("1st|#1")));
|
||||||
fl_set_button_shortcut(obj, scex(_("1st|#1")), 1);
|
fl_set_button_shortcut(obj, scex(_("1st|#1")), 1);
|
||||||
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LANGUAGE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->choice_kbmap_2 = obj = fl_add_choice(FL_NORMAL_CHOICE, 231, 128, 200, 30, idex(_("2nd|#2")));
|
fdui->choice_kbmap_2 = obj = fl_add_choice(FL_NORMAL_CHOICE, 231, 128, 200, 30, idex(_("2nd|#2")));
|
||||||
fl_set_button_shortcut(obj, scex(_("2nd|#2")), 1);
|
fl_set_button_shortcut(obj, scex(_("2nd|#2")), 1);
|
||||||
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LANGUAGE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_rtl_support = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 154, 161, 30, 30, idex(_("RtL support|#R")));
|
fdui->check_rtl_support = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 154, 161, 30, 30, idex(_("RtL support|#R")));
|
||||||
fl_set_button_shortcut(obj, scex(_("RtL support|#R")), 1);
|
fl_set_button_shortcut(obj, scex(_("RtL support|#R")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LANGUAGE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_mark_foreign = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 154, 187, 30, 30, idex(_("Mark foreign|#M")));
|
fdui->check_mark_foreign = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 154, 187, 30, 30, idex(_("Mark foreign|#M")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Mark foreign|#M")), 1);
|
fl_set_button_shortcut(obj, scex(_("Mark foreign|#M")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LANGUAGE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_auto_begin = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 362, 161, 30, 30, idex(_("Auto begin|#b")));
|
fdui->check_auto_begin = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 362, 161, 30, 30, idex(_("Auto begin|#b")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Auto begin|#b")), 1);
|
fl_set_button_shortcut(obj, scex(_("Auto begin|#b")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LANGUAGE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_auto_end = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 362, 187, 30, 30, idex(_("Auto finish|#f")));
|
fdui->check_auto_end = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 362, 187, 30, 30, idex(_("Auto finish|#f")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Auto finish|#f")), 1);
|
fl_set_button_shortcut(obj, scex(_("Auto finish|#f")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LANGUAGE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_command_begin = obj = fl_add_input(FL_NORMAL_INPUT, 131, 224, 300, 30, idex(_("Command start|#s")));
|
fdui->input_command_begin = obj = fl_add_input(FL_NORMAL_INPUT, 131, 224, 300, 30, idex(_("Command start|#s")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Command start|#s")), 1);
|
fl_set_button_shortcut(obj, scex(_("Command start|#s")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LANGUAGE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_command_end = obj = fl_add_input(FL_NORMAL_INPUT, 131, 257, 300, 30, idex(_("Command end|#e")));
|
fdui->input_command_end = obj = fl_add_input(FL_NORMAL_INPUT, 131, 257, 300, 30, idex(_("Command end|#e")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Command end|#e")), 1);
|
fl_set_button_shortcut(obj, scex(_("Command end|#e")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LANGUAGE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_end_form();
|
fl_end_form();
|
||||||
|
|
||||||
fdui->form->fdui = fdui;
|
fdui->form->fdui = fdui;
|
||||||
@ -423,26 +423,26 @@ FD_form_lnf_misc * FormPreferences::build_lnf_misc()
|
|||||||
fdui->check_banner = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 15, 310, 30, idex(_("Show banner|#S")));
|
fdui->check_banner = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 15, 310, 30, idex(_("Show banner|#S")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Show banner|#S")), 1);
|
fl_set_button_shortcut(obj, scex(_("Show banner|#S")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LOOKNFEELMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
fdui->check_auto_region_delete = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 45, 310, 30, idex(_("Auto region delete|#A")));
|
fdui->check_auto_region_delete = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 45, 310, 30, idex(_("Auto region delete|#A")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Auto region delete|#A")), 1);
|
fl_set_button_shortcut(obj, scex(_("Auto region delete|#A")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LOOKNFEELMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
fdui->check_exit_confirm = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 75, 310, 30, idex(_("Exit confirmation|#E")));
|
fdui->check_exit_confirm = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 75, 310, 30, idex(_("Exit confirmation|#E")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Exit confirmation|#E")), 1);
|
fl_set_button_shortcut(obj, scex(_("Exit confirmation|#E")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LOOKNFEELMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
fdui->check_display_shortcuts = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 105, 310, 30, _("Display keyboard shortcuts"));
|
fdui->check_display_shortcuts = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 105, 310, 30, _("Display keyboard shortcuts"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LOOKNFEELMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
fdui->counter_autosave = obj = fl_add_counter(FL_SIMPLE_COUNTER, 320, 255, 115, 30, _("Autosave interval"));
|
fdui->counter_autosave = obj = fl_add_counter(FL_SIMPLE_COUNTER, 320, 255, 115, 30, _("Autosave interval"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LOOKNFEELMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_counter_precision(obj, 0);
|
fl_set_counter_precision(obj, 0);
|
||||||
fl_set_counter_bounds(obj, 0, 1200);
|
fl_set_counter_bounds(obj, 0, 1200);
|
||||||
fl_set_counter_value(obj, 300);
|
fl_set_counter_value(obj, 300);
|
||||||
@ -450,17 +450,17 @@ FD_form_lnf_misc * FormPreferences::build_lnf_misc()
|
|||||||
fdui->check_ask_new_file = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 135, 310, 30, idex(_("File->New asks for name|#N")));
|
fdui->check_ask_new_file = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 135, 310, 30, idex(_("File->New asks for name|#N")));
|
||||||
fl_set_button_shortcut(obj, scex(_("File->New asks for name|#N")), 1);
|
fl_set_button_shortcut(obj, scex(_("File->New asks for name|#N")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LOOKNFEELMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
fdui->check_cursor_follows_scrollbar = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 165, 310, 30, idex(_("Cursor follows scrollbar|#C")));
|
fdui->check_cursor_follows_scrollbar = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 15, 165, 310, 30, idex(_("Cursor follows scrollbar|#C")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Cursor follows scrollbar|#C")), 1);
|
fl_set_button_shortcut(obj, scex(_("Cursor follows scrollbar|#C")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LOOKNFEELMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
fdui->counter_wm_jump = obj = fl_add_counter(FL_SIMPLE_COUNTER, 320, 225, 115, 30, _("Wheel mouse jump"));
|
fdui->counter_wm_jump = obj = fl_add_counter(FL_SIMPLE_COUNTER, 320, 225, 115, 30, _("Wheel mouse jump"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, LOOKNFEELMISC);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_counter_precision(obj, 0);
|
fl_set_counter_precision(obj, 0);
|
||||||
fl_set_counter_bounds(obj, 0, 250);
|
fl_set_counter_bounds(obj, 0, 250);
|
||||||
fl_set_counter_value(obj, 100);
|
fl_set_counter_value(obj, 100);
|
||||||
@ -490,29 +490,29 @@ FD_form_interface * FormPreferences::build_interface()
|
|||||||
obj = fl_add_box(FL_FLAT_BOX, 0, 0, 450, 350, "");
|
obj = fl_add_box(FL_FLAT_BOX, 0, 0, 450, 350, "");
|
||||||
fdui->input_popup_font = obj = fl_add_input(FL_NORMAL_INPUT, 230, 30, 200, 30, _("Popup Font"));
|
fdui->input_popup_font = obj = fl_add_input(FL_NORMAL_INPUT, 230, 30, 200, 30, _("Popup Font"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, INTERFACE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_menu_font = obj = fl_add_input(FL_NORMAL_INPUT, 230, 60, 200, 30, _("Menu Font"));
|
fdui->input_menu_font = obj = fl_add_input(FL_NORMAL_INPUT, 230, 60, 200, 30, _("Menu Font"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, INTERFACE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_popup_encoding = obj = fl_add_input(FL_NORMAL_INPUT, 230, 90, 200, 30, _("Popup Encoding"));
|
fdui->input_popup_encoding = obj = fl_add_input(FL_NORMAL_INPUT, 230, 90, 200, 30, _("Popup Encoding"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, INTERFACE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_bind_file = obj = fl_add_input(FL_NORMAL_INPUT, 160, 178, 190, 30, idex(_("Bind file|#B")));
|
fdui->input_bind_file = obj = fl_add_input(FL_NORMAL_INPUT, 160, 178, 190, 30, idex(_("Bind file|#B")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Bind file|#B")), 1);
|
fl_set_button_shortcut(obj, scex(_("Bind file|#B")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, INTERFACE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->button_bind_file_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 350, 178, 80, 30, _("Browse..."));
|
fdui->button_bind_file_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 350, 178, 80, 30, _("Browse..."));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fdui->input_ui_file = obj = fl_add_input(FL_NORMAL_INPUT, 160, 148, 190, 30, idex(_("User Interface file|#U")));
|
fdui->input_ui_file = obj = fl_add_input(FL_NORMAL_INPUT, 160, 148, 190, 30, idex(_("User Interface file|#U")));
|
||||||
fl_set_button_shortcut(obj, scex(_("User Interface file|#U")), 1);
|
fl_set_button_shortcut(obj, scex(_("User Interface file|#U")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, INTERFACE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->button_ui_file_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 350, 148, 80, 30, _("Browse..."));
|
fdui->button_ui_file_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 350, 148, 80, 30, _("Browse..."));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fdui->check_override_x_dead_keys = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 24, 230, 310, 30, idex(_("Override X-Windows dead-keys|#O")));
|
fdui->check_override_x_dead_keys = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 24, 230, 310, 30, idex(_("Override X-Windows dead-keys|#O")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Override X-Windows dead-keys|#O")), 1);
|
fl_set_button_shortcut(obj, scex(_("Override X-Windows dead-keys|#O")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, INTERFACE);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
fl_end_form();
|
fl_end_form();
|
||||||
|
|
||||||
@ -539,58 +539,58 @@ FD_form_printer * FormPreferences::build_printer()
|
|||||||
obj = fl_add_box(FL_FLAT_BOX, 0, 0, 450, 350, "");
|
obj = fl_add_box(FL_FLAT_BOX, 0, 0, 450, 350, "");
|
||||||
fdui->input_command = obj = fl_add_input(FL_NORMAL_INPUT, 130, 75, 80, 30, _("command"));
|
fdui->input_command = obj = fl_add_input(FL_NORMAL_INPUT, 130, 75, 80, 30, _("command"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_page_range = obj = fl_add_input(FL_NORMAL_INPUT, 130, 105, 80, 30, _("page range"));
|
fdui->input_page_range = obj = fl_add_input(FL_NORMAL_INPUT, 130, 105, 80, 30, _("page range"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_copies = obj = fl_add_input(FL_NORMAL_INPUT, 130, 135, 80, 30, _("copies"));
|
fdui->input_copies = obj = fl_add_input(FL_NORMAL_INPUT, 130, 135, 80, 30, _("copies"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_reverse = obj = fl_add_input(FL_NORMAL_INPUT, 130, 165, 80, 30, _("reverse"));
|
fdui->input_reverse = obj = fl_add_input(FL_NORMAL_INPUT, 130, 165, 80, 30, _("reverse"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_to_printer = obj = fl_add_input(FL_NORMAL_INPUT, 130, 195, 80, 30, _("to printer"));
|
fdui->input_to_printer = obj = fl_add_input(FL_NORMAL_INPUT, 130, 195, 80, 30, _("to printer"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_file_extension = obj = fl_add_input(FL_NORMAL_INPUT, 130, 225, 80, 30, _("file extension"));
|
fdui->input_file_extension = obj = fl_add_input(FL_NORMAL_INPUT, 130, 225, 80, 30, _("file extension"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_spool_command = obj = fl_add_input(FL_NORMAL_INPUT, 130, 255, 80, 30, _("spool command"));
|
fdui->input_spool_command = obj = fl_add_input(FL_NORMAL_INPUT, 130, 255, 80, 30, _("spool command"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_paper_type = obj = fl_add_input(FL_NORMAL_INPUT, 130, 285, 80, 30, _("paper type"));
|
fdui->input_paper_type = obj = fl_add_input(FL_NORMAL_INPUT, 130, 285, 80, 30, _("paper type"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_even_pages = obj = fl_add_input(FL_NORMAL_INPUT, 360, 75, 80, 30, _("even pages"));
|
fdui->input_even_pages = obj = fl_add_input(FL_NORMAL_INPUT, 360, 75, 80, 30, _("even pages"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_odd_pages = obj = fl_add_input(FL_NORMAL_INPUT, 360, 105, 80, 30, _("odd pages"));
|
fdui->input_odd_pages = obj = fl_add_input(FL_NORMAL_INPUT, 360, 105, 80, 30, _("odd pages"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_collated = obj = fl_add_input(FL_NORMAL_INPUT, 360, 135, 80, 30, _("collated"));
|
fdui->input_collated = obj = fl_add_input(FL_NORMAL_INPUT, 360, 135, 80, 30, _("collated"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_landscape = obj = fl_add_input(FL_NORMAL_INPUT, 360, 165, 80, 30, _("landscape"));
|
fdui->input_landscape = obj = fl_add_input(FL_NORMAL_INPUT, 360, 165, 80, 30, _("landscape"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_to_file = obj = fl_add_input(FL_NORMAL_INPUT, 360, 195, 80, 30, _("to file"));
|
fdui->input_to_file = obj = fl_add_input(FL_NORMAL_INPUT, 360, 195, 80, 30, _("to file"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_extra_options = obj = fl_add_input(FL_NORMAL_INPUT, 360, 225, 80, 30, _("extra options"));
|
fdui->input_extra_options = obj = fl_add_input(FL_NORMAL_INPUT, 360, 225, 80, 30, _("extra options"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_spool_prefix = obj = fl_add_input(FL_NORMAL_INPUT, 360, 255, 80, 30, _("spool printer prefix"));
|
fdui->input_spool_prefix = obj = fl_add_input(FL_NORMAL_INPUT, 360, 255, 80, 30, _("spool printer prefix"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_paper_size = obj = fl_add_input(FL_NORMAL_INPUT, 360, 285, 80, 30, _("paper size"));
|
fdui->input_paper_size = obj = fl_add_input(FL_NORMAL_INPUT, 360, 285, 80, 30, _("paper size"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->input_name = obj = fl_add_input(FL_NORMAL_INPUT, 130, 10, 80, 30, _("name"));
|
fdui->input_name = obj = fl_add_input(FL_NORMAL_INPUT, 130, 10, 80, 30, _("name"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_adapt_output = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 240, 10, 120, 30, _("adapt output"));
|
fdui->check_adapt_output = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 240, 10, 120, 30, _("adapt output"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PRINTER);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 0, 60, 452, 260, _("Printer Command and Flags"));
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 0, 60, 452, 260, _("Printer Command and Flags"));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_end_form();
|
fl_end_form();
|
||||||
@ -619,14 +619,14 @@ FD_form_paths * FormPreferences::build_paths()
|
|||||||
fdui->input_default_path = obj = fl_add_input(FL_NORMAL_INPUT, 170, 10, 170, 30, idex(_("Default path|#p")));
|
fdui->input_default_path = obj = fl_add_input(FL_NORMAL_INPUT, 170, 10, 170, 30, idex(_("Default path|#p")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Default path|#p")), 1);
|
fl_set_button_shortcut(obj, scex(_("Default path|#p")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PATHS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->button_document_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 340, 10, 90, 30, _("Browse..."));
|
fdui->button_document_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 340, 10, 90, 30, _("Browse..."));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fdui->counter_lastfiles = obj = fl_add_counter(FL_SIMPLE_COUNTER, 170, 130, 90, 30, idex(_("Last file count|#L")));
|
fdui->counter_lastfiles = obj = fl_add_counter(FL_SIMPLE_COUNTER, 170, 130, 90, 30, idex(_("Last file count|#L")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Last file count|#L")), 1);
|
fl_set_button_shortcut(obj, scex(_("Last file count|#L")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PATHS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_counter_precision(obj, 0);
|
fl_set_counter_precision(obj, 0);
|
||||||
fl_set_counter_bounds(obj, 0, 9);
|
fl_set_counter_bounds(obj, 0, 9);
|
||||||
fl_set_counter_value(obj, 4);
|
fl_set_counter_value(obj, 4);
|
||||||
@ -634,47 +634,47 @@ FD_form_paths * FormPreferences::build_paths()
|
|||||||
fdui->input_template_path = obj = fl_add_input(FL_NORMAL_INPUT, 170, 40, 170, 30, idex(_("Template path|#T")));
|
fdui->input_template_path = obj = fl_add_input(FL_NORMAL_INPUT, 170, 40, 170, 30, idex(_("Template path|#T")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Template path|#T")), 1);
|
fl_set_button_shortcut(obj, scex(_("Template path|#T")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PATHS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->button_template_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 340, 40, 90, 30, _("Browse..."));
|
fdui->button_template_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 340, 40, 90, 30, _("Browse..."));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fdui->check_last_files = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 134, 100, 30, 30, idex(_("Check last files|#C")));
|
fdui->check_last_files = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 134, 100, 30, 30, idex(_("Check last files|#C")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Check last files|#C")), 1);
|
fl_set_button_shortcut(obj, scex(_("Check last files|#C")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PATHS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
fdui->button_temp_dir_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 340, 70, 90, 30, _("Browse..."));
|
fdui->button_temp_dir_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 340, 70, 90, 30, _("Browse..."));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fdui->input_lastfiles = obj = fl_add_input(FL_NORMAL_INPUT, 170, 100, 170, 30, "");
|
fdui->input_lastfiles = obj = fl_add_input(FL_NORMAL_INPUT, 170, 100, 170, 30, "");
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PATHS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->button_lastfiles_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 340, 100, 90, 30, _("Browse..."));
|
fdui->button_lastfiles_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 340, 100, 90, 30, _("Browse..."));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fdui->check_make_backups = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 134, 170, 30, 30, idex(_("Backup path|#B")));
|
fdui->check_make_backups = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 134, 170, 30, 30, idex(_("Backup path|#B")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Backup path|#B")), 1);
|
fl_set_button_shortcut(obj, scex(_("Backup path|#B")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PATHS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
fdui->input_backup_path = obj = fl_add_input(FL_NORMAL_INPUT, 170, 170, 170, 30, "");
|
fdui->input_backup_path = obj = fl_add_input(FL_NORMAL_INPUT, 170, 170, 170, 30, "");
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PATHS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->button_backup_path_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 340, 170, 90, 30, _("Browse..."));
|
fdui->button_backup_path_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 340, 170, 90, 30, _("Browse..."));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fdui->input_serverpipe = obj = fl_add_input(FL_NORMAL_INPUT, 169, 217, 170, 30, idex(_("LyXServer pipe|#S")));
|
fdui->input_serverpipe = obj = fl_add_input(FL_NORMAL_INPUT, 169, 217, 170, 30, idex(_("LyXServer pipe|#S")));
|
||||||
fl_set_button_shortcut(obj, scex(_("LyXServer pipe|#S")), 1);
|
fl_set_button_shortcut(obj, scex(_("LyXServer pipe|#S")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PATHS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->button_serverpipe_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 339, 217, 90, 30, _("Browse..."));
|
fdui->button_serverpipe_browse = obj = fl_add_button(FL_NORMAL_BUTTON, 339, 217, 90, 30, _("Browse..."));
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fdui->input_temp_dir = obj = fl_add_input(FL_NORMAL_INPUT, 170, 70, 170, 30, "");
|
fdui->input_temp_dir = obj = fl_add_input(FL_NORMAL_INPUT, 170, 70, 170, 30, "");
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PATHS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fdui->check_use_temp_dir = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 134, 70, 30, 30, idex(_("Temp dir|#d")));
|
fdui->check_use_temp_dir = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 134, 70, 30, 30, idex(_("Temp dir|#d")));
|
||||||
fl_set_button_shortcut(obj, scex(_("Temp dir|#d")), 1);
|
fl_set_button_shortcut(obj, scex(_("Temp dir|#d")), 1);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
||||||
fl_set_object_callback(obj, C_FormBaseInputCB, PATHS);
|
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
fl_end_form();
|
fl_end_form();
|
||||||
|
|
||||||
|
@ -257,7 +257,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_roman
|
name: input_roman
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -275,7 +275,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_sans
|
name: input_sans
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -293,7 +293,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_typewriter
|
name: input_typewriter
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_COUNTER
|
class: FL_COUNTER
|
||||||
@ -311,7 +311,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: counter_zoom
|
name: counter_zoom
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
bounds: 0 999
|
bounds: 0 999
|
||||||
precision: 0
|
precision: 0
|
||||||
value: 150
|
value: 150
|
||||||
@ -333,7 +333,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_scalable
|
name: check_scalable
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
value: 1
|
value: 1
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
@ -352,7 +352,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_screen_encoding
|
name: input_screen_encoding
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -370,7 +370,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_script
|
name: input_script
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -388,7 +388,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_footnote
|
name: input_footnote
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -406,7 +406,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_large
|
name: input_large
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -424,7 +424,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_largest
|
name: input_largest
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -442,7 +442,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_huge
|
name: input_huge
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -460,7 +460,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_normal
|
name: input_normal
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_COUNTER
|
class: FL_COUNTER
|
||||||
@ -478,7 +478,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: counter_dpi
|
name: counter_dpi
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
bounds: 0 999
|
bounds: 0 999
|
||||||
precision: 0
|
precision: 0
|
||||||
value: 150
|
value: 150
|
||||||
@ -500,7 +500,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_tiny
|
name: input_tiny
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -518,7 +518,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_larger
|
name: input_larger
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -536,7 +536,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_small
|
name: input_small
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -554,7 +554,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_huger
|
name: input_huger
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SCREENFONTS
|
argument: 0
|
||||||
|
|
||||||
=============== FORM ===============
|
=============== FORM ===============
|
||||||
Name: form_outputs_misc
|
Name: form_outputs_misc
|
||||||
@ -596,7 +596,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: counter_line_len
|
name: counter_line_len
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: OUTPUTSMISC
|
argument: 0
|
||||||
bounds: 0 120
|
bounds: 0 120
|
||||||
precision: 0
|
precision: 0
|
||||||
value: 75
|
value: 75
|
||||||
@ -618,7 +618,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_tex_encoding
|
name: input_tex_encoding
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: OUTPUTSMISC
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHOICE
|
class: FL_CHOICE
|
||||||
@ -636,7 +636,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: choice_default_papersize
|
name: choice_default_papersize
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: OUTPUTSMISC
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -654,7 +654,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_ascii_roff
|
name: input_ascii_roff
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: OUTPUTSMISC
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -672,7 +672,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_checktex
|
name: input_checktex
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: OUTPUTSMISC
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_LABELFRAME
|
class: FL_LABELFRAME
|
||||||
@ -732,7 +732,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: choice_spell_command
|
name: choice_spell_command
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SPELLCHECKER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -750,7 +750,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_alt_lang
|
name: check_alt_lang
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SPELLCHECKER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -768,7 +768,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_alt_lang
|
name: input_alt_lang
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SPELLCHECKER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -786,7 +786,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_escape_chars
|
name: check_escape_chars
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SPELLCHECKER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -804,7 +804,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_escape_chars
|
name: input_escape_chars
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SPELLCHECKER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -822,7 +822,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_personal_dict
|
name: check_personal_dict
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SPELLCHECKER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -840,7 +840,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_personal_dict
|
name: input_personal_dict
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SPELLCHECKER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_BUTTON
|
class: FL_BUTTON
|
||||||
@ -858,7 +858,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: button_personal_dict
|
name: button_personal_dict
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SPELLCHECKER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -876,7 +876,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_compound_words
|
name: check_compound_words
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SPELLCHECKER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -894,7 +894,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_input_enc
|
name: check_input_enc
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: SPELLCHECKER
|
argument: 0
|
||||||
|
|
||||||
=============== FORM ===============
|
=============== FORM ===============
|
||||||
Name: form_inputs_misc
|
Name: form_inputs_misc
|
||||||
@ -936,7 +936,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_date_format
|
name: input_date_format
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: INPUTSMISC
|
argument: 0
|
||||||
|
|
||||||
=============== FORM ===============
|
=============== FORM ===============
|
||||||
Name: form_language
|
Name: form_language
|
||||||
@ -978,7 +978,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_package
|
name: input_package
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LANGUAGE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHOICE
|
class: FL_CHOICE
|
||||||
@ -996,7 +996,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: choice_default_lang
|
name: choice_default_lang
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LANGUAGE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -1014,7 +1014,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_use_kbmap
|
name: check_use_kbmap
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LANGUAGE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHOICE
|
class: FL_CHOICE
|
||||||
@ -1032,7 +1032,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: choice_kbmap_1
|
name: choice_kbmap_1
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LANGUAGE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHOICE
|
class: FL_CHOICE
|
||||||
@ -1050,7 +1050,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: choice_kbmap_2
|
name: choice_kbmap_2
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LANGUAGE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -1068,7 +1068,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_rtl_support
|
name: check_rtl_support
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LANGUAGE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -1086,7 +1086,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_mark_foreign
|
name: check_mark_foreign
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LANGUAGE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -1104,7 +1104,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_auto_begin
|
name: check_auto_begin
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LANGUAGE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -1122,7 +1122,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_auto_end
|
name: check_auto_end
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LANGUAGE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1140,7 +1140,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_command_begin
|
name: input_command_begin
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LANGUAGE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1158,7 +1158,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_command_end
|
name: input_command_end
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LANGUAGE
|
argument: 0
|
||||||
|
|
||||||
=============== FORM ===============
|
=============== FORM ===============
|
||||||
Name: form_colours
|
Name: form_colours
|
||||||
@ -1224,7 +1224,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_banner
|
name: check_banner
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LOOKNFEELMISC
|
argument: 0
|
||||||
value: 1
|
value: 1
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
@ -1243,7 +1243,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_auto_region_delete
|
name: check_auto_region_delete
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LOOKNFEELMISC
|
argument: 0
|
||||||
value: 1
|
value: 1
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
@ -1262,7 +1262,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_exit_confirm
|
name: check_exit_confirm
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LOOKNFEELMISC
|
argument: 0
|
||||||
value: 1
|
value: 1
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
@ -1281,7 +1281,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_display_shortcuts
|
name: check_display_shortcuts
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LOOKNFEELMISC
|
argument: 0
|
||||||
value: 1
|
value: 1
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
@ -1300,7 +1300,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: counter_autosave
|
name: counter_autosave
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LOOKNFEELMISC
|
argument: 0
|
||||||
bounds: 0 1200
|
bounds: 0 1200
|
||||||
precision: 0
|
precision: 0
|
||||||
value: 300
|
value: 300
|
||||||
@ -1322,7 +1322,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_ask_new_file
|
name: check_ask_new_file
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LOOKNFEELMISC
|
argument: 0
|
||||||
value: 1
|
value: 1
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
@ -1341,7 +1341,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_cursor_follows_scrollbar
|
name: check_cursor_follows_scrollbar
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LOOKNFEELMISC
|
argument: 0
|
||||||
value: 1
|
value: 1
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
@ -1360,7 +1360,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: counter_wm_jump
|
name: counter_wm_jump
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: LOOKNFEELMISC
|
argument: 0
|
||||||
bounds: 0 250
|
bounds: 0 250
|
||||||
precision: 0
|
precision: 0
|
||||||
value: 100
|
value: 100
|
||||||
@ -1406,7 +1406,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_popup_font
|
name: input_popup_font
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: INTERFACE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1424,7 +1424,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_menu_font
|
name: input_menu_font
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: INTERFACE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1442,7 +1442,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_popup_encoding
|
name: input_popup_encoding
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: INTERFACE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1460,7 +1460,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_bind_file
|
name: input_bind_file
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: INTERFACE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_BUTTON
|
class: FL_BUTTON
|
||||||
@ -1496,7 +1496,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_ui_file
|
name: input_ui_file
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: INTERFACE
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_BUTTON
|
class: FL_BUTTON
|
||||||
@ -1532,7 +1532,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_override_x_dead_keys
|
name: check_override_x_dead_keys
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: INTERFACE
|
argument: 0
|
||||||
value: 1
|
value: 1
|
||||||
|
|
||||||
=============== FORM ===============
|
=============== FORM ===============
|
||||||
@ -1575,7 +1575,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_command
|
name: input_command
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1593,7 +1593,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_page_range
|
name: input_page_range
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1611,7 +1611,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_copies
|
name: input_copies
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1629,7 +1629,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_reverse
|
name: input_reverse
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1647,7 +1647,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_to_printer
|
name: input_to_printer
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1665,7 +1665,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_file_extension
|
name: input_file_extension
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1683,7 +1683,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_spool_command
|
name: input_spool_command
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1701,7 +1701,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_paper_type
|
name: input_paper_type
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1719,7 +1719,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_even_pages
|
name: input_even_pages
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1737,7 +1737,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_odd_pages
|
name: input_odd_pages
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1755,7 +1755,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_collated
|
name: input_collated
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1773,7 +1773,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_landscape
|
name: input_landscape
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1791,7 +1791,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_to_file
|
name: input_to_file
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1809,7 +1809,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_extra_options
|
name: input_extra_options
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1827,7 +1827,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_spool_prefix
|
name: input_spool_prefix
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1845,7 +1845,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_paper_size
|
name: input_paper_size
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_INPUT
|
class: FL_INPUT
|
||||||
@ -1863,7 +1863,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_name
|
name: input_name
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -1881,7 +1881,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_adapt_output
|
name: check_adapt_output
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PRINTER
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_LABELFRAME
|
class: FL_LABELFRAME
|
||||||
@ -1941,7 +1941,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_default_path
|
name: input_default_path
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PATHS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_BUTTON
|
class: FL_BUTTON
|
||||||
@ -1977,7 +1977,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: counter_lastfiles
|
name: counter_lastfiles
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PATHS
|
argument: 0
|
||||||
bounds: 0 9
|
bounds: 0 9
|
||||||
precision: 0
|
precision: 0
|
||||||
value: 4
|
value: 4
|
||||||
@ -1999,7 +1999,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_template_path
|
name: input_template_path
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PATHS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_BUTTON
|
class: FL_BUTTON
|
||||||
@ -2035,7 +2035,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_last_files
|
name: check_last_files
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PATHS
|
argument: 0
|
||||||
value: 1
|
value: 1
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
@ -2072,7 +2072,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_lastfiles
|
name: input_lastfiles
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PATHS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_BUTTON
|
class: FL_BUTTON
|
||||||
@ -2108,7 +2108,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_make_backups
|
name: check_make_backups
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PATHS
|
argument: 0
|
||||||
value: 1
|
value: 1
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
@ -2127,7 +2127,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_backup_path
|
name: input_backup_path
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PATHS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_BUTTON
|
class: FL_BUTTON
|
||||||
@ -2163,7 +2163,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_serverpipe
|
name: input_serverpipe
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PATHS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_BUTTON
|
class: FL_BUTTON
|
||||||
@ -2199,7 +2199,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: input_temp_dir
|
name: input_temp_dir
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PATHS
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_CHECKBUTTON
|
class: FL_CHECKBUTTON
|
||||||
@ -2217,7 +2217,7 @@ resize: FL_RESIZE_ALL
|
|||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_use_temp_dir
|
name: check_use_temp_dir
|
||||||
callback: C_FormBaseInputCB
|
callback: C_FormBaseInputCB
|
||||||
argument: PATHS
|
argument: 0
|
||||||
value: 1
|
value: 1
|
||||||
|
|
||||||
==============================
|
==============================
|
||||||
|
60
src/frontends/xforms/xform_helpers.C
Normal file
60
src/frontends/xforms/xform_helpers.C
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
/** Collection of some useful xform helper functions
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
|
#include FORMS_H_LOCATION
|
||||||
|
|
||||||
|
#ifdef __GNUG_
|
||||||
|
#pragma implementation
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
#include "xform_helpers.h"
|
||||||
|
|
||||||
|
using std::vector;
|
||||||
|
|
||||||
|
// Take a string and add breaks so that it fits into a desired label width, w
|
||||||
|
string formatted( string const & sin, int w, int size, int style )
|
||||||
|
{
|
||||||
|
string sout;
|
||||||
|
if( sin.empty() ) return sout;
|
||||||
|
|
||||||
|
// break sin up into a vector of individual words
|
||||||
|
vector<string> sentence;
|
||||||
|
string word;
|
||||||
|
for( string::const_iterator sit = sin.begin();
|
||||||
|
sit != sin.end(); ++sit ) {
|
||||||
|
if( (*sit) == ' ' || (*sit) == '\n') {
|
||||||
|
sentence.push_back(word);
|
||||||
|
word.erase();
|
||||||
|
} else {
|
||||||
|
word += (*sit);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Flush remaining contents of word
|
||||||
|
if( !word.empty() ) sentence.push_back(word);
|
||||||
|
|
||||||
|
string line, l1;
|
||||||
|
for( vector<string>::const_iterator vit = sentence.begin();
|
||||||
|
vit != sentence.end(); ++vit ) {
|
||||||
|
if( !l1.empty() ) l1 += ' ';
|
||||||
|
l1 += (*vit);
|
||||||
|
int length = fl_get_string_width(style, size, l1.c_str(),
|
||||||
|
int(l1.length()));
|
||||||
|
if( length >= w ) {
|
||||||
|
if( !sout.empty() ) sout += '\n';
|
||||||
|
sout += line;
|
||||||
|
l1 = (*vit);
|
||||||
|
}
|
||||||
|
|
||||||
|
line = l1;
|
||||||
|
}
|
||||||
|
// Flush remaining contents of line
|
||||||
|
if( !line.empty() ) {
|
||||||
|
if( !sout.empty() ) sout += '\n';
|
||||||
|
sout += line;
|
||||||
|
}
|
||||||
|
|
||||||
|
return sout;
|
||||||
|
}
|
14
src/frontends/xforms/xform_helpers.h
Normal file
14
src/frontends/xforms/xform_helpers.h
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#ifndef XFORMHELPERS_H
|
||||||
|
#define XFORMHELPERS_H
|
||||||
|
|
||||||
|
#ifdef __GNUG_
|
||||||
|
#pragma interface
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
#include "LString.h"
|
||||||
|
|
||||||
|
// Take a string and add breaks so that it fits into a desired label width, w
|
||||||
|
string formatted( string const &label, int w, int size, int style );
|
||||||
|
|
||||||
|
#endif
|
80
src/lyxrc.C
80
src/lyxrc.C
@ -1491,21 +1491,21 @@ void LyXRC::set_font_norm_type()
|
|||||||
font_norm_type = OTHER_ENCODING;
|
font_norm_type = OTHER_ENCODING;
|
||||||
}
|
}
|
||||||
|
|
||||||
string LyXRC::getFeedback(LyXRCTags tag)
|
string LyXRC::getDescription(LyXRCTags tag)
|
||||||
{
|
{
|
||||||
string str;
|
string str;
|
||||||
|
|
||||||
switch( tag ) {
|
switch( tag ) {
|
||||||
case RC_FONT_ENCODING:
|
case RC_FONT_ENCODING:
|
||||||
str = N_("The font encoding used for the LaTeX2e fontenc package.\nT1 is highly recommended for non-English languages.");
|
str = N_("The font encoding used for the LaTeX2e fontenc package. T1 is highly recommended for non-English languages.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_PRINTER:
|
case RC_PRINTER:
|
||||||
str = N_("The default printer to print on. If none is specified, LyX will\nuse the environment variable PRINTER.");
|
str = N_("The default printer to print on. If none is specified, LyX will use the environment variable PRINTER.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_PRINT_COMMAND:
|
case RC_PRINT_COMMAND:
|
||||||
str = N_("Your favorite print program, eg \"dvips\", \"dvilj4\"");
|
str = N_("Your favorite print program, e.g. \"dvips\", \"dvilj4\".");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_PRINTEVENPAGEFLAG:
|
case RC_PRINTEVENPAGEFLAG:
|
||||||
@ -1517,7 +1517,7 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
case RC_PRINTLANDSCAPEFLAG:
|
case RC_PRINTLANDSCAPEFLAG:
|
||||||
case RC_PRINTPAPERFLAG:
|
case RC_PRINTPAPERFLAG:
|
||||||
case RC_PRINTPAPERDIMENSIONFLAG:
|
case RC_PRINTPAPERDIMENSIONFLAG:
|
||||||
str = N_("Look at the man page for your favorite print program to learn\nwhich options to use.");
|
str = N_("Look at the man page for your favorite print program to learn which options to use.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_PRINTTOPRINTER:
|
case RC_PRINTTOPRINTER:
|
||||||
@ -1525,7 +1525,7 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_PRINT_ADAPTOUTPUT:
|
case RC_PRINT_ADAPTOUTPUT:
|
||||||
str = N_("Set to true for LyX to pass the name of the destination printer to your\nprint command.");
|
str = N_("Set to true for LyX to pass the name of the destination printer to your print command.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_PRINTTOFILE:
|
case RC_PRINTTOFILE:
|
||||||
@ -1533,27 +1533,27 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_PRINTFILEEXTENSION:
|
case RC_PRINTFILEEXTENSION:
|
||||||
str = N_("Extension of printer program output file. Usually .ps");
|
str = N_("Extension of printer program output file. Usually \".ps\".");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_PRINTEXSTRAOPTIONS:
|
case RC_PRINTEXSTRAOPTIONS:
|
||||||
str = N_("Extra options to pass to printing program after everything else,\nbut before the filename of the DVI file to be printed.");
|
str = N_("Extra options to pass to printing program after everything else, but before the filename of the DVI file to be printed.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_PRINTSPOOL_COMMAND:
|
case RC_PRINTSPOOL_COMMAND:
|
||||||
str = N_("When set, this printer option automatically prints to a file and then calls\na separate print spooling program on that file with the given name\nand arguments.");
|
str = N_("When set, this printer option automatically prints to a file and then calls a separate print spooling program on that file with the given name and arguments.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_PRINTSPOOL_PRINTERPREFIX:
|
case RC_PRINTSPOOL_PRINTERPREFIX:
|
||||||
str = N_("If you specify a printer name in the print dialog, the following argument\nis prepended along with the printer name after the spool command.");
|
str = N_("If you specify a printer name in the print dialog, the following argument is prepended along with the printer name after the spool command.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_SCREEN_DPI:
|
case RC_SCREEN_DPI:
|
||||||
str = N_("DPI (dots per inch) of your monitor is auto-detected by LyX.\nIf that goes wrong, override the setting here.");
|
str = N_("DPI (dots per inch) of your monitor is auto-detected by LyX. If that goes wrong, override the setting here.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_SCREEN_ZOOM:
|
case RC_SCREEN_ZOOM:
|
||||||
str = N_("The zoom percentage for screen fonts.\nA setting of 100% will make the fonts roughly the same size as on paper.");
|
str = N_("The zoom percentage for screen fonts. A setting of 100% will make the fonts roughly the same size as on paper.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_SCREEN_FONT_SIZES:
|
case RC_SCREEN_FONT_SIZES:
|
||||||
@ -1586,7 +1586,7 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_AUTOSAVE:
|
case RC_AUTOSAVE:
|
||||||
str = N_("The time interval between auto-saves (in seconds).\n0 means no auto-save");
|
str = N_("The time interval between auto-saves (in seconds). 0 means no auto-save.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_DOCUMENTPATH:
|
case RC_DOCUMENTPATH:
|
||||||
@ -1602,7 +1602,7 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_USETEMPDIR:
|
case RC_USETEMPDIR:
|
||||||
str = N_("Specify to use a temporary directory to store temporary TeX output.\nThis directory is deleted when you quit LyX.");
|
str = N_("Specify to use a temporary directory to store temporary TeX output. This directory is deleted when you quit LyX.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_LASTFILES:
|
case RC_LASTFILES:
|
||||||
@ -1610,30 +1610,30 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_AUTOREGIONDELETE:
|
case RC_AUTOREGIONDELETE:
|
||||||
str = N_("Set to false if you don't want the current selection to be replaced\nautomatically by what you type.");
|
str = N_("Set to false if you don't want the current selection to be replaced automatically by what you type.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_OVERRIDE_X_DEADKEYS:
|
case RC_OVERRIDE_X_DEADKEYS:
|
||||||
str = N_("Set to true for LyX to take over the handling of the dead keys\n(a.k.a accent keys) that may be defined for your keyboard.");
|
str = N_("Set to true for LyX to take over the handling of the dead keys (a.k.a. accent keys) that may be defined for your keyboard.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
case RC_SERVERPIPE:
|
case RC_SERVERPIPE:
|
||||||
str = N_("This starts the lyxserver. The pipes get an additional extension\n\".in\" and \".out\". Only for advanced users.");
|
str = N_("This starts the lyxserver. The pipes get an additional extension \".in\" and \".out\". Only for advanced users.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_BINDFILE:
|
case RC_BINDFILE:
|
||||||
str = N_("Keybindings file. Can either specify an absolute path,\nor LyX will look in its global and local bind/ directories.");
|
str = N_("Keybindings file. Can either specify an absolute path, or LyX will look in its global and local bind/ directories.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_UIFILE:
|
case RC_UIFILE:
|
||||||
str = N_("The UI (user interface) file. Can either specify an absolute path,\nor LyX will look in its global and local ui/ directories.");
|
str = N_("The UI (user interface) file. Can either specify an absolute path, or LyX will look in its global and local ui/ directories.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_KBMAP:
|
case RC_KBMAP:
|
||||||
case RC_KBMAP_PRIMARY:
|
case RC_KBMAP_PRIMARY:
|
||||||
case RC_KBMAP_SECONDARY:
|
case RC_KBMAP_SECONDARY:
|
||||||
str = N_("Use this to set the correct mapping file for your keyboard.\nYou'll need this if you for instance want to type German documents\non an American keyboard.");
|
str = N_("Use this to set the correct mapping file for your keyboard. You'll need this if you for instance want to type German documents on an American keyboard.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
@ -1647,11 +1647,11 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
case RC_ASCIIROFF_COMMAND:
|
case RC_ASCIIROFF_COMMAND:
|
||||||
str = N_("Use to define an external program to render tables in the ASCII output.\nE.g. \"groff -t -Tlatin1 $$FName\" where $$FName is the input file.\nIf \"none\" is specified, an internal routine is used.");
|
str = N_("Use to define an external program to render tables in the ASCII output. E.g. \"groff -t -Tlatin1 $$FName\" where $$FName is the input file. If \"none\" is specified, an internal routine is used.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_ASCII_LINELEN:
|
case RC_ASCII_LINELEN:
|
||||||
str = N_("This is the maximum line length of an exported ASCII file\n(LaTeX, SGML or plain text).");
|
str = N_("This is the maximum line length of an exported ASCII file (LaTeX, SGML or plain text).");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_NUMLASTFILES:
|
case RC_NUMLASTFILES:
|
||||||
@ -1673,7 +1673,7 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_ACCEPT_COMPOUND:
|
case RC_ACCEPT_COMPOUND:
|
||||||
str = N_("Consider run-together words, such as \"notthe\" for \"not the\",\nas legal words?");
|
str = N_("Consider run-together words, such as \"notthe\" for \"not the\", as legal words?");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_SPELL_COMMAND:
|
case RC_SPELL_COMMAND:
|
||||||
@ -1681,17 +1681,17 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_USE_INP_ENC:
|
case RC_USE_INP_ENC:
|
||||||
str = N_("Specify whether to pass the -T input encoding option to ispell.\nEnable this if you can't spellcheck words with international letters\nin them.\nThis may not work with all dictionaries.");
|
str = N_("Specify whether to pass the -T input encoding option to ispell. Enable this if you can't spellcheck words with international letters in them. This may not work with all dictionaries.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_USE_ALT_LANG:
|
case RC_USE_ALT_LANG:
|
||||||
case RC_ALT_LANG:
|
case RC_ALT_LANG:
|
||||||
str = N_("Specify an alternate language.\nThe default is to use the language of the document.");
|
str = N_("Specify an alternate language. The default is to use the language of the document.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_USE_PERS_DICT:
|
case RC_USE_PERS_DICT:
|
||||||
case RC_PERS_DICT:
|
case RC_PERS_DICT:
|
||||||
str = N_("Specify an alternate personal dictionary file.\nE.g. \".ispell_english\".");
|
str = N_("Specify an alternate personal dictionary file. E.g. \".ispell_english\".");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_USE_ESC_CHARS:
|
case RC_USE_ESC_CHARS:
|
||||||
@ -1700,23 +1700,23 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_SCREEN_FONT_SCALABLE:
|
case RC_SCREEN_FONT_SCALABLE:
|
||||||
str = N_("Allow the use of scalable screen fonts? If false, LyX will use the\nclosest existing size for a match. Use this if the scalable fonts\nlook bad and you have many fixed size fonts.");
|
str = N_("Allow the use of scalable screen fonts? If false, LyX will use the closest existing size for a match. Use this if the scalable fonts look bad and you have many fixed size fonts.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_CHKTEX_COMMAND:
|
case RC_CHKTEX_COMMAND:
|
||||||
str = N_("Define how to run chktex.\nE.g. \"chktex -n11 -n1 -n3 -n6 -n9 -22 -n25 -n30 -n38\"\nRefer to the ChkTeX documentation.");
|
str = N_("Define how to run chktex. E.g. \"chktex -n11 -n1 -n3 -n6 -n9 -22 -n25 -n30 -n38\" Refer to the ChkTeX documentation.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_CURSOR_FOLLOWS_SCROLLBAR:
|
case RC_CURSOR_FOLLOWS_SCROLLBAR:
|
||||||
str = N_("LyX normally doesn't update the cursor position if you move the scrollbar.\nSet to true if you'd prefer to always have the cursor on screen.");
|
str = N_("LyX normally doesn't update the cursor position if you move the scrollbar. Set to true if you'd prefer to always have the cursor on screen.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_EXIT_CONFIRMATION:
|
case RC_EXIT_CONFIRMATION:
|
||||||
str = N_("Sets whether LyX asks for a second confirmation to exit when you have\nchanged documents.\n(LyX will still ask to save changed documents.)");
|
str = N_("Sets whether LyX asks for a second confirmation to exit when you have changed documents. (LyX will still ask to save changed documents.)");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_DISPLAY_SHORTCUTS:
|
case RC_DISPLAY_SHORTCUTS:
|
||||||
str = N_("LyX continously displays names of last command executed,\nalong with a list of defined short-cuts for it in the minibuffer.\nSet to false if LyX seems slow.");
|
str = N_("LyX continously displays names of last command executed, along with a list of defined short-cuts for it in the minibuffer. Set to false if LyX seems slow.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_MAKE_BACKUP:
|
case RC_MAKE_BACKUP:
|
||||||
@ -1724,7 +1724,7 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_BACKUPDIR_PATH:
|
case RC_BACKUPDIR_PATH:
|
||||||
str = N_("The path for storing backup files. If it is an empty string,\nLyX will store the backup file in the same directory as the original file.");
|
str = N_("The path for storing backup files. If it is an empty string, LyX will store the backup file in the same directory as the original file.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_RTL_SUPPORT:
|
case RC_RTL_SUPPORT:
|
||||||
@ -1732,23 +1732,23 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_MARK_FOREIGN_LANGUAGE:
|
case RC_MARK_FOREIGN_LANGUAGE:
|
||||||
str = N_("Use to control the highlighting of words with a language foreign to\nthat of the document.");
|
str = N_("Use to control the highlighting of words with a language foreign to that of the document.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_LANGUAGE_PACKAGE:
|
case RC_LANGUAGE_PACKAGE:
|
||||||
str = N_("The latex command for loading the language package.\nE.g. \"\\usepackage{babel}\", \"\\usepackage{omega}\".");
|
str = N_("The latex command for loading the language package. E.g. \"\\usepackage{babel}\", \"\\usepackage{omega}\".");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_LANGUAGE_AUTO_BEGIN:
|
case RC_LANGUAGE_AUTO_BEGIN:
|
||||||
str = N_("Use if a language switching command is needed at the beginning\nof the document.");
|
str = N_("Use if a language switching command is needed at the beginning of the document.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_LANGUAGE_AUTO_END:
|
case RC_LANGUAGE_AUTO_END:
|
||||||
str = N_("Use if a language switching command is needed at the end\nof the document.");
|
str = N_("Use if a language switching command is needed at the end of the document.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_LANGUAGE_COMMAND_BEGIN:
|
case RC_LANGUAGE_COMMAND_BEGIN:
|
||||||
str = N_("The latex command for changing from the language of the document\nto another language.\nE.g. \\selectlanguage{$$lang} where $$lang is substituted by the name\nof the second language.");
|
str = N_("The latex command for changing from the language of the document to another language. E.g. \\selectlanguage{$$lang} where $$lang is substituted by the name of the second language.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_LANGUAGE_COMMAND_END:
|
case RC_LANGUAGE_COMMAND_END:
|
||||||
@ -1756,7 +1756,7 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_DATE_INSERT_FORMAT:
|
case RC_DATE_INSERT_FORMAT:
|
||||||
str = N_("This accepts the normal strftime formats; see man strftime for full details.\nE.g.\"%A, %e. %B %Y\".");
|
str = N_("This accepts the normal strftime formats; see man strftime for full details. E.g.\"%A, %e. %B %Y\".");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_SHOW_BANNER:
|
case RC_SHOW_BANNER:
|
||||||
@ -1764,7 +1764,7 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_WHEEL_JUMP:
|
case RC_WHEEL_JUMP:
|
||||||
str = N_("The wheel movement factor (for mice with wheels or five button mice)");
|
str = N_("The wheel movement factor (for mice with wheels or five button mice).");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_CONVERTER:
|
case RC_CONVERTER:
|
||||||
@ -1777,7 +1777,7 @@ string LyXRC::getFeedback(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_NEW_ASK_FILENAME:
|
case RC_NEW_ASK_FILENAME:
|
||||||
str = N_("This sets the behaviour if you want to be asked for a filename when\ncreating a new document or wait until you save it and be asked then.");
|
str = N_("This sets the behaviour if you want to be asked for a filename when creating a new document or wait until you save it and be asked then.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_DEFAULT_LANGUAGE:
|
case RC_DEFAULT_LANGUAGE:
|
||||||
|
@ -139,7 +139,7 @@ enum LyXRCTags {
|
|||||||
///
|
///
|
||||||
int ReadBindFile(string const & name = "cua");
|
int ReadBindFile(string const & name = "cua");
|
||||||
///
|
///
|
||||||
static string getFeedback( LyXRCTags );
|
static string getDescription( LyXRCTags );
|
||||||
///
|
///
|
||||||
string bind_file;
|
string bind_file;
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user