Changeset 480 for trunk/demos/gtkD/TestImage.d
- Timestamp:
- 03/25/08 18:16:02 (8 months ago)
- Files:
-
- trunk/demos/gtkD/TestImage.d (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/demos/gtkD/TestImage.d
r322 r480 79 79 { 80 80 81 char[][] pngs;81 string[] pngs; 82 82 83 83 pngs ~= "images/gtkD_bevel.png"; … … 94 94 } 95 95 96 private Table loadTable( char[][] imageFiles)96 private Table loadTable(string[] imageFiles) 97 97 { 98 98 //Table table = new Table(1,1,false); … … 122 122 for ( int i=0 ; i<imageFiles.length ;i++) 123 123 { 124 char[]fileName = imageFiles[i];124 string fileName = imageFiles[i]; 125 125 if ( fileName[0] != '/' ) 126 126 { … … 152 152 if ( fs is null ) 153 153 { 154 char[][] a;154 string[] a; 155 155 ResponseType[] r; 156 156 a ~= "Lets go!"; … … 164 164 if ( response == ResponseType.GTK_RESPONSE_ACCEPT ) 165 165 { 166 char[][] fileNames;166 string[] fileNames; 167 167 ListSG list = fs.getFileChooser().getFilenames(); 168 168 … … 174 174 else writefln("Testmage.loadImages.File selected = %s", 175 175 Str.toString(cast(char*)list.nthData(i))); 176 fileNames ~= Str.toString(cast(char*)list.nthData(i)) .dup;176 fileNames ~= Str.toString(cast(char*)list.nthData(i)); 177 177 } 178 178
