Skip to content

Commit

Permalink
Let Canvas support events.
Browse files Browse the repository at this point in the history
This pr is like  phoboslab#510  , but simple and better , I think .
  • Loading branch information
finscn committed Sep 11, 2015
1 parent fa035d0 commit 40e0d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Ejecta/EJCanvas/EJBindingCanvas.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "EJBindingBase.h"
#import "EJBindingEventedBase.h"
#import "EJTexture.h"
#import "EJDrawable.h"
#import "EJCanvasContext.h"
Expand All @@ -16,7 +16,7 @@ typedef enum {
kEJCanvasContextModeWebGL
} EJCanvasContextMode;

@interface EJBindingCanvas : EJBindingBase <EJDrawable> {
@interface EJBindingCanvas : EJBindingEventedBase <EJDrawable> {
JSObjectRef jsCanvasContext;
EJCanvasContext *renderingContext;
EJCanvasContextMode contextMode;
Expand Down

0 comments on commit 40e0d8b

Please sign in to comment.