Declarations of eyelink_core_graphics functions and types. More...
Data Structures | |
struct | _CCDBS |
Macros | |
#define | SDLRGB(x, y) SDL_MapRGB(x->format,(y).r,(y).g,(y).b) |
#define | SCREEN_LEFT dispinfo.left |
#define | SCREEN_TOP dispinfo.top |
#define | SCREEN_RIGHT dispinfo.right |
#define | SCREEN_BOTTOM dispinfo.bottom |
#define | SCRHEIGHT dispinfo.height |
#define | SCRWIDTH dispinfo.width |
#define | bitmap_save_and_backdrop sdl_bitmap_save_and_backdrop |
#define | bitmap_to_backdrop sdl_bitmap_to_backdrop |
#define | bitmap_save sdl_bitmap_save |
#define | EXTERNAL_DEV_NONE ((getExButtonStates)0) |
#define | EXTERNAL_DEV_CEDRUS ((getExButtonStates)1) |
#define | EXTERNAL_DEV_SYS_KEYBOARD ((getExButtonStates)2) |
Typedefs | |
typedef struct _CCDBS | CCDBS |
typedef int(* | getExButtonStates) (CCDBS *) |
Functions | |
void | set_calibration_colors (SDL_Color *fg, SDL_Color *bg) |
void | set_target_size (UINT16 diameter, UINT16 holesize) |
void | set_cal_sounds (char *ontarget, char *ongood, char *onbad) |
void | set_dcorr_sounds (char *ontarget, char *ongood, char *onbad) |
INT16 | set_camera_image_position (INT16 left, INT16 top, INT16 right, INT16 bottom) |
int | get_current_display_information (int *csw, int *csh, int *ccd) |
void | get_display_information (DISPLAYINFO *di) |
INT16 | init_expt_window (SDL_Window **window, DISPLAYINFO *info) |
void | close_expt_graphics (void) |
void | get_expt_window (SDL_Window **window) |
int | sdl_bitmap_save_and_backdrop (SDL_Surface *hbm, INT16 xs, INT16 ys, INT16 width, INT16 height, char *fname, char *path, INT16 sv_options, INT16 xd, INT16 yd, UINT16 bx_options) |
int | sdl_bitmap_to_backdrop (SDL_Surface *hbm, INT16 xs, INT16 ys, INT16 width, INT16 height, INT16 xd, INT16 yd, UINT16 bx_options) |
int | sdl_bitmap_save (SDL_Surface *hbm, INT16 xs, INT16 ys, INT16 width, INT16 height, char *fname, char *path, INT16 sv_options) |
void | set_cal_target_surface (SDL_Surface *surface) |
void | set_cal_background_surface (SDL_Surface *surface) |
void | reset_background_surface () |
void | disable_custombackground_on_imagemode () |
int | set_cal_animation_target (const char *aviName, int playCount, int options) |
int | enable_external_calibration_device (getExButtonStates buttonStatesfcn, const char *config, void *userData) |
void | set_cal_font (const char *fontPath, int size) |
Declarations of eyelink_core_graphics functions and types.
Copyright (c) 1996-2024, SR Research Ltd., All Rights Reserved
For use by SR Research licencees only. Redistribution and use in source and binary forms, with or without modification, are NOT permitted.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither name of SR Research Ltd nor the name of contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file will also reference the other EyeLink header files.