/[eliot]/eliot/wxwin/confdimdlg.cc
ViewVC logotype

Diff of /eliot/wxwin/confdimdlg.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by ipkiss, Fri Nov 4 20:00:06 2005 UTC revision 1.8 by ipkiss, Sat Nov 5 17:33:06 2005 UTC
# Line 63  ConfDimDlg::ConfDimDlg(wxWindow* parent, Line 63  ConfDimDlg::ConfDimDlg(wxWindow* parent,
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];
# Line 124  ConfDimDlg::ConfDimDlg(wxWindow* parent, Line 125  ConfDimDlg::ConfDimDlg(wxWindow* parent,
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      {      {
# Line 135  ConfDimDlg::ConfDimDlg(wxWindow* parent, Line 137  ConfDimDlg::ConfDimDlg(wxWindow* parent,
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      {      {
# Line 158  ConfDimDlg::ConfDimDlg(wxWindow* parent, Line 161  ConfDimDlg::ConfDimDlg(wxWindow* parent,
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    
# Line 167  ConfDimDlg::ConfDimDlg(wxWindow* parent, Line 171  ConfDimDlg::ConfDimDlg(wxWindow* parent,
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()+
# Line 180  ConfDimDlg::ConfDimDlg(wxWindow* parent, Line 185  ConfDimDlg::ConfDimDlg(wxWindow* parent,
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()

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26