mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 04:07:57 +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
|
||||
|
||||
// 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;
|
||||
begin
|
||||
Result:= $FF000000 or ((AValue.Blue shr 8) and $ff)
|
||||
|
Loading…
Reference in New Issue
Block a user