Lines Matching defs:current
106 * Engages the request designated by the current parameter.
110 Engage(BitmapWidget BW, Cardinal current)
112 BW->bitmap.current = current;
116 BW->bitmap.request_stack[current].request->name);
118 if (BW->bitmap.request_stack[current].request->engage) {
119 (*BW->bitmap.request_stack[current].request->engage)
121 BW->bitmap.request_stack[current].status,
122 BW->bitmap.request_stack[current].request->engage_client_data,
123 BW->bitmap.request_stack[current].call_data);
142 fprintf(stderr, "Scanning... Current: %d\n", BW->bitmap.current);
143 if ((BW->bitmap.current > 0)
145 (!BW->bitmap.request_stack[BW->bitmap.current--].trap)) {
152 fprintf(stderr, "Trapping... Current: %d\n", BW->bitmap.current+1);
153 if(!Engage(BW, ++BW->bitmap.current))
158 * Terimantes the current request and continues with next request if con = TRUE
166 if (BW->bitmap.current > 0) {
168 fprintf(stderr, "Terminating... Current: %d\n", BW->bitmap.current);
169 if (BW->bitmap.request_stack[BW->bitmap.current].request->terminate)
170 (*BW->bitmap.request_stack[BW->bitmap.current].request->terminate)
172 BW->bitmap.request_stack[BW->bitmap.current].status,
173 BW->bitmap.request_stack[BW->bitmap.current].request->terminate_client_data);
176 if (BW->bitmap.current == BW->bitmap.cardinal)
180 fprintf(stderr, "Continuing... Current: %d\n", BW->bitmap.current+1);
181 if (!Engage(BW, ++BW->bitmap.current))
186 BW->bitmap.current = 0;
189 return BW->bitmap.current;
214 if (BW->bitmap.current == BW->bitmap.cardinal)