Changeset 64 for trunk


Ignore:
Timestamp:
Jul 1, 2006, 10:43:49 AM (15 years ago)
Author:
Eugene Romanenko
Message:

replaced toolbar bitmaps

Location:
trunk/Lucide
Files:
1 added
20 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/BIN/Lucide.lng

    r50 r64  
    5656TBHINT_FIT_WIDTH=Fit width
    5757TBHINT_FIND=Find...
     58TBHINT_FINDAGAIN=Find again
    5859# toolbar's page number
    5960TB_PAGENUM=of %d
  • trunk/Lucide/BIN/Lucide_fr.lng

    r53 r64  
    5959 la largeur
    6060TBHINT_FIND=Recherche...
     61#? TBHINT_FINDAGAIN=Find again
    6162# toolbar's page number
    6263TB_PAGENUM=sur %d
  • trunk/Lucide/BIN/Lucide_sv.lng

    r53 r64  
    5555TBHINT_FIT_WIDTH=Passa bredd
    5656TBHINT_FIND=Finn...
     57#? TBHINT_FINDAGAIN=Find again
    5758# toolbar's page number
    5859TB_PAGENUM=av %d
  • trunk/Lucide/SOURCE/gui/Lucide.rc

    r50 r64  
    1313BITMAP IDB_FITWIDTH     "bitmaps\\fitwidth.bmp"
    1414BITMAP IDB_FIND         "bitmaps\\find.bmp"
     15BITMAP IDB_FINDAGAIN    "bitmaps\\findagain.bmp"
    1516
    1617POINTER IDP_HAND        "bitmaps\\hand.ptr"
  • trunk/Lucide/SOURCE/gui/Lucide_res.H

    r50 r64  
    5151#define IDB_FITWIDTH    29
    5252#define IDB_FIND                30
     53#define IDB_FINDAGAIN   31
    5354
    5455#define IDM_MAINMENU    100
  • trunk/Lucide/SOURCE/gui/lucide.cpp

    r59 r64  
    225225        WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_FIND), (MPARAM)FALSE );
    226226        WinEnableMenuItem( hWndMenu, CM_FINDAGAIN, FALSE );
     227        WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_FINDAGAIN), (MPARAM)FALSE );
    227228
    228229        WinEnableMenuItem( hWndMenu, CM_FIRSTPAGE, FALSE );
     
    593594
    594595                            WinEnableMenuItem( hWndMenu, CM_FINDAGAIN, TRUE );
     596                            WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_FINDAGAIN), (MPARAM)TRUE );
    595597                        }
    596598                    }
  • trunk/Lucide/SOURCE/gui/messages.cpp

    r50 r64  
    5353const char *TBHINT_FIT_WIDTH     = "TBHINT_FIT_WIDTH";
    5454const char *TBHINT_FIND          = "TBHINT_FIND";
     55const char *TBHINT_FINDAGAIN     = "TBHINT_FINDAGAIN";
    5556// toolbar's page number
    5657const char *TB_PAGENUM           = "TB_PAGENUM";
  • trunk/Lucide/SOURCE/gui/messages.h

    r50 r64  
    5353extern const char *TBHINT_FIT_WIDTH;
    5454extern const char *TBHINT_FIND;
     55extern const char *TBHINT_FINDAGAIN;
    5556// toolbar's page number
    5657extern const char *TB_PAGENUM;
  • trunk/Lucide/SOURCE/gui/toolbar.cpp

    r50 r64  
    293293    WinSendMsg( hToolBar, TBM_ADDBUTTON, (MPARAM)&bs, MPVOID );
    294294
     295    bs.cmd = CM_FINDAGAIN;
     296    bs.bubbleText = newstrdupL( TBHINT_FINDAGAIN );
     297    bs.bubbleRes = 0;
     298    bs.bubbleHmod = NULLHANDLE;
     299    bs.pictRes = IDB_FINDAGAIN;
     300    bs.pictHmod = NULLHANDLE;
     301    bs.menuRes = 0;
     302    bs.menuHmod = NULLHANDLE;
     303    bs.checked = FALSE;
     304    bs.enabled = TRUE;
     305    WinSendMsg( hToolBar, TBM_ADDBUTTON, (MPARAM)&bs, MPVOID );
     306
    295307    return hToolBar;
    296308}
Note: See TracChangeset for help on using the changeset viewer.