Skip to content

Commit b9bb7be

Browse files
committed
Event is now a class
1 parent 3d1c71b commit b9bb7be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/Event.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ xref:graphics_events.adoc[< Back to `graphics` Events]
1212
[source]
1313
----
1414
#include <gf2/graphics/Event.h>
15-
struct Event;
15+
class Event;
1616
----
1717

1818
Events are generally polled from the system in a loop and handled immediately.

docs/graphics_events.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ xref:reference.adoc#graphics[< Back to reference]
2020
[source]
2121
----
2222
#include <gf2/graphics/Event.h>
23-
struct Event;
23+
class Event;
2424
----
2525

2626
`Event` is a tagged union to describe system events. xref:Event.adoc[*Read more...*]

include/gf2/graphics/MotionGroup.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "GraphicsApi.h"
1313

1414
namespace gf {
15-
struct Event;
15+
class Event;
1616

1717
class GF_GRAPHICS_API MotionGroup {
1818
public:

0 commit comments

Comments
 (0)