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:
@@ -33,6 +33,7 @@
|
||||
#ifndef BSE_DRAWIMASEL_H
|
||||
#define BSE_DRAWIMASEL_H
|
||||
|
||||
struct ScrArea;
|
||||
struct SpaceImaSel;
|
||||
|
||||
void viewgate(short sx, short sy, short ex, short ey);
|
||||
@@ -45,7 +46,7 @@ void move_imadir_sli(struct SpaceImaSel *simasel);
|
||||
void move_imafile_sli(struct SpaceImaSel *simasel);
|
||||
void ima_select_all(struct SpaceImaSel *simasel);
|
||||
void pibplay(struct SpaceImaSel *simasel);
|
||||
void drawimaselspace(void);
|
||||
void drawimaselspace(struct ScrArea *sa, void *spacedata);
|
||||
|
||||
/* void calc_hilite(SpaceImaSel *simasel); */
|
||||
/* void ima_select_all(SpaceImaSel *simasel); */
|
||||
|
Reference in New Issue
Block a user