3 #if !defined __ZtScale_H
7 #include <zm/ZtObject.H>
10 #define ztScaleLeft (0x4|0x1)
11 #define ztScaleRight (0x4|0x2)
12 #define ztScaleUp (0x8|0x1)
13 #define ztScaleDown (0x8|0x2)
20 char szDefaultFormat[6];
34 int big_notch_size, small_notch_size, labels_offset;
42 ColorPixel axisColor, labelColor;
48 void update_limitations ();
53 int dimension, ZGroupId nid);
57 void set_axis_color (
const char* szColorName);
58 void set_axis_color (ColorPixel cpixel);
59 ColorPixel get_axis_color ()
const;
60 const char* get_axis_color_name ()
const;
62 void set_label_color (
const char* szColorName);
63 void set_label_color (ColorPixel cpixel);
64 ColorPixel get_label_color ()
const;
65 const char* get_label_color_name ()
const;
67 void set_auto_step (Logic flag);
68 Logic get_auto_step ()
const;
73 void set_label_step (
float val);
74 float get_label_step ()
const;
76 void set_notch_freq (
int cnt);
77 int get_notch_freq ()
const;
79 void set_doted_notches ();
85 void set_sizes (
int sizes[3]);
86 void get_sizes (
int sizes[3])
const;
88 void set_chars_count (
int new_count);
89 int get_chars_count ()
const;
91 void set_float_label_format (
int iWidth,
int iPrecision = 0);
92 virtual char* print_label (
char* label,
float val);
98 virtual void changed_state (
int mask_of_changes);
101 virtual const char*
class_id ()
const;
Definition: ZtObject.H:57
virtual const char * class_id() const