72
72
double w = pDesklet->container.iWidth - 2 * pSlide->fMargin;
73
73
double h = pDesklet->container.iHeight - 2 * pSlide->fMargin;
75
75
int dw = 2 * dh; // taille horizontale ajoutee a chaque icone.
76
76
int di = pSlide->iGapBetweenIcons; // ecart entre 2 lignes/colonnes.
78
78
int p, q; // nombre de lignes et colonnes.
80
80
pSlide->iIconSize = 0, pSlide->iNbLines = 0, pSlide->iNbColumns = 0;
81
//g_print ("%d icones sur %dx%d (%d)\n", pSlide->iNbIcons, (int)w, (int)h, myLabels.iLabelSize);
81
//g_print ("%d icones sur %dx%d (%d)\n", pSlide->iNbIcons, (int)w, (int)h, myIconsParam.iLabelSize);
82
82
for (p = 1; p <= pSlide->iNbIcons; p ++)
84
84
q = (int) ceil ((double)pSlide->iNbIcons / p);