#include "liqcell.h"
#include "liqcell_prop.h"
Defines | |
| #define | ABS(X) ((X)<0 ? -(X) : (X)) |
| #define | SGN(X) ((X)<0 ? -(1) : (1)) |
Functions | |
| void | liqcell_forceinboundparent (liqcell *self) |
| int | liqcell_child_arrange_autoflow (liqcell *self) |
| int | liqcell_child_arrange_nooverlap (liqcell *self, liqcell *currentselection) |
| int | liqcell_child_arrange_makegrid_internal (liqcell *self, int viscolcount, int visrowcount, int flymode) |
| int | liqcell_child_arrange_makegrid_fly (liqcell *self, int viscolcount, int visrowcount) |
| int | liqcell_child_arrange_makegrid (liqcell *self, int viscolcount, int visrowcount) |
| int | liqcell_child_arrange_easytile (liqcell *self) |
| int | liqcell_child_arrange_easyrow (liqcell *self) |
| int | liqcell_child_arrange_easycol (liqcell *self) |
Copyright (C) 2008 Gary Birkett
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
| int liqcell_child_arrange_easytile | ( | liqcell * | self | ) |
Determine and set the number of columns and rows. Based on the number of children liqcells the parent has. This also set's childrens size and position in grid formation.
| self | The parent cell whose children are to be arranged |
| int liqcell_child_arrange_makegrid | ( | liqcell * | self, | |
| int | viscolcount, | |||
| int | visrowcount | |||
| ) |
Set the position of the child liqcell's in order to form a grid-like formation.
| self | The parent liqcell | |
| viscolcount | Column count | |
| visrowcount | Row count |
| int liqcell_child_arrange_makegrid_internal | ( | liqcell * | self, | |
| int | viscolcount, | |||
| int | visrowcount, | |||
| int | flymode | |||
| ) |
Set the position of the child liqcell's in order to form a grid-like formation.
| self | The parent liqcell | |
| viscolcount | Column count | |
| visrowcount | Row count |
1.5.1