Skip to content

Commit c832a7b

Browse files
committed
add sample tranfercent color
1 parent 235b68c commit c832a7b

File tree

289 files changed

+23
-18474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+23
-18474
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "com.duy.pascal.compiler"
88
minSdkVersion rootProject.ext.minSdkVersion as Integer
99
targetSdkVersion rootProject.ext.targetSdkVersion as Integer
10-
versionCode 101
11-
versionName "4.0.1"
10+
versionCode 102
11+
versionName "4.0.2"
1212
vectorDrawables.useSupportLibrary = true
1313
multiDexEnabled true
1414
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

libCompiler/src/main/assets/code_sample/crt/color_argb.pas

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,27 @@
22
Uses Crt;
33

44
var
5-
generator : android_graphics_Color;
6-
a, color : integer;
5+
generator : android_graphics_Color;
6+
a, color : integer;
77

88
Begin
9-
for a := 0 to 25 do
10-
begin
11-
color := generator.argb(a, 0, 0, 255);
12-
textBackground(color); //ARGB color
13-
write(' ');
14-
end;
15-
ReadLn;
9+
for a := 0 to 255 do
10+
begin
11+
color := generator.argb(a, 0, 0, 255);
12+
textBackground(color); //ARGB color
13+
write(' ');
14+
end;
15+
for a := 0 to 255 do
16+
begin
17+
color := generator.argb(a, 0, 255, 0);
18+
textBackground(color); //ARGB color
19+
write(' ');
20+
end;
21+
for a := 0 to 255 do
22+
begin
23+
color := generator.argb(a, 255, 0, 0);
24+
textBackground(color); //ARGB color
25+
write(' ');
26+
end;
27+
ReadLn;
1628
End.

sample/BlackJack-Pascal-master/README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)