Changeset 329 in Sophya for trunk/SophyaPI/PI/pistdwdggen.cc


Ignore:
Timestamp:
Jun 24, 1999, 4:24:58 PM (26 years ago)
Author:
ercodmgr
Message:

Ajout de const dans les declarations de char * dans tout PI
(char * --> const char *)
Passage a 5 types de fontes differentes (Def, Courier, Helvetica, Times, Symbol)

Reza 24/6/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pistdwdggen.cc

    r323 r329  
    2222//--
    2323//++
    24 // PILabel(PIContainerGen* par, char* nom, int sx=10, int sy=10, int px=0, int py=0)
     24// PILabel(PIContainerGen* par, const char* nom, int sx=10, int sy=10, int px=0, int py=0)
    2525//      Création d'un objet PILabel ayant un contenu (étiquette) identique à "nom".
    2626// void SetLabel(string const& lab)
     
    3131
    3232
    33 PILabelGen::PILabelGen(PIContainerGen *par, char *nom,
     33PILabelGen::PILabelGen(PIContainerGen *par, const char *nom,
    3434                         int sx, int sy, int px, int py)
    3535: PIWdg(par, nom, sx, sy, px, py)
     
    6161//--
    6262//++
    63 // PIButton(PIContainerGen* par, char* nom, PIMessage msg, int sx=10, int sy=10, int px=0, int py=0)
     63// PIButton(PIContainerGen* par, const char* nom, PIMessage msg, int sx=10, int sy=10, int px=0, int py=0)
    6464//      Création d'un objet PIButton avec une étiquette identique à "nom".
    6565// void SetLabel(string const& lab)
     
    6969
    7070
    71 PIButtonGen::PIButtonGen(PIContainerGen *par, char *nom, PIMessage msg,
     71PIButtonGen::PIButtonGen(PIContainerGen *par, const char *nom, PIMessage msg,
    7272                         int sx, int sy, int px, int py)
    7373: PIWdg(par, nom, sx, sy, px, py)
     
    105105//--
    106106//++
    107 //  PIText(PIContainerGen* par, char* nom, int sx=10, int sy=10, int px=0, int py=0)
     107//  PIText(PIContainerGen* par, const char* nom, int sx=10, int sy=10, int px=0, int py=0)
    108108//      Création d'un objet PIText.
    109 //  PIText(PIContainerGen* par, char* nom, bool vsb, bool hsb, -
     109//  PIText(PIContainerGen* par, const char* nom, bool vsb, bool hsb, -
    110110//  int sx=10, int sy=10, int px=0, int py=0)
    111111//      Création d'un objet PIText multiligne, muni d'ascenseurs
     
    121121//--
    122122
    123 PITextGen::PITextGen(PIContainerGen *par, char *nom,
    124                          int sx, int sy, int px, int py)
    125 : PIWdg(par, nom, sx, sy, px, py)
    126 {}
    127 
    128 PITextGen::PITextGen(PIContainerGen *par, char *nom, bool vsb, bool hsb,
     123PITextGen::PITextGen(PIContainerGen *par, const char *nom,
     124                         int sx, int sy, int px, int py)
     125: PIWdg(par, nom, sx, sy, px, py)
     126{}
     127
     128PITextGen::PITextGen(PIContainerGen *par, const char *nom, bool vsb, bool hsb,
    129129                         int sx, int sy, int px, int py)
    130130: PIWdg(par, nom, sx, sy, px, py)
     
    139139/************* PICheckBoxGen ************/
    140140
    141 PICheckBoxGen::PICheckBoxGen(PIContainerGen *par, char *nom, PIMessage msg,
     141PICheckBoxGen::PICheckBoxGen(PIContainerGen *par, const char *nom, PIMessage msg,
    142142                         int sx, int sy, int px, int py)
    143143: PIWdg(par, nom, sx, sy, px, py)
     
    171171//--
    172172//++
    173 // PICheckBox(PIContainerGen* par, char* nom,  PIMessage msg, int sx=10, int sy=10, int px=0, int py=0);
     173// PICheckBox(PIContainerGen* par, const char* nom,  PIMessage msg, int sx=10, int sy=10, int px=0, int py=0);
    174174//      Création d'un objet PICheckBox.
    175175// void SetState(bool st=false)
     
    204204//--
    205205//++
    206 // PIScale(PIContainerGen* par, char* nom, PIMessage msg, int dir=kSDirLtoR, int sx=100, int sy=10, int px=0, int py=0)
     206// PIScale(PIContainerGen* par, const char* nom, PIMessage msg, int dir=kSDirLtoR, int sx=100, int sy=10, int px=0, int py=0)
    207207//      Création d'un objet PIScale. "dir" indique la direction et le sens d'affichage et peut
    208208//      prendre les valeurs "kSDirLtoR" (gauche à droite), "kSDirRtoL" (droite à gauche),
     
    219219
    220220
    221 PIScaleGen::PIScaleGen(PIContainerGen *par, char *nom, PIMessage msg,
     221PIScaleGen::PIScaleGen(PIContainerGen *par, const char *nom, PIMessage msg,
    222222                       int /*dir*/, int sx, int sy, int px, int py)
    223223: PIWdg(par, nom, sx, sy, px, py)
     
    255255//--
    256256//++
    257 // PIScrollBar(PIContainerGen* par, char* nom, PIMessage msg, int dir=kSDirUpDown, int sx=10, int sy=100, int px=0, int py=0)
     257// PIScrollBar(PIContainerGen* par, const char* nom, PIMessage msg, int dir=kSDirUpDown, int sx=10, int sy=100, int px=0, int py=0)
    258258//      Création d'un objet PIScrollBar. "dir" indique la direction et le sens d'affichage et peut
    259259//      prendre les valeurs "kSDirLtoR" (gauche à droite), "kSDirRtoL" (droite à gauche),
     
    276276//--
    277277
    278 PIScrollBarGen::PIScrollBarGen(PIContainerGen *par, char *nom, PIMessage msg,
     278PIScrollBarGen::PIScrollBarGen(PIContainerGen *par, const char *nom, PIMessage msg,
    279279                       int /*dir*/, int sx, int sy, int px, int py)
    280280: PIWdg(par, nom, sx, sy, px, py)
Note: See TracChangeset for help on using the changeset viewer.