blob: d15edf2a6451381f727311df1d0a6af6a32dad0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
/*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2006 - INRIA - Jean-Baptiste Silvy
* Copyright (C) 2010-2012 - DIGITEO - Manuel Juliachs
* Copyright (C) 2010-2012 - Scilab Enterprises - Bruno JOFRET
*
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
*
*/
/*======================================================================================*/
/* Copyrigth INRIA 2006 */
/* Desc : Various functions to manipulate SubWindow objects */
/*======================================================================================*/
#ifndef __SCI_AXES_H__
#define __SCI_AXES_H__
#include "dynlib_graphics.h"
#include "BOOL.h"
/*-----------------------------------------------------------------------------*/
/* reinit the selected subwindow if the auto_clear property is set to on */
/* return TRUE if the window has been redrawn */
GRAPHICS_IMPEXP BOOL checkRedrawing(void);
/**
* Enumeration used to specify the title place relative to parent subwindow
* Matches the MVC Legend object's LegendLocation enum.
*/
typedef enum
{
/** */
SCI_LEGEND_POSITION_UNSPECIFIED = -1,
/** */
SCI_LEGEND_IN_UPPER_RIGHT = 0,
/** */
SCI_LEGEND_IN_UPPER_LEFT = 1,
/** */
SCI_LEGEND_IN_LOWER_RIGHT = 2,
/** */
SCI_LEGEND_IN_LOWER_LEFT = 3,
/** */
SCI_LEGEND_OUT_UPPER_RIGHT = 4,
/** */
SCI_LEGEND_OUT_UPPER_LEFT = 5,
/** */
SCI_LEGEND_OUT_LOWER_RIGHT = 6,
/** */
SCI_LEGEND_OUT_LOWER_LEFT = 7,
/** */
SCI_LEGEND_UPPER_CAPTION = 8,
/** */
SCI_LEGEND_LOWER_CAPTION = 9,
/** */
SCI_LEGEND_BY_COORDINATES = 10
} /** */
sciLegendPlace;
/**
* Convert property name into a sciLegendPlace
*/
GRAPHICS_IMPEXP sciLegendPlace propertyNameToLegendPlace(const char * string);
/*
* Converts a boolean log flag to the character format
*/
GRAPHICS_IMPEXP char getTextLogFlag(int logFlag);
/*
* Converts a character log flag to the equivalent boolean
*/
GRAPHICS_IMPEXP int getBooleanLogFlag(char logFlag);
/*-----------------------------------------------------------------------------*/
#endif /*__SCI_AXES_H_*/
|