comparison dwtest.c @ 226:2aee0b23e880

Removed unnecessary fprintf() statements.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 05 Feb 2003 06:04:58 +0000
parents 413710a835eb
children 5e6d8e024214
comparison
equal deleted inserted replaced
225:413710a835eb 226:2aee0b23e880
90 void draw_file( int row, int col ) 90 void draw_file( int row, int col )
91 { 91 {
92 char buf[10]; 92 char buf[10];
93 int i,y; 93 int i,y;
94 char *pLine; 94 char *pLine;
95 fprintf(stderr,"in draw_file: %d %d\n",row,col); 95
96 if ( current_file ) 96 if ( current_file )
97 { 97 {
98 dw_color_foreground_set(DW_CLR_WHITE); 98 dw_color_foreground_set(DW_CLR_WHITE);
99 dw_draw_rect(0, text1pm, TRUE, 0, 0, DW_PIXMAP_WIDTH(text1pm), DW_PIXMAP_HEIGHT(text1pm)); 99 dw_draw_rect(0, text1pm, TRUE, 0, 0, DW_PIXMAP_WIDTH(text1pm), DW_PIXMAP_HEIGHT(text1pm));
100 dw_draw_rect(0, text2pm, TRUE, 0, 0, DW_PIXMAP_WIDTH(text2pm), DW_PIXMAP_HEIGHT(text2pm)); 100 dw_draw_rect(0, text2pm, TRUE, 0, 0, DW_PIXMAP_WIDTH(text2pm), DW_PIXMAP_HEIGHT(text2pm));
153 } 153 }
154 154
155 /* Callback to handle user selection of the scrollbar position */ 155 /* Callback to handle user selection of the scrollbar position */
156 void DWSIGNAL scrollbar_valuechanged(HWND hwnd, int value, void *data) 156 void DWSIGNAL scrollbar_valuechanged(HWND hwnd, int value, void *data)
157 { 157 {
158 fprintf(stderr,"scrollbar_valuechanged: value %d data %d, %s\n",value,data,(hwnd == vscrollbar) ? "vert" : "horz");
159 if(data) 158 if(data)
160 { 159 {
161 HWND stext = (HWND)data; 160 HWND stext = (HWND)data;
162 char tmpbuf[100]; 161 char tmpbuf[100];
163 if ( hwnd == vscrollbar ) 162 if ( hwnd == vscrollbar )