Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
85a52d25
Commit
85a52d25
authored
Sep 18, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cursor time was not shown for history curves
parent
a69adcf8
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
189 additions
and
83 deletions
+189
-83
xtt/lib/ge/src/ge_curve.cpp
xtt/lib/ge/src/ge_curve.cpp
+179
-82
xtt/lib/ge/src/ge_curve.h
xtt/lib/ge/src/ge_curve.h
+10
-1
No files found.
xtt/lib/ge/src/ge_curve.cpp
View file @
85a52d25
This diff is collapsed.
Click to expand it.
xtt/lib/ge/src/ge_curve.h
View file @
85a52d25
/*
/*
* Proview $Id: ge_curve.h,v 1.1
1 2008-07-17 11:21:25
claes Exp $
* Proview $Id: ge_curve.h,v 1.1
2 2008-09-18 15:00:21
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -45,6 +45,12 @@ typedef enum {
...
@@ -45,6 +45,12 @@ typedef enum {
curve_eAxis_y
curve_eAxis_y
}
curve_eAxis
;
}
curve_eAxis
;
typedef
enum
{
curve_eTimeFormat_Float
,
curve_eTimeFormat_HourMinute
,
curve_eTimeFormat_DayHour
}
curve_eTimeFormat
;
//! Contains data for the curves.
//! Contains data for the curves.
class
GeCurveData
{
class
GeCurveData
{
public:
public:
...
@@ -71,6 +77,8 @@ class GeCurveData {
...
@@ -71,6 +77,8 @@ class GeCurveData {
double
axis_width
[
CURVE_MAX_COLS
];
double
axis_width
[
CURVE_MAX_COLS
];
char
format
[
CURVE_MAX_COLS
][
20
];
char
format
[
CURVE_MAX_COLS
][
20
];
int
x_reverse
;
int
x_reverse
;
curve_eTimeFormat
time_format
;
void
get_borders
();
void
get_borders
();
void
get_default_axis
();
void
get_default_axis
();
void
select_color
(
bool
dark_bg
);
void
select_color
(
bool
dark_bg
);
...
@@ -156,6 +164,7 @@ class GeCurve {
...
@@ -156,6 +164,7 @@ class GeCurve {
void
activate_help
();
void
activate_help
();
void
activate_minmax_ok
(
double
min_value
,
double
max_value
);
void
activate_minmax_ok
(
double
min_value
,
double
max_value
);
void
set_curvedata
(
GeCurveData
*
curve_data
);
void
set_curvedata
(
GeCurveData
*
curve_data
);
void
redraw
();
static
int
growcurve_cb
(
GlowCtx
*
ctx
,
glow_tEvent
event
);
static
int
growcurve_cb
(
GlowCtx
*
ctx
,
glow_tEvent
event
);
static
int
init_growcurve_cb
(
GlowCtx
*
fctx
,
void
*
client_data
);
static
int
init_growcurve_cb
(
GlowCtx
*
fctx
,
void
*
client_data
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment