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
e2e84fde
Commit
e2e84fde
authored
Apr 25, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fileview added
parent
e2cb7c0a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
xtt/lib/xtt/gtk/xtt_xnav_gtk.cpp
xtt/lib/xtt/gtk/xtt_xnav_gtk.cpp
+9
-1
xtt/lib/xtt/gtk/xtt_xnav_gtk.h
xtt/lib/xtt/gtk/xtt_xnav_gtk.h
+3
-1
xtt/lib/xtt/src/xtt_xnav.h
xtt/lib/xtt/src/xtt_xnav.h
+4
-1
No files found.
xtt/lib/xtt/gtk/xtt_xnav_gtk.cpp
View file @
e2e84fde
/*
/*
* Proview $Id: xtt_xnav_gtk.cpp,v 1.
4 2008-04-01 14:19:30
claes Exp $
* Proview $Id: xtt_xnav_gtk.cpp,v 1.
5 2008-04-25 11:28:54
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
...
@@ -66,6 +66,7 @@ typedef void *Widget;
...
@@ -66,6 +66,7 @@ typedef void *Widget;
#include "xtt_op_gtk.h"
#include "xtt_op_gtk.h"
#include "xtt_hist_gtk.h"
#include "xtt_hist_gtk.h"
#include "ge_curve_gtk.h"
#include "ge_curve_gtk.h"
#include "xtt_fileview_gtk.h"
#define max(Dragon,Eagle) ((Dragon) > (Eagle) ? (Dragon) : (Eagle))
#define max(Dragon,Eagle) ((Dragon) > (Eagle) ? (Dragon) : (Eagle))
#define min(Dragon,Eagle) ((Dragon) < (Eagle) ? (Dragon) : (Eagle))
#define min(Dragon,Eagle) ((Dragon) < (Eagle) ? (Dragon) : (Eagle))
...
@@ -252,6 +253,13 @@ GeCurve *XNavGtk::gecurve_new( char *name, char *filename, GeCurveData *data,
...
@@ -252,6 +253,13 @@ GeCurve *XNavGtk::gecurve_new( char *name, char *filename, GeCurveData *data,
return
new
GeCurveGtk
(
this
,
parent_wid
,
name
,
filename
,
data
,
pos_right
);
return
new
GeCurveGtk
(
this
,
parent_wid
,
name
,
filename
,
data
,
pos_right
);
}
}
XttFileview
*
XNavGtk
::
fileview_new
(
pwr_tOid
oid
,
char
*
title
,
char
*
dir
,
char
*
pattern
,
int
type
,
char
*
target_attr
,
char
*
trigger_attr
)
{
return
new
XttFileviewGtk
(
this
,
parent_wid
,
oid
,
title
,
dir
,
pattern
,
type
,
target_attr
,
trigger_attr
);
}
void
XNavGtk
::
bell
(
int
time
)
void
XNavGtk
::
bell
(
int
time
)
{
{
gdk_display_beep
(
gtk_widget_get_display
(
brow_widget
));
gdk_display_beep
(
gtk_widget_get_display
(
brow_widget
));
...
...
xtt/lib/xtt/gtk/xtt_xnav_gtk.h
View file @
e2e84fde
/*
/*
* Proview $Id: xtt_xnav_gtk.h,v 1.
2 2007-05-21 14:28:56
claes Exp $
* Proview $Id: xtt_xnav_gtk.h,v 1.
3 2008-04-25 11:28:54
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
...
@@ -71,6 +71,8 @@ class XNavGtk : public XNav {
...
@@ -71,6 +71,8 @@ class XNavGtk : public XNav {
int
(
*
xg_is_authorized_cb
)
(
void
*
,
unsigned
int
));
int
(
*
xg_is_authorized_cb
)
(
void
*
,
unsigned
int
));
GeCurve
*
gecurve_new
(
char
*
name
,
char
*
filename
,
GeCurveData
*
data
,
GeCurve
*
gecurve_new
(
char
*
name
,
char
*
filename
,
GeCurveData
*
data
,
int
pos_right
);
int
pos_right
);
XttFileview
*
fileview_new
(
pwr_tOid
oid
,
char
*
title
,
char
*
dir
,
char
*
pattern
,
int
type
,
char
*
target_attr
,
char
*
trigger_attr
);
void
bell
(
int
time
);
void
bell
(
int
time
);
void
get_popup_menu
(
pwr_sAttrRef
attrref
,
void
get_popup_menu
(
pwr_sAttrRef
attrref
,
xmenu_eItemType
item_type
,
xmenu_eItemType
item_type
,
...
...
xtt/lib/xtt/src/xtt_xnav.h
View file @
e2e84fde
/*
/*
* Proview $Id: xtt_xnav.h,v 1.2
1 2007-05-21 14:28:32
claes Exp $
* Proview $Id: xtt_xnav.h,v 1.2
2 2008-04-25 11:28:54
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
...
@@ -96,6 +96,7 @@ class Hist;
...
@@ -96,6 +96,7 @@ class Hist;
class
CLog
;
class
CLog
;
class
XttGe
;
class
XttGe
;
class
RtTrace
;
class
RtTrace
;
class
XttFileview
;
typedef
enum
{
typedef
enum
{
xnav_mOpen_All
=
~
0
,
xnav_mOpen_All
=
~
0
,
...
@@ -340,6 +341,8 @@ class XNav {
...
@@ -340,6 +341,8 @@ class XNav {
int
(
*
xg_is_authorized_cb
)
(
void
*
,
unsigned
int
))
{
return
0
;}
int
(
*
xg_is_authorized_cb
)
(
void
*
,
unsigned
int
))
{
return
0
;}
virtual
GeCurve
*
gecurve_new
(
char
*
name
,
char
*
filename
,
GeCurveData
*
data
,
virtual
GeCurve
*
gecurve_new
(
char
*
name
,
char
*
filename
,
GeCurveData
*
data
,
int
pos_right
)
{
return
0
;}
int
pos_right
)
{
return
0
;}
virtual
XttFileview
*
fileview_new
(
pwr_tOid
oid
,
char
*
title
,
char
*
dir
,
char
*
pattern
,
int
type
,
char
*
target_attr
,
char
*
trigger_attr
)
{
return
0
;}
virtual
void
bell
(
int
time
)
{}
virtual
void
bell
(
int
time
)
{}
void
start_trace
(
pwr_tObjid
Objid
,
char
*
object_str
);
void
start_trace
(
pwr_tObjid
Objid
,
char
*
object_str
);
...
...
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