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
12adb20e
Commit
12adb20e
authored
Oct 13, 2009
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in operator window: statusbar indikator color and display of alarm time
parent
39b3fc1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
xtt/lib/xtt/gtk/xtt_op_gtk.cpp
xtt/lib/xtt/gtk/xtt_op_gtk.cpp
+3
-1
xtt/lib/xtt/src/xtt_op.h
xtt/lib/xtt/src/xtt_op.h
+4
-2
No files found.
xtt/lib/xtt/gtk/xtt_op_gtk.cpp
View file @
12adb20e
...
...
@@ -732,7 +732,7 @@ void OpGtk::update_alarm_info()
time_format
=
time_eFormat_ComprDateAndTime
;
show_time
=
1
;
}
else
if
(
layout_mask
&
pwr_mOpWindLayoutMask_ShowAlarm
DateAnd
Time
)
{
else
if
(
layout_mask
&
pwr_mOpWindLayoutMask_ShowAlarmTime
)
{
time_format
=
time_eFormat_Time
;
show_time
=
1
;
}
...
...
@@ -1567,6 +1567,8 @@ void OpGtk::change_sup_color( void *imagew, op_eSupColor color)
case
op_eSupColor_Black
:
dcli_translate_filename
(
fname
,
"$pwr_exe/xtt_ind_black.png"
);
break
;
default:
dcli_translate_filename
(
fname
,
"$pwr_exe/xtt_ind_gray.png"
);
}
gtk_image_set_from_file
(
GTK_IMAGE
(
image
),
fname
);
}
...
...
xtt/lib/xtt/src/xtt_op.h
View file @
12adb20e
...
...
@@ -47,16 +47,18 @@ class CoWowTimer;
class
Op
;
typedef
enum
{
op_eSupColor_
,
op_eSupColor_Gray
,
op_eSupColor_Green
,
op_eSupColor_Yellow
,
op_eSupColor_Red
,
op_eSupColor_Black
op_eSupColor_Black
,
op_eSupColor__
}
op_eSupColor
;
class
OpSup
{
public:
OpSup
()
:
buttonw
(
0
),
imagew
(
0
),
p
(
0
),
old_color
(
op_eSupColor_
Gray
),
flash
(
0
)
OpSup
()
:
buttonw
(
0
),
imagew
(
0
),
p
(
0
),
old_color
(
op_eSupColor_
),
flash
(
0
)
{
strcpy
(
node_name
,
""
);
strcpy
(
object_name
,
""
);}
pwr_tOid
node_oid
;
...
...
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