From: vsr Date: Thu, 9 Jun 2005 11:11:35 +0000 (+0000) Subject: fix a bug: key accelerator for the 'Next' button is not reconnected when the correspo... X-Git-Tag: V_2_2_4~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9b48224df9e59c368d9ca5e0e33ca892ba4a5a03;p=tools%2Finstall.git fix a bug: key accelerator for the 'Next' button is not reconnected when the corresponding button's clicked() signal is reconnected --- diff --git a/bin/SALOME_InstallWizard b/bin/SALOME_InstallWizard index c1fa8b3..9a8fccc 100755 Binary files a/bin/SALOME_InstallWizard and b/bin/SALOME_InstallWizard differ diff --git a/src/InstallWizard.cpp b/src/InstallWizard.cpp index e1beb40..810c640 100644 --- a/src/InstallWizard.cpp +++ b/src/InstallWizard.cpp @@ -155,8 +155,12 @@ InstallWizard::InstallWizard( QWidget *parent, const char *name, bool modal, d->nextButton->setDefault( TRUE ); connect( d->backButton, SIGNAL(clicked()), + this, SIGNAL(backClicked()) ); + connect( this, SIGNAL(backClicked()), this, SLOT(back()) ); connect( d->nextButton, SIGNAL(clicked()), + this, SIGNAL(nextClicked()) ); + connect( this, SIGNAL(nextClicked()), this, SLOT(next()) ); connect( d->finishButton, SIGNAL(clicked()), this, SLOT(accept()) ); @@ -168,9 +172,9 @@ InstallWizard::InstallWizard( QWidget *parent, const char *name, bool modal, #ifndef QT_NO_ACCEL d->accel = new QAccel( this, "arrow-key accel" ); d->backAccel = d->accel->insertItem( Qt::ALT + Qt::Key_Left ); - d->accel->connectItem( d->backAccel, this, SLOT(back()) ); + d->accel->connectItem( d->backAccel, this, SIGNAL(backClicked()) ); d->nextAccel = d->accel->insertItem( Qt::ALT + Qt::Key_Right ); - d->accel->connectItem( d->nextAccel, this, SLOT(next()) ); + d->accel->connectItem( d->nextAccel, this, SIGNAL(nextClicked()) ); #endif } diff --git a/src/InstallWizard.h b/src/InstallWizard.h index ddd49ad..8b36597 100644 --- a/src/InstallWizard.h +++ b/src/InstallWizard.h @@ -112,6 +112,8 @@ protected slots: virtual void help(); signals: + void nextClicked(); + void backClicked(); void helpClicked(); void selected( const QString& ); diff --git a/src/SALOME_HelpWindow.cxx b/src/SALOME_HelpWindow.cxx index 36835e6..a8d80fa 100644 --- a/src/SALOME_HelpWindow.cxx +++ b/src/SALOME_HelpWindow.cxx @@ -36,7 +36,7 @@ HelpWindow::HelpWindow( SALOME_InstallWizard* wizard ) : QMainWindow( 0, "Salome // caption setCaption( wizard->getCaption() + " " + wizard->getIWName() + " " + tr( "Help" ) ); // icon - setIcon( QPixmap( (const char**)image0_data ) ); + setIcon( QPixmap( (const char**)image_icon ) ); // create browser browser = new QTextBrowser( this ); browser->mimeSourceFactory()->setFilePath( hlpDir ); @@ -50,7 +50,7 @@ HelpWindow::HelpWindow( SALOME_InstallWizard* wizard ) : QMainWindow( 0, "Salome addToolBar( toolbar, "Toolbar" ); QToolButton* button; // --> back - button = new QToolButton( QIconSet( (const char**)_img_back ), + button = new QToolButton( QIconSet( (const char**)image_back ), tr( "Backward" ), "", browser, @@ -59,7 +59,7 @@ HelpWindow::HelpWindow( SALOME_InstallWizard* wizard ) : QMainWindow( 0, "Salome button->setEnabled( FALSE ); connect( browser, SIGNAL( backwardAvailable( bool ) ), button, SLOT( setEnabled( bool ) ) ); // --> forward - button = new QToolButton( QIconSet( (const char**)_img_forward ), + button = new QToolButton( QIconSet( (const char**)image_next ), tr( "Forward" ), "", browser, @@ -68,14 +68,27 @@ HelpWindow::HelpWindow( SALOME_InstallWizard* wizard ) : QMainWindow( 0, "Salome button->setEnabled( FALSE ); connect( browser, SIGNAL( forwardAvailable( bool ) ), button, SLOT( setEnabled( bool ) ) ); // --> home - button = new QToolButton( QIconSet( (const char**)_img_home ), + button = new QToolButton( QIconSet( (const char**)image_home ), tr( "Home" ), "", browser, SLOT( home() ), toolbar ); toolbar->addSeparator(); - button = new QToolButton( QIconSet( (const char**)_img_close ), + button = new QToolButton( QIconSet( (const char**)image_zoom_in ), + tr( "Increaze font size" ), + "", + browser, + SLOT( zoomIn() ), + toolbar ); + button = new QToolButton( QIconSet( (const char**)image_zoom_out ), + tr( "Decreaze font size" ), + "", + browser, + SLOT( zoomOut() ), + toolbar ); + toolbar->addSeparator(); + button = new QToolButton( QIconSet( (const char**)image_close ), tr( "Close" ), "", this, @@ -84,7 +97,7 @@ HelpWindow::HelpWindow( SALOME_InstallWizard* wizard ) : QMainWindow( 0, "Salome toolbar->addSeparator(); // --> logo QLabel* logo = new QLabel( toolbar, "logo" ); - logo->setPixmap( QPixmap( (const char**)image1_data ) ); + logo->setPixmap( QPixmap( (const char**)image_logo ) ); logo->setAlignment( AlignRight | AlignVCenter ); logo->setScaledContents( false ); toolbar->setStretchableWidget( logo ); diff --git a/src/SALOME_InstallWizard.cxx b/src/SALOME_InstallWizard.cxx index 64ac2c1..ecc0a90 100644 --- a/src/SALOME_InstallWizard.cxx +++ b/src/SALOME_InstallWizard.cxx @@ -303,12 +303,12 @@ SALOME_InstallWizard::SALOME_InstallWizard(QString aXmlFileName) setTitleFont( fnt ); // set icon - setIcon( QPixmap( ( const char** ) image0_data ) ); + setIcon( QPixmap( ( const char** ) image_icon ) ); // enable sizegrip setSizeGripEnabled( true ); // add logo - addLogo( QPixmap( (const char**)image1_data ) ); + addLogo( QPixmap( (const char**)image_logo ) ); // set defaults setVersion( "1.2" ); @@ -1339,8 +1339,9 @@ void SALOME_InstallWizard::launchScript() nextButton()->setText( tr( "&Next >" ) ); QWhatsThis::add( nextButton(), tr( "Moves to the next step of the installation procedure" ) ); QToolTip::add ( nextButton(), tr( "Moves to the next step of the installation procedure" ) ); - nextButton()->disconnect(); - connect( nextButton(), SIGNAL( clicked() ), this, SLOT( next() ) ); + disconnect( this, SIGNAL( nextClicked() ), this, SLOT( next() ) ); + disconnect( this, SIGNAL( nextClicked() ), this, SLOT( onStart() ) ); + connect( this, SIGNAL( nextClicked() ), this, SLOT( next() ) ); // button setBackEnabled( true ); // script parameters @@ -1532,8 +1533,9 @@ void SALOME_InstallWizard::pageChanged( const QString & mytitle) nextButton()->setText( tr( "&Next >" ) ); QWhatsThis::add( nextButton(), tr( "Moves to the next step of the installation procedure" ) ); QToolTip::add ( nextButton(), tr( "Moves to the next step of the installation procedure" ) ); - nextButton()->disconnect(); - connect( nextButton(), SIGNAL( clicked() ), this, SLOT( next() ) ); + disconnect( this, SIGNAL( nextClicked() ), this, SLOT( next() ) ); + disconnect( this, SIGNAL( nextClicked() ), this, SLOT( onStart() ) ); + connect( this, SIGNAL( nextClicked() ), this, SLOT( next() ) ); cancelButton()->disconnect(); connect( cancelButton(), SIGNAL( clicked()), this, SLOT( reject() ) ); @@ -1562,8 +1564,9 @@ void SALOME_InstallWizard::pageChanged( const QString & mytitle) QWhatsThis::add( nextButton(), tr( "Starts installation process" ) ); QToolTip::add ( nextButton(), tr( "Starts installation process" ) ); // reconnect Next button - to use it as Start button - nextButton()->disconnect(); - connect( nextButton(), SIGNAL( clicked() ), this, SLOT( onStart() ) ); + disconnect( this, SIGNAL( nextClicked() ), this, SLOT( next() ) ); + disconnect( this, SIGNAL( nextClicked() ), this, SLOT( onStart() ) ); + connect( this, SIGNAL( nextClicked() ), this, SLOT( onStart() ) ); setNextEnabled( true ); // reconnect Cancel button to terminate process cancelButton()->disconnect(); @@ -1726,8 +1729,9 @@ void SALOME_InstallWizard::productInstalled( ) nextButton()->setText( tr( "&Next >" ) ); QWhatsThis::add( nextButton(), tr( "Moves to the next step of the installation procedure" ) ); QToolTip::add ( nextButton(), tr( "Moves to the next step of the installation procedure" ) ); - nextButton()->disconnect(); - connect( nextButton(), SIGNAL( clicked() ), this, SLOT( next() ) ); + disconnect( this, SIGNAL( nextClicked() ), this, SLOT( next() ) ); + disconnect( this, SIGNAL( nextClicked() ), this, SLOT( onStart() ) ); + connect( this, SIGNAL( nextClicked() ), this, SLOT( next() ) ); // enable button setBackEnabled( true ); } diff --git a/src/icons.h b/src/icons.h index 771d1fe..e61146d 100644 --- a/src/icons.h +++ b/src/icons.h @@ -3034,80 +3034,8 @@ static const char* const SALOME_Logo_xpm[] = { "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt"}; -static const char* const _img_back[]={ -"16 16 5 1", -"# c #000000", -"a c #ffffff", -"c c #808080", -"b c #c0c0c0", -". c None", -"................", -".......#........", -"......##........", -".....#a#........", -"....#aa########.", -"...#aabaaaaaaa#.", -"..#aabbbbbbbbb#.", -"...#abbbbbbbbb#.", -"...c#ab########.", -"....c#a#ccccccc.", -".....c##c.......", -"......c#c.......", -".......cc.......", -"........c.......", -"................", -"......................"}; - -static const char* const _img_forward[]={ -"16 16 5 1", -"# c #000000", -"a c #ffffff", -"c c #808080", -"b c #c0c0c0", -". c None", -"................", -"................", -".........#......", -".........##.....", -".........#a#....", -"..########aa#...", -"..#aaaaaaabaa#..", -"..#bbbbbbbbbaa#.", -"..#bbbbbbbbba#..", -"..########ba#c..", -"..ccccccc#a#c...", -"........c##c....", -"........c#c.....", -"........cc......", -"........c.......", -"................", -"................"}; -static const char* const _img_home[]={ -"16 16 4 1", -"# c #000000", -"a c #ffffff", -"b c #c0c0c0", -". c None", -"........... ....", -" ....##.......", -"..#...####......", -"..#..#aabb#.....", -"..#.#aaaabb#....", -"..##aaaaaabb#...", -"..#aaaaaaaabb#..", -".#aaaaaaaaabbb#.", -"###aaaaaaaabb###", -"..#aaaaaaaabb#..", -"..#aaa###aabb#..", -"..#aaa#.#aabb#..", -"..#aaa#.#aabb#..", -"..#aaa#.#aabb#..", -"..#aaa#.#aabb#..", -"..#####.######..", -"................"}; - -static const char* const _img_close[]={ +static const char* const image_close[]={ "16 16 3 1", ". c None", "# c #800000", @@ -3129,7 +3057,7 @@ static const char* const _img_close[]={ "................", "................"}; -static const char* const image1_data[] = { +static const char* const image_logo[] = { "54 20 415 2", "bH c #004f87", "a1 c #005089", @@ -3567,7 +3495,7 @@ static const char* const image1_data[] = { "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQteteuevaiQtQtQtQtQtQtQt", "aiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiai.7ewexeyezeAeBeC#Kaiaiaiai#5"}; -static const char* const image0_data[] = { +static const char* const image_icon[] = { "16 16 14 1", ". c None", "g c #392900", @@ -3600,4 +3528,1016 @@ static const char* const image0_data[] = { "................", "................"}; +static const char* const image_home[] = { +"20 20 188 2", +" c None", +". c #D2D2D2", +"+ c #595959", +"@ c #0F0F0F", +"# c #B8B8B8", +"$ c #D8D8D8", +"% c #BFBFBF", +"& c #9A9A9A", +"* c #C9C9C9", +"= c #818181", +"- c #ADADAD", +"; c #7D7D7D", +"> c #3F3F3F", +", c #A8A8A8", +"' c #D4D4D4", +") c #757575", +"! c #0A0A0A", +"~ c #B9B9B9", +"{ c #7E7E7E", +"] c #AAAAAA", +"^ c #BEBEBE", +"/ c #B4B4B4", +"( c #6D6D6D", +"_ c #4C4C4C", +": c #747474", +"< c #626262", +"[ c #AFAFAF", +"} c #7F7F7F", +"| c #7C7C7C", +"1 c #797979", +"2 c #5E5E5E", +"3 c #4A4A4A", +"4 c #9F9F9F", +"5 c #737373", +"6 c #333333", +"7 c #C2C2C2", +"8 c #A4A4A4", +"9 c #545454", +"0 c #4E4E4E", +"a c #4F4F4F", +"b c #343434", +"c c #D7D7D7", +"d c #CFCFCF", +"e c #717171", +"f c #C3C3C3", +"g c #9B9B9B", +"h c #4D4D4D", +"i c #898787", +"j c #D3D2D2", +"k c #E1E1E1", +"l c #A7A5A5", +"m c #535353", +"n c #222222", +"o c #CECECE", +"p c #858585", +"q c #ACACAC", +"r c #A0A0A0", +"s c #4E4D4D", +"t c #888787", +"u c #F3F3F3", +"v c #FAFAFA", +"w c #E0DFDF", +"x c #A4A2A2", +"y c #5A5959", +"z c #525252", +"A c #9D9D9D", +"B c #D3D3D3", +"C c #828282", +"D c #9E9E9E", +"E c #8D8D8D", +"F c #505050", +"G c #868585", +"H c #D5D4D4", +"I c #F2F2F2", +"J c #F9F9F9", +"K c #F7F7F7", +"L c #E2E2E2", +"M c #A2A1A1", +"N c #585757", +"O c #515151", +"P c #3E3E3E", +"Q c #999999", +"R c #696969", +"S c #989898", +"T c #898989", +"U c #7A7A7A", +"V c #CCCBCB", +"W c #F8F8F8", +"X c #F6F6F6", +"Y c #DDDCDC", +"Z c #3D3D3D", +"` c #312F2F", +" . c #BCBCBC", +".. c #E4E4E4", +"+. c #F8F7F6", +"@. c #D7BFAE", +"#. c #AA7A5B", +"$. c #8D5237", +"%. c #8A6051", +"&. c #F8F6F6", +"*. c #EFEDEC", +"=. c #292929", +"-. c #565656", +";. c #AEAEAE", +">. c #686767", +",. c #5F5E5E", +"'. c #C5C5C5", +"). c #E7E7E7", +"!. c #D6C2B8", +"~. c #A87E66", +"{. c #DBC7B8", +"]. c #DAB99F", +"^. c #9C5021", +"/. c #936959", +"(. c #888888", +"_. c #404040", +":. c #939393", +"<. c #A9A9A9", +"[. c #676767", +"}. c #C8C8C8", +"|. c #EBEBEB", +"1. c #D4C4C6", +"2. c #BD9C9A", +"3. c #E7CAB0", +"4. c #D2945B", +"5. c #B46830", +"6. c #9E6A53", +"7. c #F4F2F2", +"8. c #8E8E8E", +"9. c #424242", +"0. c #A2A2A2", +"a. c #6C6C6C", +"b. c #616161", +"c. c #ECECEC", +"d. c #D1BDBE", +"e. c #B38A83", +"f. c #DDB18C", +"g. c #CE7C30", +"h. c #AB4F08", +"i. c #A16C53", +"j. c #F4F0F0", +"k. c #DBDADA", +"l. c #434343", +"m. c #6E6E6E", +"n. c #D1BCBD", +"o. c #AE8177", +"p. c #D49B6A", +"q. c #C86C17", +"r. c #A64A05", +"s. c #A26D53", +"t. c #9C9C9C", +"u. c #AA7A6F", +"v. c #CF925D", +"w. c #C76A14", +"x. c #A04405", +"y. c #F2F0F0", +"z. c #C8B5B6", +"A. c #955F51", +"B. c #C47430", +"C. c #BE5C08", +"D. c #963E06", +"E. c #5C5C5C", +"F. c #C0ADAE", +"G. c #86452D", +"H. c #AB5413", +"I. c #A84C04", +"J. c #8A3605", +"K. c #986750", +"L. c #E8E6E6", +"M. c #D1D1D1", +"N. c #959595", +"O. c #575757", +"P. c #666666", +"Q. c #574E4F", +"R. c #3A190E", +"S. c #471E04", +"T. c #431A01", +"U. c #3E1702", +"V. c #452F24", +"W. c #696868", +"X. c #5F5F5F", +"Y. c #4C3330", +"Z. c #B0B0B0", +"`. c #787878", +" + c #6B6B6B", +".+ c #6C6B6B", +"++ c #8F7E7C", +"@+ c #BBBBBB", +" . + @ # $ ", +" % & * = - ; > , ' ", +" ) ! ~ { ] ^ / ( _ & ' ", +" : ! < [ , } | 1 2 3 4 ' ", +" 5 6 7 8 9 0 0 a + 9 b ] c ", +" d e f g h i j k l 9 m a n ] ' ", +" o p q r s t j u v w x y z h 6 A ' ", +"B C D E F G H I J J K L M N O 3 P Q ' ", +"R S T F U V u W W W K X Y D 9 F 3 P r ", +"8 Z ` y ...+.@.#.$.%.&.*.* e 6 =.-.;. ", +" 7 >.,.'.).!.~.{.].^./.X c (._.:.<. ", +" e [.}.|.1.2.3.4.5.6.7.$ 8.9.0. ", +" a.b.}.c.d.e.f.g.h.i.j.k.g l.] ", +" m.b.}.c.n.o.p.q.r.s.j.k.t.l.- ", +" m.b.}.c.n.u.v.w.x.i.y.k.t.l.- ", +" m.b.}.c.z.A.B.C.D.i.j.k.t.l.- ", +" m.E.% k F.G.H.I.J.K.L.M.N.l.- ", +" 0._ O.P.Q.R.S.T.U.V.W.X.l.Y.Z. ", +" D `.m.a. + + +.+ + + +a.++@+ ", +" ^ ^ ^ ^ ^ ^ ^ ^ "}; + +static const char* const image_back[] = { +"20 20 119 2", +" c None", +". c #788994", +"+ c #5C6E82", +"@ c #2D4D6A", +"# c #596C7F", +"$ c #244164", +"% c #2B4B6B", +"& c #5C6F83", +"* c #6080A2", +"= c #4D6A91", +"- c #2C4C6C", +"; c #637588", +"> c #6D85A1", +", c #C0D3E4", +"' c #3F7099", +") c #224162", +"! c #8E9195", +"~ c #98A1AB", +"{ c #909BA6", +"] c #8E99A5", +"^ c #8D97A1", +"/ c #A1A1A2", +"( c #5B6E82", +"_ c #6C839F", +": c #D6DEE9", +"< c #A5CFE4", +"[ c #2B88B6", +"} c #2C6188", +"| c #627987", +"1 c #8D9EB0", +"2 c #8796A8", +"3 c #6F8BA3", +"4 c #173353", +"5 c #484B51", +"6 c #6E89A7", +"7 c #D8DFEA", +"8 c #BEE0EE", +"9 c #50B1D5", +"0 c #1A91C5", +"a c #46A1CD", +"b c #A8D5EA", +"c c #D4EBF5", +"d c #CBE7F4", +"e c #90C3E0", +"f c #214A70", +"g c #4A515B", +"h c #587497", +"i c #CCDEEE", +"j c #B1D7EA", +"k c #58B7DA", +"l c #1894C6", +"m c #0E84BF", +"n c #1C90C5", +"o c #5AAFD6", +"p c #96C9E2", +"q c #8CC4E2", +"r c #4F9CC9", +"s c #104973", +"t c #4C525E", +"u c #55585E", +"v c #114369", +"w c #178EBC", +"x c #1DAED8", +"y c #159ED1", +"z c #0E88C3", +"A c #0E86C1", +"B c #148AC0", +"C c #198CBC", +"D c #1989B7", +"E c #1688B8", +"F c #1388BA", +"G c #0E4774", +"H c #4D545F", +"I c #585C64", +"J c #0D4770", +"K c #1A8EBE", +"L c #2BB6DC", +"M c #1BA4D6", +"N c #1396C8", +"O c #23A1C7", +"P c #34A0C3", +"Q c #33A0C3", +"R c #2397BE", +"S c #158CB9", +"T c #0D3F6A", +"U c #4E545E", +"V c #57616D", +"W c #0E4A6E", +"X c #2495BF", +"Y c #2BB5DA", +"Z c #147DAA", +"` c #0F547E", +" . c #0C365A", +".. c #0C3559", +"+. c #0C3659", +"@. c #0F3858", +"#. c #091F39", +"$. c #4E5056", +"%. c #606B77", +"&. c #0E476D", +"*. c #1B7FAD", +"=. c #125F8C", +"-. c #244567", +";. c #9B9FA6", +">. c #9DA1A7", +",. c #A0A4AA", +"'. c #A4A8AE", +"). c #A0A3A7", +"!. c #B5B5B6", +"~. c #5B6571", +"{. c #0D446C", +"]. c #104C78", +"^. c #315171", +"/. c #61636B", +"(. c #102B4A", +"_. c #315071", +":. c #63656B", +"<. c #2E445C", +"[. c #828488", +" ", +" ", +" . ", +" + @ ", +" # $ % ", +" & * = - ", +" ; > , ' ) ! ~ { ] ^ / ", +" ( _ : < [ } | 1 2 3 4 5 ", +" # 6 7 8 9 0 a b c d e f g ", +" + h i j k l m n o p q r s t ", +" u v w x y z A B C D E F G H ", +" I J K L M N O P Q R S T U ", +" V W X Y Z ` ...+.@.#.$. ", +" %.&.*.=.-.;.>.,.'.).!. ", +" ~.{.].^. ", +" /.(._. ", +" :.<. ", +" [. ", +" ", +" "}; + +static const char* const image_next[] = { +"20 20 109 2", +" c None", +". c #828F9C", +"+ c #33506E", +"@ c #545454", +"# c #2B4A6B", +"$ c #285572", +"% c #565656", +"& c #2B4B6B", +"* c #7BA9CA", +"= c #37607B", +"- c #585E61", +"; c #ACB2B8", +"> c #99A2AC", +", c #848F9B", +"' c #7E8995", +") c #838E9A", +"! c #8A95A0", +"~ c #224466", +"{ c #9FC3DB", +"] c #AFCADE", +"^ c #436479", +"/ c #62696E", +"( c #6D7E91", +"_ c #5C7B97", +": c #758CA3", +"< c #8494A7", +"[ c #8998AA", +"} c #6D89A5", +"| c #99C4DE", +"1 c #A4CEE4", +"2 c #C1D5E2", +"3 c #436378", +"4 c #5C6265", +"5 c #65778A", +"6 c #A3BBCF", +"7 c #AED2E5", +"8 c #D6E8F2", +"9 c #D5E7F3", +"0 c #B3D6EB", +"a c #8CC2E0", +"b c #3CA7D2", +"c c #45A7D2", +"d c #B5DAEB", +"e c #C8D9E5", +"f c #3B627C", +"g c #606060", +"h c #607387", +"i c #C0CDDA", +"j c #7AB5D5", +"k c #5CB5D7", +"l c #63B8DA", +"m c #31A5D1", +"n c #2C9ACC", +"o c #0E81BA", +"p c #1284BC", +"q c #44A6D1", +"r c #A9D3E8", +"s c #C1D8E9", +"t c #295673", +"u c #616161", +"v c #4F637A", +"w c #BCCAD9", +"x c #6DB6D8", +"y c #1386B6", +"z c #1785B3", +"A c #1389BA", +"B c #0F8DC3", +"C c #0F84BC", +"D c #0E86C1", +"E c #32A0CF", +"F c #47BEE0", +"G c #2091BE", +"H c #114264", +"I c #636363", +"J c #465C73", +"K c #7FA1BD", +"L c #599EC3", +"M c #2396BD", +"N c #33A1C4", +"O c #279BC1", +"P c #159DCA", +"Q c #129ED0", +"R c #1BA5D6", +"S c #2FB8DC", +"T c #2391BD", +"U c #0D4568", +"V c #666666", +"W c #475E75", +"X c #0F334E", +"Y c #0A2D46", +"Z c #092E47", +"` c #093049", +" . c #0D537D", +".. c #1397C9", +"+. c #2491BC", +"@. c #0E4465", +"#. c #646A6E", +"$. c #979FA7", +"%. c #848688", +"&. c #878787", +"*. c #8B8B8B", +"=. c #8E8E8E", +"-. c #909090", +";. c #234363", +">. c #1A98C6", +",. c #6D747A", +"'. c #2F4F6F", +"). c #2A74A0", +"!. c #8494A4", +" ", +" ", +" . ", +" + @ ", +" # $ % ", +" & * = - ", +" ; > , ' ) ! ~ { ] ^ / ", +" ( _ : < < [ } | 1 2 3 4 ", +" 5 6 7 8 9 0 a b c d e f g ", +" h i j k l m n o p q r s t u ", +" v w x y z A B C D E F G H I ", +" J K L M N O P Q R S T U V ", +" W X Y Y Z ` ...S +.@.#. ", +" $.%.&.*.=.-.;.>.T @.,. ", +" '.).U #. ", +" '.H V ", +" '.I ", +" !. ", +" ", +" "}; + +static const char* const image_zoom_in[] = { +"20 20 240 2", +" c None", +". c #A0A0A0", +"+ c #505151", +"@ c #48494A", +"# c #4A4A4B", +"$ c #5A5A5B", +"% c #D2D2D2", +"& c #ADADAD", +"* c #626263", +"= c #7A7C7D", +"- c #A9AEAF", +"; c #BEC8CA", +"> c #C0CDCF", +", c #B8C3C5", +"' c #909597", +") c #414343", +"! c #646464", +"~ c #CECECE", +"{ c #A9A9A9", +"] c #666667", +"^ c #ADB2B3", +"/ c #E0EAEB", +"( c #E5F4F6", +"_ c #DAF3F8", +": c #D2F0F7", +"< c #C4EBF4", +"[ c #CAECF3", +"} c #CDDFE2", +"| c #828586", +"1 c #6E6E6E", +"2 c #C6C6C6", +"3 c #D6D6D6", +"4 c #595A5A", +"5 c #ABB2B3", +"6 c #E7F2F4", +"7 c #F7FDFD", +"8 c #DEF4F9", +"9 c #C0E8F1", +"0 c #A6DDEA", +"a c #96D3E0", +"b c #A9DDE6", +"c c #C3D8DC", +"d c #808483", +"e c #737373", +"f c #9F9F9F", +"g c #838687", +"h c #D5E1E4", +"i c #E9F7F9", +"j c #F9FCFD", +"k c #FAFDFE", +"l c #E2F5F8", +"m c #BAE5EE", +"n c #9FDAE7", +"o c #8ACEDB", +"p c #7AC4D2", +"q c #9FD5E1", +"r c #A5BBBE", +"s c #747575", +"t c #B7B7B7", +"u c #5A5B5B", +"v c #B8BFC0", +"w c #DEEDF1", +"x c #D4EDF4", +"y c #E4F4F8", +"z c #C2E9F0", +"A c #A8DEEA", +"B c #92D6E4", +"C c #7AC9DB", +"D c #5FB0C2", +"E c #7DC3D1", +"F c #AED6DE", +"G c #899293", +"H c #8A8A8A", +"I c #535455", +"J c #C2CBCD", +"K c #DCEFF3", +"L c #C5E8EF", +"M c #C3E9F0", +"N c #BBE7EF", +"O c #A6DEEA", +"P c #92D5E4", +"Q c #7ECDDF", +"R c #63B9CD", +"S c #4A9FAF", +"T c #6AB8C5", +"U c #ADDAE3", +"V c #7D8B8D", +"W c #686868", +"X c #4E4F4F", +"Y c #B4BDBD", +"Z c #D1EAEF", +"` c #B0DDE6", +" . c #A2DBE6", +".. c #9DD9E7", +"+. c #90D5E4", +"@. c #5EC0D4", +"#. c #4BA3B3", +"$. c #42919E", +"%. c #6DBBC9", +"&. c #A9D3DB", +"*. c #747A7B", +"=. c #616161", +"-. c #676868", +";. c #929695", +">. c #C8DEE2", +",. c #A3DAE5", +"'. c #8ACDDA", +"). c #81C9D7", +"!. c #73C3D4", +"~. c #5ABCCF", +"{. c #47A3B4", +"]. c #3C8A98", +"^. c #4C9FAE", +"/. c #98D1DF", +"(. c #A8B7B9", +"_. c #4E5253", +":. c #787878", +"<. c #BDBDBD", +"[. c #565756", +"}. c #97A0A1", +"|. c #C1E7EF", +"1. c #8FCEDB", +"2. c #6DBAC9", +"3. c #59ADBC", +"4. c #499DAC", +"5. c #3F8D9B", +"6. c #4C9EAF", +"7. c #8BCDDE", +"8. c #C9DFE3", +"9. c #777B7B", +"0. c #3D3E3E", +"a. c #A7A7A7", +"b. c #D4D4D4", +"c. c #898989", +"d. c #656565", +"e. c #9AA2A2", +"f. c #C3E0E7", +"g. c #A6D7E2", +"h. c #92CFDA", +"i. c #83C8D6", +"j. c #89CCDA", +"k. c #B4DFE9", +"l. c #C6D8DC", +"m. c #6D6E6E", +"n. c #313536", +"o. c #4F4829", +"p. c #B1A675", +"q. c #B8B8B8", +"r. c #6C6C6C", +"s. c #6D6D6D", +"t. c #737F80", +"u. c #8BA4A9", +"v. c #AEC9CD", +"w. c #B6D2D6", +"x. c #AABEC3", +"y. c #7F9A9E", +"z. c #5F6668", +"A. c #323433", +"B. c #5D594B", +"C. c #F1EBD7", +"D. c #ABA075", +"E. c #95917C", +"F. c #ACACAC", +"G. c #6F6F6F", +"H. c #636363", +"I. c #6A6A6B", +"J. c #666666", +"K. c #4F5353", +"L. c #555858", +"M. c #363014", +"N. c #B29F58", +"O. c #C1BBA4", +"P. c #BCBCBD", +"Q. c #707071", +"R. c #868687", +"S. c #9B9B9B", +"T. c #797979", +"U. c #6A6A6A", +"V. c #7B7B7B", +"W. c #9D9C99", +"X. c #7D754B", +"Y. c #6F6634", +"Z. c #4B4E4F", +"`. c #939495", +" + c #B3B3B4", +".+ c #B9B9B9", +"++ c #A1A1A1", +"@+ c #B3B3B3", +"#+ c #AAAAAA", +"$+ c #A8A8A8", +"%+ c #AAA9A3", +"&+ c #716D57", +"*+ c #383A3B", +"=+ c #4B4D4E", +"-+ c #898A8A", +";+ c #A5A5A6", +">+ c #676768", +",+ c #BBBBBB", +"'+ c #D0D0D0", +")+ c #5E5E5E", +"!+ c #767676", +"~+ c #AEAEAE", +"{+ c #575758", +"]+ c #272828", +"^+ c #494C4D", +"/+ c #828484", +"(+ c #626262", +"_+ c #6C6C6D", +":+ c #989898", +"<+ c #979797", +"[+ c #5C5C5C", +"}+ c #969696", +"|+ c #4C4C4C", +"1+ c #373839", +"2+ c #4A4D4E", +"3+ c #818283", +"4+ c #7E7E7F", +"5+ c #444445", +"6+ c #434343", +"7+ c #464646", +"8+ c #151515", +"9+ c #1D1D1D", +"0+ c #959595", +"a+ c #373737", +"b+ c #2A2B2C", +"c+ c #313232", +"d+ c #3E3E3F", +"e+ c #454545", +"f+ c #444444", +"g+ c #BCBCBC", +"h+ c #919191", +"i+ c #313131", +"j+ c #0B0C0C", +"k+ c #2F2F30", +"l+ c #878788", +"m+ c #4E4E4E", +"n+ c #545454", +"o+ c #B0B0B0", +"p+ c #9A9A9A", +"q+ c #A4A4A4", +" . + @ @ # $ % ", +" & * = - ; > , ' ) ! ~ ", +" { ] ^ / ( _ : < [ } | 1 2 ", +"3 4 5 6 7 7 8 9 0 a b c d e ", +"f g h i j k l m n o p q r s t ", +"u v w x y l z A B C D E F G H ", +"I J K L M N O P Q R S T U V W ", +"X Y Z ` ...+.Q @.#.$.%.&.*.=. ", +"-.;.>.,.'.).!.~.{.].^./.(._.:. ", +"<.[.}.|.1.2.3.4.5.6.7.8.9.0.a. ", +"b.c.d.e.f.g.h.i.j.k.l.m.n.o.p. ", +" q.r.s.t.u.v.w.x.y.z.A.B.C.D.E. ", +" F.G.H.d.I.W J.K.L.M.N.O.P.Q.R. ", +" t S.T.s.U.W V.W.X.Y.Z.`. +r.T..+ ", +" ++++ @+#+$+a.{ & %+&+*+=+-+;+>+=.,+", +" '+)+!+ ~+{+]+^+/+++(+_+", +":+<+V.[+}+ f |+1+2+3+4+5+", +"6+7+6+8+9+H 0+a+b+^+c+d+", +" @+e+f+g+ h+i+j+k+l+", +" m+n+ o+p+:+q+"}; + +static const char* const image_zoom_out[] = { +"20 20 240 2", +" c None", +". c #A0A0A0", +"+ c #505151", +"@ c #48494A", +"# c #4A4A4B", +"$ c #5A5A5B", +"% c #D2D2D2", +"& c #ADADAD", +"* c #626263", +"= c #7A7C7D", +"- c #A9AEAF", +"; c #BEC8CA", +"> c #C0CDCF", +", c #B8C3C5", +"' c #909597", +") c #414343", +"! c #646464", +"~ c #CECECE", +"{ c #A9A9A9", +"] c #666667", +"^ c #ADB2B3", +"/ c #E0EAEB", +"( c #E5F4F6", +"_ c #DAF3F8", +": c #D2F0F7", +"< c #C4EBF4", +"[ c #CAECF3", +"} c #CDDFE2", +"| c #828586", +"1 c #6E6E6E", +"2 c #C6C6C6", +"3 c #595A5A", +"4 c #ABB2B3", +"5 c #E7F2F4", +"6 c #F7FDFD", +"7 c #DEF4F9", +"8 c #C0E8F1", +"9 c #A6DDEA", +"0 c #96D3E0", +"a c #A9DDE6", +"b c #C3D8DC", +"c c #808483", +"d c #737373", +"e c #9F9F9F", +"f c #838687", +"g c #D5E1E4", +"h c #E9F7F9", +"i c #F9FCFD", +"j c #FAFDFE", +"k c #E2F5F8", +"l c #BAE5EE", +"m c #9FDAE7", +"n c #8ACEDB", +"o c #7AC4D2", +"p c #9FD5E1", +"q c #A5BBBE", +"r c #747575", +"s c #B7B7B7", +"t c #5A5B5B", +"u c #B8BFC0", +"v c #DEEDF1", +"w c #D4EDF4", +"x c #E4F4F8", +"y c #C2E9F0", +"z c #A8DEEA", +"A c #92D6E4", +"B c #7AC9DB", +"C c #5FB0C2", +"D c #7DC3D1", +"E c #AED6DE", +"F c #899293", +"G c #8A8A8A", +"H c #535455", +"I c #C2CBCD", +"J c #DCEFF3", +"K c #C5E8EF", +"L c #C3E9F0", +"M c #BBE7EF", +"N c #A6DEEA", +"O c #92D5E4", +"P c #7ECDDF", +"Q c #63B9CD", +"R c #4A9FAF", +"S c #6AB8C5", +"T c #ADDAE3", +"U c #7D8B8D", +"V c #686868", +"W c #CDCDCD", +"X c #4E4F4F", +"Y c #B4BDBD", +"Z c #D1EAEF", +"` c #B0DDE6", +" . c #A2DBE6", +".. c #9DD9E7", +"+. c #90D5E4", +"@. c #5EC0D4", +"#. c #4BA3B3", +"$. c #42919E", +"%. c #6DBBC9", +"&. c #A9D3DB", +"*. c #747A7B", +"=. c #616161", +"-. c #C5C5C5", +";. c #676868", +">. c #929695", +",. c #C8DEE2", +"'. c #A3DAE5", +"). c #8ACDDA", +"!. c #81C9D7", +"~. c #73C3D4", +"{. c #5ABCCF", +"]. c #47A3B4", +"^. c #3C8A98", +"/. c #4C9FAE", +"(. c #98D1DF", +"_. c #A8B7B9", +":. c #4E5253", +"<. c #787878", +"[. c #C3C3C3", +"}. c #BDBDBD", +"|. c #565756", +"1. c #97A0A1", +"2. c #C1E7EF", +"3. c #8FCEDB", +"4. c #6DBAC9", +"5. c #59ADBC", +"6. c #499DAC", +"7. c #3F8D9B", +"8. c #4C9EAF", +"9. c #8BCDDE", +"0. c #C9DFE3", +"a. c #777B7B", +"b. c #3D3E3E", +"c. c #A7A7A7", +"d. c #898989", +"e. c #656565", +"f. c #9AA2A2", +"g. c #C3E0E7", +"h. c #A6D7E2", +"i. c #92CFDA", +"j. c #83C8D6", +"k. c #89CCDA", +"l. c #B4DFE9", +"m. c #C6D8DC", +"n. c #6D6E6E", +"o. c #313536", +"p. c #4F4829", +"q. c #B1A675", +"r. c #C5C5C3", +"s. c #B8B8B8", +"t. c #6C6C6C", +"u. c #6D6D6D", +"v. c #737F80", +"w. c #8BA4A9", +"x. c #AEC9CD", +"y. c #B6D2D6", +"z. c #AABEC3", +"A. c #7F9A9E", +"B. c #5F6668", +"C. c #323433", +"D. c #5D594B", +"E. c #F1EBD7", +"F. c #ABA075", +"G. c #95917C", +"H. c #D3D3D3", +"I. c #ACACAC", +"J. c #6F6F6F", +"K. c #636363", +"L. c #6A6A6B", +"M. c #666666", +"N. c #4F5353", +"O. c #555858", +"P. c #363014", +"Q. c #B29F58", +"R. c #C1BBA4", +"S. c #BCBCBD", +"T. c #707071", +"U. c #868687", +"V. c #C9C9C9", +"W. c #9B9B9B", +"X. c #797979", +"Y. c #6A6A6A", +"Z. c #7B7B7B", +"`. c #9D9C99", +" + c #7D754B", +".+ c #6F6634", +"++ c #4B4E4F", +"@+ c #939495", +"#+ c #B3B3B4", +"$+ c #B9B9B9", +"%+ c #CFCFCF", +"&+ c #C1C1C1", +"*+ c #B3B3B3", +"=+ c #AAAAAA", +"-+ c #A8A8A8", +";+ c #AAA9A3", +">+ c #716D57", +",+ c #383A3B", +"'+ c #4B4D4E", +")+ c #898A8A", +"!+ c #A5A5A6", +"~+ c #676768", +"{+ c #BBBBBB", +"]+ c #CACACA", +"^+ c #AEAEAE", +"/+ c #575758", +"(+ c #272828", +"_+ c #494C4D", +":+ c #828484", +"<+ c #A1A1A1", +"[+ c #626262", +"}+ c #6C6C6D", +"|+ c #989898", +"1+ c #979797", +"2+ c #969696", +"3+ c #BEBEBE", +"4+ c #4C4C4C", +"5+ c #373839", +"6+ c #4A4D4E", +"7+ c #818283", +"8+ c #7E7E7F", +"9+ c #444445", +"0+ c #434343", +"a+ c #3A3A3A", +"b+ c #1D1D1D", +"c+ c #959595", +"d+ c #373737", +"e+ c #2A2B2C", +"f+ c #313232", +"g+ c #3E3E3F", +"h+ c #BCBCBC", +"i+ c #C8C8C8", +"j+ c #919191", +"k+ c #313131", +"l+ c #0B0C0C", +"m+ c #2F2F30", +"n+ c #878788", +"o+ c #B0B0B0", +"p+ c #9A9A9A", +"q+ c #A4A4A4", +" . + @ @ # $ % ", +" & * = - ; > , ' ) ! ~ ", +" { ] ^ / ( _ : < [ } | 1 2 ", +" 3 4 5 6 6 7 8 9 0 a b c d ", +"e f g h i j k l m n o p q r s ", +"t u v w x k y z A B C D E F G ", +"H I J K L M N O P Q R S T U V W ", +"X Y Z ` ...+.P @.#.$.%.&.*.=.-. ", +";.>.,.'.).!.~.{.].^./.(._.:.<.[. ", +"}.|.1.2.3.4.5.6.7.8.9.0.a.b.c.[. ", +" d.e.f.g.h.i.j.k.l.m.n.o.p.q.r. ", +" s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H. ", +" % I.J.K.e.L.V M.N.O.P.Q.R.S.T.U.V. ", +" W s W.X.u.Y.V Z.`. +.+++@+#+t.X.$+ ", +" %+&+*+=+-+c.{ & ;+>+,+'+)+!+~+=.{+", +" %+2 [.[.[.V.]+^+/+(+_+:+<+[+}+", +"|+|+|+1+2+3+ % e 4+5+6+7+8+9+", +"0+0+a+b+b+G ~ c+d+e+_+f+g+", +"2 2 [.h+h+H. i+j+k+l+m+n+", +" W o+p+|+q+"}; + #endif +