| Line | |
|---|
| 1 | {$DEFINE BGRABITMAP}
|
|---|
| 2 | { You can define the following compiler directives in the package options,
|
|---|
| 3 | in tab Compiler options, in section Other. Directives must be prefixed with
|
|---|
| 4 | "-d". So for example:
|
|---|
| 5 |
|
|---|
| 6 | - to always have RGBA pixel format, write "-dBGRABITMAP_RGBAPIXEL"
|
|---|
| 7 | - to always have BGRA pixel format, write "-dBGRABITMAP_BGRAPIXEL"
|
|---|
| 8 | - to use fpGUI toolkit, write "-dBGRABITMAP_USE_FPGUI" }
|
|---|
| 9 | {$IFNDEF BGRABITMAP_DONT_USE_LCL}
|
|---|
| 10 | {$IFDEF LCL}
|
|---|
| 11 | {$DEFINE BGRABITMAP_USE_LCL}
|
|---|
| 12 | {$ENDIF}
|
|---|
| 13 | {$ENDIF}
|
|---|
| 14 | {$IFDEF BGRABITMAP_USE_FPGUI}{$UNDEF BGRABITMAP_USE_LCL}{$ENDIF}
|
|---|
| 15 |
|
|---|
| 16 | { Extensions of LCL to be used. Add // at the beginning of the line
|
|---|
| 17 | to comment them if the functions are not available }
|
|---|
| 18 | {$DEFINE BGRABITMAP_USE_LCL12} { Use functions of Lazarus 1.2 }
|
|---|
| 19 | {$DEFINE BGRABITMAP_USE_LCL15} { Use functions of Lazarus 1.5 }
|
|---|
| 20 |
|
|---|
| 21 | {$MODESWITCH ADVANCEDRECORDS}
|
|---|
| 22 | {$MODESWITCH TypeHelpers}
|
|---|
| 23 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.