scbconfig.h File Reference

#include <stdio.h>
Include dependency graph for scbconfig.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _ScbDriverDrawParam

Defines

#define ERSCRIBBLE_LIB_VERSION_MAJOR   1
#define ERSCRIBBLE_LIB_VERSION_MINOR   1
#define ERSCRIBBLE_LIB_ORG   "iRex Technologies"
#define ERSCRIBBLE_DEF_SCREEN_UNITS   "px"
#define ERSCRIBBLE_DEF_SCREEN_DPI   160
#define ERSCRIBBLE_RET_OK   1
#define ERSCRIBBLE_RET_ERR   0
#define ERSCRIBBLE_INVALID_COUNT   -1
#define ERSCRIBBLE_DEF_ZOOM_FACTOR   1.0f
#define ERSCRIBBLE_DEF_SHAPE_LINE   0
#define ERSCRIBBLE_DEF_STROKE_POINTSIZE   40
#define ERSCRIBBLE_DEF_STROKE_LAYER   0
#define ERSCRIBBLE_DEF_STROKE_LINESTYLE   ERSCRIBBLE_LINE_SOLID
#define ERSCRIBBLE_DEF_STROKE_PENSIZE   3
#define ERSCRIBBLE_DEF_DRIVER_DRAW_COUNT   10
#define ERSCRIBBLE_DEF_DRIVER_DRAW_TIME   100 * 100
#define ERSCRIBBLE_DEF_DRIVER_DRAW_BUF_LEN   25
#define ERSCRIBBLE_MAX_PAGEID_LEN   256
#define ERSCRIBBLE_DEF_PAGE_LEFT   0
#define ERSCRIBBLE_DEF_PAGE_TOP   0
#define ERSCRIBBLE_DEF_PAGE_RIGHT   1024
#define ERSCRIBBLE_DEF_PAGE_BOTTOM   1280
#define ERSCRIBBLE_MAX_PATH   1024
#define ERSCRIBBLE_MAX_COLOR_LEN   8
#define ERSCRIBBLE_DEF_ERASE_SIZE   5
#define ERSCRIBBLE_DEF_CMD_ACT_SIZE   10
#define ERSCRIBBLE_INVALID_SHAPE   -1
#define ERSCRIBBLE_INVALID_SIZE   -1
#define ERSCRIBBLE_VERSION_MAJOR   "scribble_version_major"
#define ERSCRIBBLE_VERSION_MINOR   "scribble_version_minor"
#define ERSCRIBBLE_VERSION_COMPANY   "scribble_version_company"
#define ERSCRIBBLE_SCREEN_DPI   "scribble_screen_dpi"
#define ERSCRIBBLE_SCREEN_UNITS   "scribble_screen_units"
#define ERSCRIBBLE_ANNOTATION_TYPE   "scribble"

Typedefs

typedef struct _ScbDriverDrawParam ScbDriverDrawParam
typedef ScbDriverDrawParamScbDriverDrawParamPtr

Functions

void erscribble_cfg_init_driver_draw_param ()
void erscribble_cfg_set_driver_draw_param (ScbDriverDrawParamPtr ptr)
void erscribble_cfg_get_driver_draw_param (ScbDriverDrawParamPtr ptr)

Define Documentation

#define ERSCRIBBLE_ANNOTATION_TYPE   "scribble"

Definition at line 119 of file scbconfig.h.

Referenced by load_document_data(), and save_page_data().

#define ERSCRIBBLE_DEF_CMD_ACT_SIZE   10

Definition at line 104 of file scbconfig.h.

Referenced by erscribble_doc_init_context().

#define ERSCRIBBLE_DEF_DRIVER_DRAW_BUF_LEN   25

Definition at line 86 of file scbconfig.h.

Referenced by erscribble_driver_draw_record(), and erscribble_stroke_driver_draw().

#define ERSCRIBBLE_DEF_DRIVER_DRAW_COUNT   10
#define ERSCRIBBLE_DEF_DRIVER_DRAW_TIME   100 * 100
#define ERSCRIBBLE_DEF_ERASE_SIZE   5

Definition at line 102 of file scbconfig.h.

Referenced by erscribble_page_erase_hit_test().

#define ERSCRIBBLE_DEF_PAGE_BOTTOM   1280

Definition at line 93 of file scbconfig.h.

Referenced by erscribble_page_new().

#define ERSCRIBBLE_DEF_PAGE_LEFT   0

Definition at line 90 of file scbconfig.h.

Referenced by erscribble_page_new().

#define ERSCRIBBLE_DEF_PAGE_RIGHT   1024

Definition at line 92 of file scbconfig.h.

Referenced by erscribble_page_new().

#define ERSCRIBBLE_DEF_PAGE_TOP   0

Definition at line 91 of file scbconfig.h.

Referenced by erscribble_page_new().

#define ERSCRIBBLE_DEF_SCREEN_DPI   160

Definition at line 64 of file scbconfig.h.

