| 430 | } |
| 431 | |
| 432 | static void doUpdate(Layer *layer, GContext *ctx) |
| 433 | { |
| 434 | Window *window = layer_get_window(layer); |
| 435 | PiuView* self = window_get_user_data(window); |
| 436 | PiuApplication* application = (*self)->application; |
| 437 | PiuApplicationAdjust(application); |
| 438 | |
| 439 | PiuRectangleRecord area; |
| 440 | PiuRectangleSet(&area, 0, 0, ctx->dest_bitmap.bounds.size.w, ctx->dest_bitmap.bounds.size.h); |
| 441 | (*self)->ctx = ctx; |
| 442 | (*(*application)->dispatch->update)(application, self, &area); |
| 443 | } |
| 444 | |
| 445 | void PiuView_create(xsMachine* the) |
| 446 | { |
nothing calls this directly
no test coverage detected