/[cvs]/api/Classes/Html/Picture.cpp
ViewVC logotype

Annotation of /api/Classes/Html/Picture.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Sun Jul 1 20:47:58 2001 UTC (23 years ago) by bearsoft
Branch: lazy, MAIN
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
First import

1 bearsoft 1.1 #include "Picture.h"
2     #include "../System/System.h"
3     #include "../System/SystemDefine.h"
4     #include "../Array/ObjectArray.h"
5    
6     Picture::Picture()
7     {
8     filePath = new String();
9     info = new String();
10     data = new String();
11     }
12    
13     Picture::~Picture()
14     {
15     if (filePath != null)
16     {
17     delete filePath;
18     }
19    
20     if (info != null)
21     {
22     delete info;
23     }
24    
25     if (data != null)
26     {
27     delete data;
28     }
29     }
30    
31     //<img src="pictures/1.png"
32     //border=0 alt="Lazy Games">
33    
34     void Picture::create()
35     {
36     String startData="<img src=";
37     data->setString(startData + filePath + " alt=" + info + ">");
38     // System::println(data);
39     }
40    

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26