3 #ifndef __VisualParams_h
5 #define __VisualParams_h
9 #include <tv/VisualMode.h>
19 #define BottomOffset 5
21 #define LegendHeight 19
24 #define TextHalfDescent 2
25 #define TimeAxisOffset 5
26 #define DepthAxisOffset 5
27 #define ActualityOffset 5
29 #define AtLeftSide (1<<0)
30 #define AtRightSide (1<<1)
31 #define AtTopSide (1<<2)
32 #define AtBottomSide (1<<3)
35 #define ADJUST_TOP(x,y) ((x)>(y)?(y):(x))
36 #define ADJUST_BOTTOM(x,y) ((x)<(y)?(y):(x))
43 unsigned long StartIndex, TrCnt;
51 float agcDynamicAmplify;
63 char colorname[ZCP_COLORNAME_LEN+1];
102 int GetXbyTime(
float time);
106 int CalcOutX (
int x);
107 int CalcOutY (
int y);
108 int CalcWidth (
int w);
109 int CalcHeight (
int h);
111 int InBox (
int x,
int y);
Definition: VisualParams.h:77
Definition: VisualParams.h:59
Definition: VisualParams.h:39