Git Product home page Git Product logo

anyiquack's People

Contributors

edwinyzh avatar wladid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anyiquack's Issues

Compilation error - [dcc32 Error] AnyiQuack.pas(2484): E2506 Method of parameterized type declared in interface section must not use local symbol 'PrimaryRetakeCheck'

I have created an example application and it works OK, when I use the library in a 'real' application, I get several compilation errors

[dcc32 Error] AnyiQuack.pas(2484): E2506 Method of parameterized type declared in interface section must not use local symbol 'PrimaryRetakeCheck'
[dcc32 Error] AnyiQuack.pas(2713): E2250 There is no overloaded version of 'SpinUntil' that can be called with these arguments
[dcc32 Error] AnyiQuack.pas(2802): E2250 There is no overloaded version of 'SpinUntil' that can be called with these arguments

It might be that there are options that need to be set in the project - please can you advise?

FMX

Hi,
that's great library.
Would it work in Firemonkey? Or can it be converted?
Thanks

Animations and VCL Styles

I have been playing with you examples here, and am having issues with examples once they have VCL Styles added to them, is it possible that it could be my examples, or is there any examples available

Unexpected Memory Leak

Hello there!

Delphi 10.2.1 (25.0.27659.1188) + today's AnyiQuack:

  1. Open project from \Examples\SlidingForm\
  2. Add ReportMemoryLeaksOnShutdown := True; to SlidingForm.dpr:

program SlidingForm;

uses
Forms,
Main in 'Main.pas' {Form1},
AQPControlAnimations in '....\AQPControlAnimations.pas',
AnyiQuack in '....\AnyiQuack.pas',
Vcl.Themes,
Vcl.Styles;

{$R *.res}

begin
ReportMemoryLeaksOnShutdown := True;
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.

  1. Press F9
  2. Click on the form...
  3. Close application
  4. Now check out the file in attach:
    uml

Could you fix it please?

Problem building project

Hi

I was looking at this lib but I got a build error in AnyiQuack.pas

[dcc32 Fatal Error] AnyiQuack.pas(45): F2613 Unit 'System.Contnrs' not found. I think this is an old obsolete unit.
Is this not compatible with Rio ?

Fluid animation

Not an issue. The animations are not fluid when the interval is set to the default 15. If the interval is set to 2 it is really nice and fluid. You can especially notice this when the duration of the animation is set to 3 seconds or so.

TNotificationWindow won't work in a DLL (ActiveX Office add-in)?

Hello,

I'm not sure why, but once TNotificationWindow is used in a DLL( an Office ActiveX add-in), it'll cause the host program (winword.exe for example) won't close, hang in the memory in the Task Manager.

Everything's ok with an VCL EXE. Do you have any hint for me? I tried commenting out the UseThreadTimer compiler directive but no change.

PS, I'm still using this commit before your big changes for FMX.

Font.Size

Hi there! Is it possible to animate Font.Size? ๐Ÿค”

uses
  Vcl.StdCtrls

...

    function FontSizeAnimation(FromSize, ToSize, Duration: Integer; ID: Integer = 0;
      const EaseFunction: TEaseFunction = nil; const OnComplete: TAnonymNotifyEvent = nil): TAQ;

...

function TAQPControlAnimations.FontSizeAnimation(FromSize, ToSize, Duration, ID: Integer;
  const EaseFunction: TEaseFunction; const OnComplete: TAnonymNotifyEvent): TAQ;
begin
  Result := Each(
    function(AQ: TAQ; O: TObject): Boolean
    begin
      Result := True;

      Take(O)
        .EachAnimation(Duration,
          function(AQ: TAQ; O: TObject): Boolean
          begin
            TLabel(O).Font.Size := Byte(TAQ.EaseInteger(
              FromSize, ToSize, AQ.CurrentInterval.Progress,
              EaseFunction));

            if Assigned(OnComplete) and (AQ.CurrentInterval.Progress = 1) then
              OnComplete(O);

            Result := True;
          end);
    end);
end;

F9:

procedure Button1Click(Sender: TObject);
begin
  Take(Label1)
     .Plugin<TAQPControlAnimations>
     .FontSizeAnimation(Label1.Font.Size, 12, 1, 1000);
end;

Result:
0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.