Changeset 5 in Sophya for trunk/SophyaPI
- Timestamp:
- Feb 15, 1996, 9:26:53 PM (30 years ago)
- Location:
- trunk/SophyaPI/PI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/Makefile
r2 r5 77 77 #------------------------------------------------- End of Makefile.h ------- 78 78 79 all: $(LIB)libPI.a $(SLB)libPI.so 79 all: $(LIB)libPI.a $(SLB)libPI.so $(EXE)pitest 80 80 $(LIB)libPI.a : $(OBJ)ex_dessin.o $(OBJ)piapplgen.o $(OBJ)piapplx.o $(OBJ)pibwdggen.o $(OBJ)pibwdgx.o $(OBJ)picmap.o $(OBJ)picmapgen.o $(OBJ)picmapx.o $(OBJ)picontainergen.o $(OBJ)picontainerx.o $(OBJ)pifilechogen.o $(OBJ)pifilechox.o $(OBJ)piimage.o $(OBJ)pimenubargen.o $(OBJ)pimenubarx.o $(OBJ)pimenugen.o $(OBJ)pimenux.o $(OBJ)pimsghandler.o $(OBJ)pioptmenugen.o $(OBJ)pioptmenux.o $(OBJ)pipixmapgen.o $(OBJ)pipixmapx.o $(OBJ)pistdwdggen.o $(OBJ)pistdwdgx.o $(OBJ)piwdggen.o $(OBJ)piwdgx.o $(OBJ)piwdgxt.o $(OBJ)piwindowgen.o $(OBJ)piwindowx.o $(OBJ)pixtbase.o 81 81 ar -rs $@ $? … … 83 83 $(SLB)libPI.so : $(LIB)libPI.a 84 84 ld -S -shared -o $(SLB)libPI.so -all -L$(LIB) $(LIB)libPI.a 2>/dev/null 85 86 $(EXE)pitest : $(OBJ)pitestapp.o 87 g++ -o $(EXE)pitest $(OBJ)pitestapp.o -L$(LIB) -lPI -lImages -lOutils -lXm -lXt -lX11 88 85 89 $(OBJ)ex_dessin.o: ex_dessin.cc ex_dessin.h pisysdep.h pibwdgx.h pibwdggen.h \ 86 90 piwdgx.h piwdggen.h pimsghandler.h … … 156 160 $(OBJ)pixtbase.o: pixtbase.cc pixtbaseP.h pibwdgx.h pisysdep.h pibwdggen.h \ 157 161 piwdgx.h piwdggen.h pimsghandler.h pixtbase.h 162 163 $(OBJ)pitestapp.o: pitestapp.cc pisysdep.h piapplx.h piapplgen.h \ 164 pimsghandler.h picontainerx.h picontainergen.h piwdgx.h piwdggen.h \ 165 pimenubarx.h pimenubargen.h pimenux.h pimenugen.h piwindowx.h \ 166 piwindowgen.h pioptmenux.h pioptmenugen.h pistdwdgx.h pistdwdggen.h \ 167 pibwdgx.h pibwdggen.h pipixmapx.h pipixmapgen.h picmap.h picmapx.h \ 168 picmapgen.h pifilechox.h pifilechogen.h ex_dessin.h -
trunk/SophyaPI/PI/pitestapp.cc
r4 r5 170 170 // SysBeep(1); 171 171 char truc[100]; 172 sprintf(truc,"< %ld - %d (%d)>",msg,x++, ( (PIWdgGen *)sender)->kind());172 sprintf(truc,"< %ld - %d (%d)>",msg,x++, (int)((PIWdgGen *)sender)->kind()); 173 173 this->label->SetLabel(truc); 174 174 if (msg == 133) … … 193 193 194 194 if (msg == 10301) 195 { numsg++; m[1]->AppendItem( text->GetText().c_str(), numsg); }196 if (msg == 10302) { m[1]->DeleteItem( text->GetText().c_str()); }195 { numsg++; m[1]->AppendItem((char *)text->GetText().c_str(), numsg); } 196 if (msg == 10302) { m[1]->DeleteItem((char *)text->GetText().c_str()); } 197 197 if (msg == 10303) { m[1]->DeleteItemMsg(atol(text->GetText().c_str())); } 198 198 … … 200 200 if ( (msg == 6001) || (msg == 6002) ) wp4->Hide(); 201 201 202 if ((msg > 8000) && data) printf("PITestApp::MenubarReturn: %s \n", data);202 if ((msg > 8000) && data) printf("PITestApp::MenubarReturn: %s \n", (char *)data); 203 203 if (msg == 5000) 204 204 { if (data) printf("PITestApp::Process(5000) : %s \n", (char *)data);
Note:
See TracChangeset
for help on using the changeset viewer.