mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 06:22:30 +02:00
Small commenting improvement
git-svn-id: trunk@34894 -
This commit is contained in:
parent
921aebcc60
commit
6ae55bb20e
@ -21,6 +21,8 @@ function FPColorToAndroidColor(AValue: TFPColor): jint;
|
|||||||
implementation
|
implementation
|
||||||
|
|
||||||
// Android color is in the format: Alpha-Red-Green-Blue
|
// Android color is in the format: Alpha-Red-Green-Blue
|
||||||
|
// It uses 8-bits per channel. $FF means alpha opaque
|
||||||
|
// See http://developer.android.com/reference/android/graphics/Color.html
|
||||||
function FPColorToAndroidColor(AValue: TFPColor): jint;
|
function FPColorToAndroidColor(AValue: TFPColor): jint;
|
||||||
begin
|
begin
|
||||||
Result:= $FF000000 or ((AValue.Blue shr 8) and $ff)
|
Result:= $FF000000 or ((AValue.Blue shr 8) and $ff)
|
||||||
|
Loading…
Reference in New Issue
Block a user