Exemplo n.º 1
0
struct s_label_attributes *p_label_alloc(struct s_object *self) {
    struct s_label_attributes *result = d_prepare(self, label);
    f_mutex_new(self);	/* inherit */
    f_memory_new(self);	/* inherit */
    f_uiable_new(self);	/* inherit */
    return result;
}
Exemplo n.º 2
0
struct s_uiable_attributes *p_uiable_alloc(struct s_object *self) {
	struct s_uiable_attributes *result = d_prepare(self, uiable);
	f_memory_new(self);									/* inherit */
	f_mutex_new(self);									/* inherit */
	f_drawable_new(self, (e_drawable_kind_single|e_drawable_kind_force_visibility));	/* inherit */
	return result;
}
Exemplo n.º 3
0
struct s_container_attributes *p_container_alloc(struct s_object *self) {
  struct s_container_attributes *result = d_prepare(self, container);
  f_mutex_new(self);    /* inherit */
  f_memory_new(self);   /* inherit */
  f_uiable_new(self);   /* inherit */
  return result;
}
Exemplo n.º 4
0
struct s_bitmap_attributes *p_bitmap_alloc(struct s_object *self) {
	struct s_bitmap_attributes *result = d_prepare(self, bitmap);
	f_memory_new(self);				/* inherit */
	f_mutex_new(self);				/* inherit */
	f_drawable_new(self, e_drawable_kind_single);	/* inherit */
	return result;
}
Exemplo n.º 5
0
struct s_fonts_attributes *p_fonts_alloc(struct s_object *self) {
	struct s_fonts_attributes *result = d_prepare(self, fonts);
	f_memory_new(self);	/* inherit */
	f_mutex_new(self);	/* inherit */
	return result;
}
Exemplo n.º 6
0
struct s_environment_attributes *p_environment_alloc(struct s_object *self) {
	struct s_environment_attributes *result = d_prepare(self, environment);
	f_memory_new(self);	/* inherit */
	f_mutex_new(self);	/* inherit */
	return result;
}
Exemplo n.º 7
0
struct s_drawable_attributes *p_drawable_alloc(struct s_object *self) {
	struct s_drawable_attributes *result = d_prepare(self, drawable);
	/* abstract (no inerithance from memory) */
	f_memory_new(self);
	return result;
}
Exemplo n.º 8
0
struct s_line_attributes *p_line_alloc(struct s_object *self) {
	struct s_line_attributes *result = d_prepare(self, line);
	f_memory_new(self);	/* inherit */
	return result;
}