63 |
int i; |
int i; |
64 |
wxString choices[3]; |
wxString choices[3]; |
65 |
choices[0] = wxT("gauche"); |
choices[0] = wxT("gauche"); |
66 |
choices[1] = wxT("centré"); |
// XXX: choices[1] = wxT("centré"); |
67 |
|
choices[1] = wxT("centre"); |
68 |
choices[2] = wxT("droite"); |
choices[2] = wxT("droite"); |
69 |
wxStaticText* Hcomment[5]; |
wxStaticText* Hcomment[5]; |
70 |
wxRect Hcommentrect[5]; |
wxRect Hcommentrect[5]; |
125 |
wxRect spacerect = space->GetRect(); |
wxRect spacerect = space->GetRect(); |
126 |
|
|
127 |
// heading, first part |
// heading, first part |
128 |
bfontheader = new wxButton(this,Button_FontHeader,wxT("Caractères"),HFONT); |
// XXX: bfontheader = new wxButton(this,Button_FontHeader,wxT("Caractères"),HFONT); |
129 |
|
bfontheader = new wxButton(this,Button_FontHeader,wxT("Caracteres"),HFONT); |
130 |
wxRect bfontheadrect = bfontheader->GetRect(); |
wxRect bfontheadrect = bfontheader->GetRect(); |
131 |
for(i=0; i<5; i++) |
for(i=0; i<5; i++) |
132 |
{ |
{ |
137 |
} |
} |
138 |
|
|
139 |
// text, first part |
// text, first part |
140 |
bfonttext = new wxButton(this,Button_FontText,wxT("Caractères"),TFONT); |
// XXX: bfonttext = new wxButton(this,Button_FontText,wxT("Caractères"),TFONT); |
141 |
|
bfonttext = new wxButton(this,Button_FontText,wxT("Caracteres"),TFONT); |
142 |
wxRect bfonttextrect = bfonttext->GetRect(); |
wxRect bfonttextrect = bfonttext->GetRect(); |
143 |
for(i=0; i<5; i++) |
for(i=0; i<5; i++) |
144 |
{ |
{ |
161 |
|
|
162 |
Hspaces[i] = new wxTextCtrl(this,-1,wxT("00"),HSPACES(i),ESPSIZE); |
Hspaces[i] = new wxTextCtrl(this,-1,wxT("00"),HSPACES(i),ESPSIZE); |
163 |
Hspacesrect[i] = Hspaces[i]->GetRect(); |
Hspacesrect[i] = Hspaces[i]->GetRect(); |
164 |
Hspaces[i]->SetToolTip(wxT("Espacement des caractères du titre")); |
// XXX: Hspaces[i]->SetToolTip(wxT("Espacement des caractères du titre")); |
165 |
|
Hspaces[i]->SetToolTip(wxT("Espacement des caracteres du titre")); |
166 |
} |
} |
167 |
|
|
168 |
|
|
171 |
{ |
{ |
172 |
Tdim[i] = new wxTextCtrl(this,-1,wxT(""),TDIM(i),wxSize(50,-1)); |
Tdim[i] = new wxTextCtrl(this,-1,wxT(""),TDIM(i),wxSize(50,-1)); |
173 |
Tdimrect[i] = Tdim[i]->GetRect(); |
Tdimrect[i] = Tdim[i]->GetRect(); |
174 |
Tdim[i]->SetToolTip(wxT("Dimension intérieure de la colonne (en mm)")); |
// XXX: Tdim[i]->SetToolTip(wxT("Dimension intérieure de la colonne (en mm)")); |
175 |
|
Tdim[i]->SetToolTip(wxT("Dimension interieure de la colonne (en mm)")); |
176 |
|
|
177 |
Tunit[i] = new wxStaticText(this,-1,wxT("mm"), |
Tunit[i] = new wxStaticText(this,-1,wxT("mm"), |
178 |
wxPoint(Tdimrect[i].GetRight()+ |
wxPoint(Tdimrect[i].GetRight()+ |
185 |
|
|
186 |
Tspaces[i] = new wxTextCtrl(this,-1,wxT(""),TSPACES(i),ESPSIZE); |
Tspaces[i] = new wxTextCtrl(this,-1,wxT(""),TSPACES(i),ESPSIZE); |
187 |
Tspacesrect[i] = Tspaces[i]->GetRect(); |
Tspacesrect[i] = Tspaces[i]->GetRect(); |
188 |
Tspaces[i]->SetToolTip(wxT("Espacement des caractères")); |
// XXX: Tspaces[i]->SetToolTip(wxT("Espacement des caractères")); |
189 |
|
Tspaces[i]->SetToolTip(wxT("Espacement des caracteres")); |
190 |
} |
} |
191 |
|
|
192 |
justif->Move(wxPoint(Tjustrect[0].GetLeft(),bfontheadrect.GetBottom() |
justif->Move(wxPoint(Tjustrect[0].GetLeft(),bfontheadrect.GetBottom() |