[Dda-cvs] ntdda/src/win32gui toolbar.c,1.2,1.3
Status: Beta
Brought to you by:
doolin
|
From: Roozbeh <rgr...@us...> - 2007-11-27 02:42:48
|
Update of /cvsroot/dda/ntdda/src/win32gui In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv3057 Modified Files: toolbar.c Log Message: Enabling the zoomin and zoomout toolbar icon Index: toolbar.c =================================================================== RCS file: /cvsroot/dda/ntdda/src/win32gui/toolbar.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** toolbar.c 26 May 2002 23:47:27 -0000 1.2 --- toolbar.c 27 Nov 2007 02:42:40 -0000 1.3 *************** *** 88,91 **** --- 88,93 ---- toolbar_send_message(hToolBar,ANAL_BROWSE,TBSTATE_ENABLED); toolbar_send_message(hToolBar,ANAL_NEW, TBSTATE_ENABLED); + toolbar_send_message(hToolBar,TOOLBAR_ZOOMOUT, TBSTATE_ENABLED); //Added by Roozbeh + toolbar_send_message(hToolBar,TOOLBAR_ZOOMIN, TBSTATE_ENABLED); //Added by Roozbeh break; *************** *** 97,100 **** --- 99,105 ---- toolbar_send_message(hToolBar,ANAL_BROWSE,0); toolbar_send_message(hToolBar,ANAL_NEW, 0); + toolbar_send_message(hToolBar,TOOLBAR_ZOOMOUT, 0); //Added by Roozbeh + toolbar_send_message(hToolBar,TOOLBAR_ZOOMIN, 0); //Added by Roozbeh + break; *************** *** 106,109 **** --- 111,117 ---- toolbar_send_message(hToolBar,ANAL_NEW, TBSTATE_ENABLED); toolbar_send_message(hToolBar,ANAL_ABORT, 0); + toolbar_send_message(hToolBar,TOOLBAR_ZOOMOUT, TBSTATE_ENABLED); //Added by Roozbeh + toolbar_send_message(hToolBar,TOOLBAR_ZOOMIN, TBSTATE_ENABLED); //Added by Roozbeh + break; *************** *** 128,132 **** {0, GEOM_NEW, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0}, {1, ANAL_NEW, 0, TBSTYLE_BUTTON, 0, 0}, ! {0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0L, -1}, {2, GEOM_BROWSE, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0}, {3, ANAL_BROWSE, 0, TBSTYLE_BUTTON, 0, 0}, --- 136,140 ---- {0, GEOM_NEW, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0}, {1, ANAL_NEW, 0, TBSTYLE_BUTTON, 0, 0}, ! {0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0L, -1}, {2, GEOM_BROWSE, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0}, {3, ANAL_BROWSE, 0, TBSTYLE_BUTTON, 0, 0}, *************** *** 134,141 **** //{4, GEOM_NEW, TBSTATE_ENABLED, TBSTYLE_CHECK, 0, 0}, {5, GEOM_APPLY, 0, TBSTYLE_BUTTON, 0, 0}, ! {0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0L, -1}, ! //{6, TOOLBAR_ZOOMIN, TBSTATE_ENABLED, TBSTYLE_CHECK, 0, 0}, ! //{7, TOOLBAR_ZOOMOUT, TBSTATE_ENABLED, TBSTYLE_CHECK, 0, 0}, ! {6, TOOLBAR_PRINT, 0, TBSTYLE_BUTTON, 0, 0} //{0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0L, -1}, //{9, TOOLBAR_PRINT, 0, TBSTYLE_BUTTON, 0, 0} --- 142,149 ---- //{4, GEOM_NEW, TBSTATE_ENABLED, TBSTYLE_CHECK, 0, 0}, {5, GEOM_APPLY, 0, TBSTYLE_BUTTON, 0, 0}, ! {0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0L, -1}, ! {7, TOOLBAR_ZOOMOUT, 0, TBSTYLE_BUTTON, 0, 0}, //Enabled by Roozbeh ! {8, TOOLBAR_ZOOMIN, 0, TBSTYLE_BUTTON, 0, 0}, //Enabled by Roozbeh ! //{6, TOOLBAR_PRINT, 0, TBSTYLE_BUTTON, 0, 0} //{0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0L, -1}, //{9, TOOLBAR_PRINT, 0, TBSTYLE_BUTTON, 0, 0} |