Changeset 24 for branches/gbitmap/UFormMain.pas
- Timestamp:
- Dec 22, 2016, 1:41:06 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gbitmap/UFormMain.pas
r23 r24 273 273 Image: TFPixmap; 274 274 begin 275 Image := TFPixmap.Create ;275 Image := TFPixmap.Create(nil); 276 276 with Image do begin 277 277 Size := Point(100, 100); … … 288 288 procedure TForm1.FormShow(Sender: TObject); 289 289 begin 290 with ColorFormatManager do begin291 RegisterFormat(TColorFormatGray1);292 RegisterFormat(TColorFormatGray2);293 RegisterFormat(TColorFormatGray4);294 RegisterFormat(TColorFormatGray8);295 RegisterFormat(TColorFormatRGB8);296 RegisterFormat(TColorFormatRGBA8);297 RegisterFormat(TColorFormatRGB565);298 end;299 290 ListBox1.ItemIndex := 0; 300 291 end;
Note:
See TracChangeset
for help on using the changeset viewer.