Update space dispatch:
- drawXXXspace, changeXXXspace, and winqreadXXXspace now receive the area and spacedata as explicit arguments, allowing them to access private data w/o going through globals. - pass the new BWinEvent through to the winqreadXXXspace, allowing future access to extended event data. Removed direct calls to winqreadXXXspace to simulate user actions, replaced by calls to action functions in edit.c or the appropriate handler.
This commit is contained in:
@@ -1478,6 +1478,16 @@ void set_editflag_editipo()
|
||||
scrarea_queue_winredraw(curarea);
|
||||
}
|
||||
|
||||
void ipo_toggle_showkey(void) {
|
||||
if(G.sipo->showkey) {
|
||||
G.sipo->showkey= 0;
|
||||
swap_selectall_editipo(); /* sel all */
|
||||
}
|
||||
else G.sipo->showkey= 1;
|
||||
free_ipokey(&G.sipo->ipokey);
|
||||
if(G.sipo->ipo) G.sipo->ipo->showkey= G.sipo->showkey;
|
||||
}
|
||||
|
||||
void swap_selectall_editipo()
|
||||
{
|
||||
Object *ob;
|
||||
|
Reference in New Issue
Block a user