You've already forked lazarus-ccr
* Change from lazarus resources to native resources / fix checkimage painting / use pascal packarray in carbon / update demos
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4671 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -11,7 +11,7 @@ interface
|
||||
|
||||
uses
|
||||
LCLIntf, VTGraphics, Types, SysUtils, Classes, Graphics, Controls, Forms,
|
||||
Dialogs, VirtualTrees, StdCtrls, ExtCtrls, LResources, LCLType, LCLProc;
|
||||
Dialogs, VirtualTrees, StdCtrls, ExtCtrls, LCLType, LCLProc;
|
||||
|
||||
type
|
||||
THeaderOwnerDrawForm = class(TForm)
|
||||
@ -52,6 +52,8 @@ var
|
||||
|
||||
implementation
|
||||
|
||||
{$R *.lfm}
|
||||
|
||||
uses
|
||||
States, LclExt;
|
||||
|
||||
@ -241,7 +243,7 @@ begin
|
||||
//FBackBitmap2.PixelFormat := OptimalPixelFormat;
|
||||
CreateCheckerBackground;
|
||||
FHeaderBitmap := TBitmap.Create;
|
||||
FHeaderBitmap.LoadFromLazarusResource('Transcriptions');
|
||||
FHeaderBitmap.LoadFromResourceName(HINSTANCE, 'Transcriptions');
|
||||
end;
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
@ -305,8 +307,5 @@ end;
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
initialization
|
||||
{$i HeaderCustomDrawDemo.lrs}
|
||||
{$i bitmap.lrs}
|
||||
|
||||
end.
|
||||
|
Reference in New Issue
Block a user