Jump to content

1.16.2.0 English


Yaroslav Brovin

Recommended Posts

  • Administrators

Download:
The distributive is available by request only.

Release date:
16 October 2023


Improvements 🙌

TNotificationCenter

The supporting of TNotificationCenter RTL component was added. Now you can use this component in FGX Native applications.

  • The new demo sample was added: "Services" -> "Local notifications"

TfgAssetsManager

New helpers methods were added for TfgAssetsManager. To use helpers methods, you need to add FGX.Assets.Helpers to uses section.

GetColor - returns color from asset with name AName. If there are no asset, it returns ADefault color.

uses 
  FGX.Assets, FGX.Assets.Helpers;
  
var
  Color: TAlphaColor;

Color := TfgAssetsManager.Current.GetColor('Asset name 1', TAlphaColorRec.Red);
Color := TfgAssetsManager.Current.GetColor('Asset name 2');

TryGetBitmap - returns bitmap from asset with name `AName`. If there are no asset or it's empty, than returns `False`.

uses 
  FGX.Assets, FGX.Assets.Helpers, FGX.Canvas;
  
var
  Bitmap: TfgBitmap;

if TfgAssetsManager.Current.TryGetBitmap('Bitmap set asset name', Bitmap) then
  // work with Bitmap
  ;

RTL System Permissions 

The supporting of System.Permissions was added. Now you can use not only our service FGX.Permissions, but RTL version.

Demo samples

The part of demo samples were reorganazied. Now all samples related to using services, are located in "Services" category.

Bug Fixes 🐛

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...