@@ -139,7 +139,7 @@ typedef void (*PuglDisplayFunc)(PuglView* view);
139139
140140/**
141141 A function called when a key is pressed or released.
142- @param view The view the event occured in.
142+ @param view The view the event occurred in.
143143 @param press True if the key was pressed, false if released.
144144 @param key Unicode point of the key pressed.
145145 @return 0 if event was handled, otherwise send event to parent window.
@@ -148,15 +148,15 @@ typedef int (*PuglKeyboardFunc)(PuglView* view, bool press, uint32_t key);
148148
149149/**
150150 A function called when the pointer moves.
151- @param view The view the event occured in.
151+ @param view The view the event occurred in.
152152 @param x The window-relative x coordinate of the pointer.
153153 @param y The window-relative y coordinate of the pointer.
154154*/
155155typedef void (* PuglMotionFunc )(PuglView * view , int x , int y );
156156
157157/**
158158 A function called when a mouse button is pressed or released.
159- @param view The view the event occured in.
159+ @param view The view the event occurred in.
160160 @param button The button number (1 = left, 2 = middle, 3 = right).
161161 @param press True if the key was pressed, false if released.
162162 @param x The window-relative x coordinate of the pointer.
@@ -205,7 +205,7 @@ typedef void (*PuglScrollFunc)(PuglView* view, int x, int y, float dx, float dy)
205205 This callback allows the use of keys that do not have unicode points.
206206 Note that some are non-printable keys.
207207
208- @param view The view the event occured in.
208+ @param view The view the event occurred in.
209209 @param press True if the key was pressed, false if released.
210210 @param key The key pressed.
211211 @return 0 if event was handled, otherwise send event to parent window.
@@ -215,7 +215,7 @@ typedef int (*PuglSpecialFunc)(PuglView* view, bool press, PuglKey key);
215215/**
216216 A function called when a filename is selected via file-browser.
217217
218- @param view The view the event occured in.
218+ @param view The view the event occurred in.
219219 @param filename The selected file name or NULL if the dialog was canceled.
220220*/
221221typedef void (* PuglFileSelectedFunc )(PuglView * view , const char * filename );
0 commit comments