Skip to content

Commit d8b74b0

Browse files
committed
Prepare release 4.8.0.2 with vclstyles
1 parent 6fc4465 commit d8b74b0

8 files changed

+40
-9
lines changed

FlickrPhotoAnalytics.dpr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ begin
7070
Application.Initialize;
7171
ReportMemoryLeaksOnShutdown := true;
7272
Application.MainFormOnTaskbar := True;
73-
TStyleManager.TrySetStyle('Windows10 Dark');
73+
TStyleManager.TrySetStyle('Metropolis UI Blue');
7474
Application.Title := 'Flickr Photo Analytics';
7575
Application.CreateForm(TfrmFlickrMain, frmFlickrMain);
7676
Application.Run;

FlickrPhotoAnalytics.dproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<Base>true</Base>
6060
</PropertyGroup>
6161
<PropertyGroup Condition="'$(Base)'!=''">
62-
<Custom_Styles>&quot;Iceberg Classico|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\17.0\Styles\IcebergClassico.vsf&quot;;Windows10|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\17.0\Styles\Windows10.vsf;&quot;Windows10 Dark|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\17.0\Styles\Windows10Dark.vsf&quot;</Custom_Styles>
62+
<Custom_Styles>&quot;Iceberg Classico|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\17.0\Styles\IcebergClassico.vsf&quot;;&quot;Metropolis UI Blue|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\17.0\Styles\MetropolisUIBlue.vsf&quot;;Windows10|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\17.0\Styles\Windows10.vsf;&quot;Windows10 Dark|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\17.0\Styles\Windows10Dark.vsf&quot;</Custom_Styles>
6363
<SanitizedProjectName>FlickrPhotoAnalytics</SanitizedProjectName>
6464
<VCL_Custom_Styles>Carbon|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\14.0\Styles\Carbon.vsf;&quot;Metropolis UI Black|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\14.0\Styles\MetropolisUIBlack.vsf&quot;;&quot;Metropolis UI Dark|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\14.0\Styles\MetropolisUIDark.vsf&quot;;&quot;Ruby Graphite|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\14.0\Styles\RubyGraphite.vsf&quot;</VCL_Custom_Styles>
6565
<DCC_Namespace>Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;VclTee;Xml.Win;$(DCC_Namespace)</DCC_Namespace>

FlickrPhotoAnalytics.res

56.2 KB
Binary file not shown.

FlickrPhotoMigrationTool.dpr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ begin
3939
Application.Initialize;
4040
Application.MainFormOnTaskbar := True;
4141
Application.Title := 'Flickr Photo Migration Tool';
42-
TStyleManager.TrySetStyle('Windows10 Blue');
42+
TStyleManager.TrySetStyle('Metropolis UI Blue');
4343
Application.CreateForm(TfrmMigration, frmMigration);
4444
Application.Run;
4545
end.

FlickrPhotoMigrationTool.dproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<Base>true</Base>
5353
</PropertyGroup>
5454
<PropertyGroup Condition="'$(Base)'!=''">
55-
<Custom_Styles>&quot;Windows10 Blue|VCLSTYLE|$(BDSCOMMONDIR)\Styles\Windows10Blue.vsf&quot;</Custom_Styles>
55+
<Custom_Styles>&quot;Metropolis UI Blue|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\17.0\Styles\MetropolisUIBlue.vsf&quot;;&quot;Windows10 Blue|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\17.0\Styles\Windows10Blue.vsf&quot;</Custom_Styles>
5656
<VCL_Custom_Styles>Carbon|VCLSTYLE|$(PUBLIC)\Documents\Embarcadero\Studio\14.0\Styles\Carbon.vsf</VCL_Custom_Styles>
5757
<SanitizedProjectName>FlickrPhotoMigrationTool</SanitizedProjectName>
5858
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace)</DCC_Namespace>

FlickrPhotoMigrationTool.res

56.2 KB
Binary file not shown.

frmFlickrStatsMain.dfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@ object frmFlickrMain: TfrmFlickrMain
15971597
Top = 66
15981598
Width = 1516
15991599
Height = 841
1600-
ActivePage = Dashboard
1600+
ActivePage = TabSheet7
16011601
Align = alClient
16021602
TabOrder = 1
16031603
object Dashboard: TTabSheet

frmFlickrStatsMain.pas

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,38 @@ procedure TfrmFlickrMain.Log(s: string);
791791
procedure TfrmFlickrMain.AddColourCharts;
792792
begin
793793
//$00C8700C
794-
if (TStyleManager.ActiveStyle.Name = 'Windows10 Blue') then
794+
//$1373A9
795+
if (TStyleManager.ActiveStyle.Name = 'Metropolis UI Blue') then
796+
begin
797+
ChartStreamViews.color := $00A97313;
798+
ChartAlbumViews.color := $00A97313;
799+
ChartViews.color := $00A97313;
800+
totalPhotos.color := $00A97313;
801+
ChartLikes.color := $00A97313;
802+
ChartComments.color := $00A97313;
803+
executionTime.color := $00A97313;
804+
mostviewschart.color := $00A97313;
805+
mostlikeschart.color := $00A97313;
806+
chartfollowing.color := $00A97313;
807+
organicViews.color := $00A97313;
808+
organicLikes.color := $00A97313;
809+
organicComments.color := $00A97313;
810+
groupspread.color := $00A97313;
811+
dailyViews.color := $00A97313;
812+
dailyLikes.color := $00A97313;
813+
dailyComments.color := $00A97313;
814+
chartAlbum.color := $00A97313;
815+
chartHallViews.color := $00A97313;
816+
ChartHallLikes.color := $00A97313;
817+
chartItemViews.color := $00A97313;
818+
chartItemLikes.color := $00A97313;
819+
totalGroups.color := $00A97313;
820+
chartItemComments.color := $00A97313;
821+
chartItemViewsH.color := $00A97313;
822+
chartItemLikesH.color := $00A97313;
823+
chartItemCommentsH.color := $00A97313;
824+
end
825+
else if (TStyleManager.ActiveStyle.Name = 'Windows10 Blue') then
795826
begin
796827
ChartStreamViews.color := $00C8700C;
797828
ChartAlbumViews.color := $00C8700C;
@@ -1840,9 +1871,9 @@ procedure TfrmFlickrMain.LoadHallOfFame(repository: IFlickrRepository);
18401871

18411872
procedure TfrmFlickrMain.LoadForms(repository: IFlickrRepository);
18421873
begin
1843-
apikey.text := repository.apikey;
1844-
secret.text := repository.secret;
1845-
edtUserId.text := repository.UserId;
1874+
//apikey.text := repository.apikey;
1875+
//secret.text := repository.secret;
1876+
//edtUserId.text := repository.UserId;
18461877
authenticate.Enabled := true;
18471878
listPhotos.Clear;
18481879
UpdateCounts();

0 commit comments

Comments
 (0)