void *ui_ctx;
int (*post)(struct nc_scr *scr);
int (*unpost)(struct nc_scr *scr);
- void (*process_key)(struct nc_scr *scr);
+ void (*process_key)(struct nc_scr *scr, int key);
void (*resize)(struct nc_scr *scr);
};
int nc_scr_init(struct nc_scr *scr, enum pb_nc_sig sig, int begin_x,
void *ui_ctx,
- void (*process_key)(struct nc_scr *),
+ void (*process_key)(struct nc_scr *, int),
int (*post)(struct nc_scr *),
int (*unpost)(struct nc_scr *),
void (*resize)(struct nc_scr *));