3 #if !defined __ZPixelCoord_H
5 #define __ZPixelCoord_H
8 #include <mix/SortedAr.H>
58 int group_index (ZGroupId gid)
const;
64 ZPHintAr (
unsigned quant = DEFAULT_QUANT,
65 unsigned volume = START_VOLUME)
69 virtual Compar compare (
const char* item1,
const char* item2)
const;
75 void remove_group (ZGroupId gid);
83 Logic check (ZGroupId gid)
const;
90 virtual void print_item (
unsigned i)
const;
118 ZGroupId group ()
const;
121 void group (ZGroupId new_gid);
127 void get_pc (
int pc[2])
const;
128 int get_pc1 ()
const;
129 int get_pc2 ()
const;
130 int get_psize ()
const;
133 void set_pc (
int pc[2]);
136 Logic is_resized ()
const;
139 Logic is_moved ()
const;
142 ZSizeLimit get_limit (
int* pValue = NULL)
const;
143 void set_limit (ZSizeLimit limit_type,
int limit_value);
146 void link (ZGroupId
id);
150 Logic is_linked ()
const;
151 ZGroupId linked_group ()
const;
154 void get_delta (
int d[2])
const;
157 void set_delta (
int d[2]);
162 #define PtrType ZPCoordSlave*
164 #include <mix/PtrAr.H>
167 #define BAD_GROUP_ID (-1)
184 void get_pc (ZGroupId gid,
int pc[2])
const;
185 int get_pc1 (ZGroupId gid)
const;
186 int get_pc2 (ZGroupId gid)
const;
187 int get_psize (ZGroupId gid)
const;
190 void set_pc (ZGroupId gid,
int pc[2]);
196 void add_group (ZGroupId gid);
199 Logic is_group (ZGroupId gid)
const;
202 unsigned slaves_count (ZGroupId gid);
208 Logic is_resized (ZGroupId gid)
const;
211 Logic is_moved (ZGroupId gid)
const;
214 ZSizeLimit get_limit (ZGroupId gid,
int* pValue = NULL)
const;
224 Logic is_linked (ZGroupId gid)
const;
225 ZGroupId linked_group (ZGroupId gid)
const;
226 void link (ZGroupId gid1, ZGroupId gid2);
229 void get_delta (ZGroupId gid,
int d[2])
const;
232 void set_delta (ZGroupId gid,
int d[2]);
260 #endif // ZPixelCoord.H
ZPCoordMaster(const char *szName=NULL)
Definition: SortedAr.H:14
Definition: ZPixelCoord.H:31
Definition: ZPixelCoord.H:53
Definition: ZPixelCoord.H:102
Definition: ZPixelCoord.H:23
Definition: ZPixelCoord.H:174