xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
animation_update_event_args.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/event_args.h>
6 
8 namespace xtd {
10  namespace forms {
18  public:
19  animation_updated_event_args(int32_t frame_counter, int64_t elapsed_milliseconds) : frame_counter_(frame_counter), elapsed_milliseconds_(elapsed_milliseconds) {}
20 
21  int64_t elapsed_milliseconds() const {return elapsed_milliseconds_;}
22 
23  int32_t frame_counter() const {return frame_counter_;}
24 
25  private:
26  int32_t frame_counter_ = 0;
27  int64_t elapsed_milliseconds_ = 0;
28  };
29  }
30 }
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
Provides data for the animation update event.
Definition: animation_update_event_args.h:17
Contains xtd::event_args event args.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17