23 #ifndef _LAX_STACKFRAME_H
24 #define _LAX_STACKFRAME_H
26 #include <lax/boxarrange.h>
27 #include <lax/anxapp.h>
28 #include <lax/winframebox.h>
29 #include <lax/buttondowninfo.h>
35 #define STACKF_VERTICAL (1<<16)
36 #define STACKF_NOT_SIZEABLE (1<<17)
37 #define STACKF_ALLOW_SWAP (1<<18)
38 #define STACKF_BEVEL (1<<19)
45 int lastx,lasty, whichbar;
50 int xx,
int yy,
int ww,
int hh,
int brder,
51 anXWindow *prev,
unsigned long nowner,
const char *nsend,
54 virtual const char *whattype() {
return "StackFrame"; }
56 virtual void Refresh();
57 virtual int LBDown(
int x,
int y,
unsigned int state,
int count,
const LaxMouse *d);
58 virtual int LBUp(
int x,
int y,
unsigned int state,
const LaxMouse *d);
59 virtual int MBDown(
int x,
int y,
unsigned int state,
int count,
const LaxMouse *d);
60 virtual int MBUp(
int x,
int y,
unsigned int state,
const LaxMouse *d);
61 virtual int RBDown(
int x,
int y,
unsigned int state,
int count,
const LaxMouse *d);
62 virtual int RBUp(
int x,
int y,
unsigned int state,
const LaxMouse *d);
63 virtual int MouseMove(
int x,
int y,
unsigned int state,
const LaxMouse *d);
64 virtual int MoveResize(
int nx,
int ny,
int nw,
int nh);
65 virtual int Resize(
int nw,
int nh);
70 virtual int MoveBar(
int index,
int pixelamount,
int shift);
71 virtual int Sync(
int add);
73 virtual int Gap() {
return gap; }
74 virtual int Gap(
int ngap);
76 virtual int AddWin(WinFrameBox *box,
char islocal=1,
int where=-1);
79 int npw,
int nws,
int nwg,
int nhalign,
int nhgap,
80 int nph,
int nhs,
int nhg,
int nvalign,
int nvgap,
Mon Feb 17 2014 11:52:57, Laxkit