23 #ifndef _LAX_PANPOPUP_H
24 #define _LAX_PANPOPUP_H
26 #include <lax/anxapp.h>
27 #include <lax/pancontroller.h>
28 #include <lax/panuser.h>
29 #include <lax/laximages.h>
35 #define PAN_IS_POPUP (1<<16)
36 #define PAN_NEEDS_BDOWN (1<<17)
43 unsigned long bgcolor;
45 PanPopup(
anXWindow *pwindow,
const char *nname,
const char *ntitle,
unsigned long nstyle,
46 int nx,
int ny,
int nw,
int nh,
int brder,
47 anXWindow *prev,
unsigned long nowner=0,
const char *nsend=NULL,
51 virtual const char *whattype() {
return "PanPopup"; }
52 virtual int LBDown(
int x,
int y,
unsigned int state,
int count,
const LaxMouse *d);
65 unsigned long bgcolor;
70 PanWindow(
anXWindow *pwindow,
const char *nname,
const char *ntitle,
unsigned long nstyle,
71 int nx,
int ny,
int nw,
int nh,
int brder,
72 anXWindow *prev,
unsigned long nowner,
const char *nsend,
83 virtual const char *whattype() {
return "PanWindow"; }
84 virtual int LBDown(
int x,
int y,
unsigned int state,
int count,
const LaxMouse *d);
85 virtual int LBUp(
int x,
int y,
unsigned int state,
const LaxMouse *d);
86 virtual int MouseMove(
int x,
int y,
unsigned int state,
const LaxMouse *d);
87 virtual int MoveResize(
int nx,
int ny,
int nw,
int nh);
88 virtual int Resize(
int nw,
int nh);
Mon Feb 17 2014 11:52:57, Laxkit