Changeset 24
- Timestamp:
- Dec 22, 2016, 1:41:06 PM (8 years ago)
- Location:
- branches/gbitmap
- Files:
-
- 15 added
- 4 deleted
- 3 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; -
branches/gbitmap/project1.lpi
r23 r24 29 29 <SearchPaths> 30 30 <IncludeFiles Value="$(ProjOutDir)"/> 31 <OtherUnitFiles Value="ColorFormats"/>32 31 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 33 32 </SearchPaths> … … 65 64 </local> 66 65 </RunParams> 67 <RequiredPackages Count=" 1">66 <RequiredPackages Count="2"> 68 67 <Item1> 68 <PackageName Value="FastGraphics"/> 69 <DefaultFilename Value="Packages\FastGraphics\FastGraphics.lpk" Prefer="True"/> 70 </Item1> 71 <Item2> 69 72 <PackageName Value="LCL"/> 70 </Item 1>73 </Item2> 71 74 </RequiredPackages> 72 <Units Count=" 12">75 <Units Count="2"> 73 76 <Unit0> 74 77 <Filename Value="project1.lpr"/> … … 82 85 <ResourceBaseClass Value="Form"/> 83 86 </Unit1> 84 <Unit2>85 <Filename Value="UGGraphics.pas"/>86 <IsPartOfProject Value="True"/>87 </Unit2>88 <Unit3>89 <Filename Value="UFGraphics.pas"/>90 <IsPartOfProject Value="True"/>91 </Unit3>92 <Unit4>93 <Filename Value="UPixmapSpecialized.pas"/>94 <IsPartOfProject Value="True"/>95 </Unit4>96 <Unit5>97 <Filename Value="ColorFormats\UColorGray1.pas"/>98 <IsPartOfProject Value="True"/>99 </Unit5>100 <Unit6>101 <Filename Value="ColorFormats\UColorGray4.pas"/>102 <IsPartOfProject Value="True"/>103 </Unit6>104 <Unit7>105 <Filename Value="ColorFormats\UColorGray8.pas"/>106 <IsPartOfProject Value="True"/>107 </Unit7>108 <Unit8>109 <Filename Value="ColorFormats\UColorRGB565.pas"/>110 <IsPartOfProject Value="True"/>111 </Unit8>112 <Unit9>113 <Filename Value="ColorFormats\UColorRGBA8.pas"/>114 <IsPartOfProject Value="True"/>115 </Unit9>116 <Unit10>117 <Filename Value="ColorFormats\UColorGray2.pas"/>118 <IsPartOfProject Value="True"/>119 </Unit10>120 <Unit11>121 <Filename Value="ColorFormats\UColorRGB8.pas"/>122 <IsPartOfProject Value="True"/>123 </Unit11>124 87 </Units> 125 88 </ProjectOptions> … … 132 95 <SearchPaths> 133 96 <IncludeFiles Value="$(ProjOutDir)"/> 134 <OtherUnitFiles Value="ColorFormats"/>135 97 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 136 98 </SearchPaths> -
branches/gbitmap/project1.lpr
r23 r24 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 SysUtils, Forms, UFormMain, UGGraphics, 11 UFGraphics, UPixmapSpecialized, UColorRGB8 12 { you can add units after this }; 10 SysUtils, Forms, UFormMain; 13 11 14 12 {$R *.res}
Note:
See TracChangeset
for help on using the changeset viewer.