Changeset 129
- Timestamp:
- Sep 17, 2006, 5:55:13 PM (19 years ago)
- Location:
- trunk/Lucide
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Lucide/BIN/Lucide.lng ¶
r127 r129 58 58 TBHINT_FIND=Find... 59 59 TBHINT_FINDAGAIN=Find again 60 TBHINT_ZOOM_IN_OUT=Zoom in/out 60 61 # toolbar's page number 61 62 TB_PAGENUM=of %d -
TabularUnified trunk/Lucide/SOURCE/gui/Lucide.rc ¶
r122 r129 17 17 BITMAP IDB_FIND "bitmaps\\find.bmp" 18 18 BITMAP IDB_FINDAGAIN "bitmaps\\findagain.bmp" 19 BITMAP IDB_MGLASS "bitmaps\\mglass.bmp" 19 20 20 21 POINTER IDP_HAND "bitmaps\\hand.ptr" -
TabularUnified trunk/Lucide/SOURCE/gui/Lucide_res.H ¶
r122 r129 55 55 #define IDB_FIND 30 56 56 #define IDB_FINDAGAIN 31 57 #define IDB_MGLASS 32 57 58 58 59 #define IDM_MAINMENU 100 -
TabularUnified trunk/Lucide/SOURCE/gui/lucide.cpp ¶
r122 r129 159 159 WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_FITWIDTH), (MPARAM)scalable ); 160 160 WinEnableMenuItem( hWndMenu, CM_ZOOM_IN_OUT, scalable ); 161 WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_ZOOM_IN_OUT), (MPARAM)scalable ); 161 162 WinEnableControl( hToolBar, TBID_ZOOM, scalable ); 162 163 BOOL rotable = doc->isRotable( ev ); … … 257 258 WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_FITWIDTH), (MPARAM)FALSE ); 258 259 WinEnableMenuItem( hWndMenu, CM_ZOOM_IN_OUT, FALSE ); 260 WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_ZOOM_IN_OUT), (MPARAM)FALSE ); 259 261 WinEnableControl( hToolBar, TBID_ZOOM, FALSE ); 260 262 … … 615 617 WinSendMsg( hWndMenu, MM_SETITEMATTR, MPFROM2SHORT( CM_ZOOM_IN_OUT, TRUE ), 616 618 MPFROM2SHORT( MIA_CHECKED, isZoom ? MIA_CHECKED : FALSE ) ); 619 WinSendMsg( hToolBar, TBM_SETCHECK, MPFROMSHORT( CM_ZOOM_IN_OUT ), (MPARAM)isZoom ); 617 620 docViewer->setZoomMode( isZoom ); 618 621 } -
TabularUnified trunk/Lucide/SOURCE/gui/messages.cpp ¶
r127 r129 49 49 const char *TBHINT_FIND = "TBHINT_FIND"; 50 50 const char *TBHINT_FINDAGAIN = "TBHINT_FINDAGAIN"; 51 const char *TBHINT_ZOOM_IN_OUT = "TBHINT_ZOOM_IN_OUT"; 51 52 // toolbar's page number 52 53 const char *TB_PAGENUM = "TB_PAGENUM"; -
TabularUnified trunk/Lucide/SOURCE/gui/messages.h ¶
r127 r129 50 50 extern const char *TBHINT_FIND; 51 51 extern const char *TBHINT_FINDAGAIN; 52 extern const char *TBHINT_ZOOM_IN_OUT; 52 53 // toolbar's page number 53 54 extern const char *TB_PAGENUM; -
TabularUnified trunk/Lucide/SOURCE/gui/toolbar.cpp ¶
r121 r129 348 348 WinSendMsg( hToolBar, TBM_ADDBUTTON, (MPARAM)&bs, MPVOID ); 349 349 350 WinSendMsg( hToolBar, TBM_ADDSEPARATOR, MPVOID, MPVOID ); 351 352 bs.cmd = CM_ZOOM_IN_OUT; 353 bs.bubbleText = newstrdupL( TBHINT_ZOOM_IN_OUT ); 354 bs.bubbleRes = 0; 355 bs.bubbleHmod = NULLHANDLE; 356 bs.pictRes = IDB_MGLASS; 357 bs.pictHmod = NULLHANDLE; 358 bs.menuRes = 0; 359 bs.menuHmod = NULLHANDLE; 360 bs.checked = FALSE; 361 bs.enabled = TRUE; 362 WinSendMsg( hToolBar, TBM_ADDBUTTON, (MPARAM)&bs, MPVOID ); 363 350 364 return hToolBar; 351 365 } -
TabularUnified trunk/Lucide/changelog ¶
r128 r129 1 1 Beta-4: 2 - Added 'Zoom In/Out' button to zoom in/out with mouse click/ctrl+click. 2 3 - Replace ligatures when converting text from unicode to system 3 4 codepage (closed ticket #45).
Note:
See TracChangeset
for help on using the changeset viewer.