Change the core internal event dispatch to use a BWinEvent structure

instead of passing seperate arguments. For when we want to pass 'richer'
events around.
This commit is contained in:
2003-03-23 22:52:11 +00:00
parent 3dd8dfa32b
commit 510e2d5840
5 changed files with 64 additions and 45 deletions

View File

@@ -37,6 +37,7 @@ struct ListBase;
struct ScrArea;
struct SpaceButs;
struct View2D;
struct BWinEvent;
#define REMAKEIPO 1
#define OOPS_TEST 2
@@ -44,7 +45,7 @@ struct View2D;
void scrarea_do_windraw (struct ScrArea *sa);
void scrarea_do_winchange (struct ScrArea *sa);
void scrarea_do_winhandle (struct ScrArea *sa, unsigned short event, short val, char ascii);
void scrarea_do_winhandle (struct ScrArea *sa, struct BWinEvent *evt);
void scrarea_do_headdraw (struct ScrArea *sa);
void scrarea_do_headchange (struct ScrArea *sa);