Referenced by erscribble_doc_new_with_database().

#define ERSCRIBBLE_DEF_SCREEN_UNITS   "px"

Definition at line 63 of file scbconfig.h.

Referenced by erscribble_doc_new_with_database().

#define ERSCRIBBLE_DEF_SHAPE_LINE   0

Definition at line 75 of file scbconfig.h.

Referenced by erscribble_doc_init_context(), and erscribble_stroke_new().

#define ERSCRIBBLE_DEF_STROKE_LAYER   0

Definition at line 79 of file scbconfig.h.

Referenced by erscribble_doc_init_context(), and erscribble_stroke_new().

#define ERSCRIBBLE_DEF_STROKE_LINESTYLE   ERSCRIBBLE_LINE_SOLID

Definition at line 80 of file scbconfig.h.

#define ERSCRIBBLE_DEF_STROKE_PENSIZE   3

Definition at line 81 of file scbconfig.h.

Referenced by erscribble_stroke_new().

#define ERSCRIBBLE_DEF_STROKE_POINTSIZE   40

Definition at line 78 of file scbconfig.h.

Referenced by erscribble_stroke_new(), and erscribble_stroke_new_with_attributes().

#define ERSCRIBBLE_DEF_ZOOM_FACTOR   1.0f

Definition at line 72 of file scbconfig.h.

Referenced by erscribble_doc_init_context().

#define ERSCRIBBLE_INVALID_COUNT   -1
#define ERSCRIBBLE_INVALID_SHAPE   -1

Definition at line 107 of file scbconfig.h.

Referenced by erscribble_stroke_get_shape().

#define ERSCRIBBLE_INVALID_SIZE   -1

Definition at line 110 of file scbconfig.h.

Referenced by erscribble_stroke_get_size().

#define ERSCRIBBLE_LIB_ORG   "iRex Technologies"

Definition at line 61 of file scbconfig.h.

Referenced by erscribble_doc_new_with_database().

#define ERSCRIBBLE_LIB_VERSION_MAJOR   1

Copyright (C) 2008 iRex Technologies B.V. All rights reserved.

Definition at line 59 of file scbconfig.h.

Referenced by erscribble_doc_new_with_database().

#define ERSCRIBBLE_LIB_VERSION_MINOR   1

Definition at line 60 of file scbconfig.h.

Referenced by erscribble_doc_new_with_database().

#define ERSCRIBBLE_MAX_COLOR_LEN   8

Definition at line 99 of file scbconfig.h.

#define ERSCRIBBLE_MAX_PAGEID_LEN   256
#define ERSCRIBBLE_MAX_PATH   1024

Definition at line 96 of file scbconfig.h.

Referenced by test::ScribbleMgr::open().

#define ERSCRIBBLE_RET_ERR   0

Definition at line 68 of file scbconfig.h.

Referenced by erscribble_stroke_add_point().

#define ERSCRIBBLE_RET_OK   1

Definition at line 67 of file scbconfig.h.

Referenced by erscribble_stroke_add_point().

#define ERSCRIBBLE_SCREEN_DPI   "scribble_screen_dpi"

Definition at line 116 of file scbconfig.h.

Referenced by load_application_data(), and save_application_data().

#define ERSCRIBBLE_SCREEN_UNITS   "scribble_screen_units"

Definition at line 117 of file scbconfig.h.

Referenced by load_application_data(), and save_application_data().

#define ERSCRIBBLE_VERSION_COMPANY   "scribble_version_company"

Definition at line 115 of file scbconfig.h.

Referenced by load_application_data(), and save_application_data().

#define ERSCRIBBLE_VERSION_MAJOR   "scribble_version_major"

Definition at line 113 of file scbconfig.h.

Referenced by load_application_data(), and save_application_data().

#define ERSCRIBBLE_VERSION_MINOR   "scribble_version_minor"

Definition at line 114 of file scbconfig.h.

Referenced by load_application_data(), and save_application_data().


Typedef Documentation

Definition at line 137 of file scbconfig.h.


Function Documentation

void erscribble_cfg_get_driver_draw_param ( ScbDriverDrawParamPtr  ptr  ) 

Definition at line 83 of file scbconfig.c.

References _ScbDriverDrawParam::count, and _ScbDriverDrawParam::time.

00084 {
00085     if (ptr)
00086     {
00087         ptr->time  = s_driver_draw_param.time;
00088         ptr->count = s_driver_draw_param.count;
00089     }
00090 }

void erscribble_cfg_init_driver_draw_param (  ) 
void erscribble_cfg_set_driver_draw_param ( ScbDriverDrawParamPtr  ptr  ) 

Definition at line 73 of file scbconfig.c.

References _ScbDriverDrawParam::count, and _ScbDriverDrawParam::time.

00074 {
00075     if (ptr)
00076     {
00077         s_driver_draw_param.time  = ptr->time;
00078         s_driver_draw_param.count = ptr->count;
00079     }
00080 }

Generated by  doxygen 1.6.2-20100208