Text.mui cleanup:
[AROS.git] / workbench / libs / muimaster / classes / balance_private.h
blob6f9c66a91e52690cf16c23f319dd93a4cf846ca8
1 #ifndef _BALANCE_PRIVATE_H_
2 #define _BALANCE_PRIVATE_H_
4 #include <exec/types.h>
5 #include <intuition/classusr.h>
6 #include <libraries/mui.h>
8 typedef enum
10 NOT_CLICKED,
11 CLICKED,
12 SHIFT_CLICKED,
13 } State;
15 /*** Instance data **********************************************************/
16 struct Balance_DATA
18 struct MUI_EventHandlerNode ehn;
19 ULONG horizgroup;
20 State state;
21 LONG clickpos;
22 LONG lastpos;
23 LONG total_weight;
24 LONG first_bound;
25 LONG second_bound;
26 struct List *objs;
27 Object *obj_before;
28 Object *obj_after;
29 LONG lsum;
30 LONG oldWeightA;
31 LONG oldWeightB;
32 LONG rsum;
33 LONG lsize;
34 LONG rsize;
35 WORD lsiblings;
36 WORD rsiblings;
37 WORD lazy;
40 #endif /* _BALANCE_PRIVATE_H_ */