Update of /cvsroot/dda/ntdda/src/win32gui
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv30430
Modified Files:
toolbar.c
Log Message:
Added zoom back buttom in the toolbar by Roozbeh
Index: toolbar.c
===================================================================
RCS file: /cvsroot/dda/ntdda/src/win32gui/toolbar.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** toolbar.c 27 Nov 2007 02:42:40 -0000 1.3
--- toolbar.c 27 Nov 2007 04:02:29 -0000 1.4
***************
*** 90,93 ****
--- 90,94 ----
toolbar_send_message(hToolBar,TOOLBAR_ZOOMOUT, TBSTATE_ENABLED); //Added by Roozbeh
toolbar_send_message(hToolBar,TOOLBAR_ZOOMIN, TBSTATE_ENABLED); //Added by Roozbeh
+ toolbar_send_message(hToolBar,TOOLBAR_ZOOMBACK, TBSTATE_ENABLED); //Added by Roozbeh
break;
***************
*** 101,105 ****
toolbar_send_message(hToolBar,TOOLBAR_ZOOMOUT, 0); //Added by Roozbeh
toolbar_send_message(hToolBar,TOOLBAR_ZOOMIN, 0); //Added by Roozbeh
!
break;
--- 102,106 ----
toolbar_send_message(hToolBar,TOOLBAR_ZOOMOUT, 0); //Added by Roozbeh
toolbar_send_message(hToolBar,TOOLBAR_ZOOMIN, 0); //Added by Roozbeh
! toolbar_send_message(hToolBar,TOOLBAR_ZOOMBACK, 0); //Added by Roozbeh
break;
***************
*** 113,116 ****
--- 114,118 ----
toolbar_send_message(hToolBar,TOOLBAR_ZOOMOUT, TBSTATE_ENABLED); //Added by Roozbeh
toolbar_send_message(hToolBar,TOOLBAR_ZOOMIN, TBSTATE_ENABLED); //Added by Roozbeh
+ toolbar_send_message(hToolBar,TOOLBAR_ZOOMBACK, TBSTATE_ENABLED); //Added by Roozbeh
break;
***************
*** 145,148 ****
--- 147,151 ----
{7, TOOLBAR_ZOOMOUT, 0, TBSTYLE_BUTTON, 0, 0}, //Enabled by Roozbeh
{8, TOOLBAR_ZOOMIN, 0, TBSTYLE_BUTTON, 0, 0}, //Enabled by Roozbeh
+ {9, TOOLBAR_ZOOMBACK, 0, TBSTYLE_BUTTON, 0, 0}, //Enabled by Roozbeh
//{6, TOOLBAR_PRINT, 0, TBSTYLE_BUTTON, 0, 0}
//{0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0L, -1},
|