5 VisBin *visual_bin_new (
void)
10 void visual_bin_free (
VisBin *bin)
15 void visual_bin_realize (
VisBin *bin)
17 visual_return_if_fail (bin !=
nullptr);
24 visual_return_val_if_fail (bin !=
nullptr,
nullptr);
26 return bin->get_actor ().
get ();
31 visual_return_val_if_fail (bin !=
nullptr,
nullptr);
33 return bin->get_input ().
get ();
36 void visual_bin_set_morph (
VisBin *bin,
const char *morphname)
38 visual_return_if_fail (bin !=
nullptr);
40 bin->set_morph (morphname);
45 visual_return_val_if_fail (bin !=
nullptr,
nullptr);
47 return bin->get_morph ().
get ();
50 void visual_bin_connect (
VisBin *bin,
const char *actname,
const char *inname)
52 visual_return_if_fail (bin !=
nullptr);
54 bin->connect (actname, inname);
57 void visual_bin_sync (
VisBin *bin,
int noevent)
59 visual_return_if_fail (bin !=
nullptr);
66 visual_return_if_fail (bin !=
nullptr);
73 visual_return_if_fail (bin !=
nullptr);
75 bin->set_supported_depth (depthflag);
78 void visual_bin_set_preferred_depth (
VisBin *bin, VisBinDepth depth)
80 visual_return_if_fail (bin !=
nullptr);
82 bin->set_preferred_depth (depth);
87 visual_return_if_fail (bin !=
nullptr);
89 bin->set_depth (depth);
96 return bin->get_depth ();
99 int visual_bin_depth_changed (
VisBin *bin)
101 visual_return_val_if_fail (bin !=
nullptr, FALSE);
103 return bin->depth_changed ();
108 visual_return_val_if_fail (bin !=
nullptr,
nullptr);
110 return &bin->get_palette ();
113 void visual_bin_switch_actor (
VisBin *bin,
const char *actname)
115 visual_return_if_fail (bin !=
nullptr);
117 bin->switch_actor (actname);
120 void visual_bin_switch_finalize (
VisBin *bin)
122 visual_return_if_fail (bin !=
nullptr);
124 bin->switch_finalize ();
127 void visual_bin_use_morph (
VisBin *bin,
int use)
129 visual_return_if_fail (bin !=
nullptr);
131 bin->use_morph (use);
134 void visual_bin_switch_set_time (
VisBin *bin,
long sec,
long usec)
136 visual_return_if_fail (bin !=
nullptr);
138 bin->switch_set_time (
LV::Time (sec, usec * VISUAL_NSECS_PER_USEC));
141 void visual_bin_run (
VisBin *bin)
143 visual_return_if_fail (bin !=
nullptr);