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
9808c8ef
Commit
9808c8ef
authored
Feb 15, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix for display warranty
parent
2502dc50
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
4 deletions
+20
-4
src/lib/co/src/co_wow.c
src/lib/co/src/co_wow.c
+14
-1
src/lib/co/src/co_wow.h
src/lib/co/src/co_wow.h
+2
-1
xtt/exe/rt_xtt/src/rt_xtt.cpp
xtt/exe/rt_xtt/src/rt_xtt.cpp
+4
-2
No files found.
src/lib/co/src/co_wow.c
View file @
9808c8ef
/**
* Proview $Id: co_wow.c,v 1.
9 2005-09-20 13:24:27
claes Exp $
* Proview $Id: co_wow.c,v 1.
10 2006-02-15 14:19:18
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -750,6 +750,15 @@ void warranty_help_cb( void *ctx, void *data)
wow_DisplayLicense
(
(
Widget
)
data
);
}
int
wow_HideWarranty
()
{
static
int
hide
=
0
;
int
prev
=
hide
;
hide
=
1
;
return
prev
;
}
int
wow_DisplayWarranty
(
Widget
father
)
{
char
text
[
4000
];
...
...
@@ -765,6 +774,10 @@ int wow_DisplayWarranty( Widget father)
int
i
;
char
fname
[
256
];
// Display only once
if
(
wow_HideWarranty
())
return
1
;
sprintf
(
fname
,
"$pwr_exe/%s/acceptlicense.txt"
,
lng_get_language_str
());
dcli_translate_filename
(
fname
,
fname
);
...
...
src/lib/co/src/co_wow.h
View file @
9808c8ef
/**
* Proview $Id: co_wow.h,v 1.
8 2005-09-20 13:24:47
claes Exp $
* Proview $Id: co_wow.h,v 1.
9 2006-02-15 14:19:18
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -95,6 +95,7 @@ void wow_GetLabel( Widget w, char *label);
void
wow_GetCSText
(
XmString
ar_value
,
char
*
t_buffer
);
int
wow_GetSelection
(
Widget
w
,
char
*
str
,
int
size
,
Atom
atom
);
void
wow_GetAtoms
(
Widget
w
,
Atom
*
graph_atom
,
Atom
*
objid_atom
,
Atom
*
attrref_atom
);
int
wow_HideWarranty
();
int
wow_DisplayWarranty
(
Widget
father
);
void
wow_DisplayLicense
(
Widget
father
);
...
...
xtt/exe/rt_xtt/src/rt_xtt.cpp
View file @
9808c8ef
/*
* Proview $Id: rt_xtt.cpp,v 1.2
2 2006-02-03 07:34:30
claes Exp $
* Proview $Id: rt_xtt.cpp,v 1.2
3 2006-02-15 14:19:18
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -932,8 +932,10 @@ Xtt::Xtt( int argc, char *argv[], int *return_sts) :
for
(
i
=
1
;
i
<
argc
;
i
++
)
{
if
(
strcmp
(
argv
[
i
],
"-l"
)
==
0
&&
i
+
1
<
argc
)
Lng
::
set
(
argv
[
i
+
1
]);
else
if
(
strcmp
(
argv
[
i
],
"-q"
)
==
0
)
else
if
(
strcmp
(
argv
[
i
],
"-q"
)
==
0
)
{
wow_HideWarranty
();
quiet
=
1
;
}
else
if
(
strcmp
(
argv
[
i
],
"-a"
)
==
0
)
attach_audio
=
1
;
else
if
(
strcmp
(
argv
[
i
],
"-u"
)
==
0
&&
i
+
1
<
argc
)
{
...
...
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