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
b51ca656
Commit
b51ca656
authored
Oct 10, 2011
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rt_xtt option n added for optimized network
parent
d6c60589
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
1 deletion
+18
-1
xtt/exe/rt_xtt/src/rt_xtt_main.h
xtt/exe/rt_xtt/src/rt_xtt_main.h
+1
-0
xtt/exe/rt_xtt/src/xtt_main.cpp
xtt/exe/rt_xtt/src/xtt_main.cpp
+9
-1
xtt/lib/xtt/gtk/xtt_methodtoolbar_gtk.cpp
xtt/lib/xtt/gtk/xtt_methodtoolbar_gtk.cpp
+3
-0
xtt/lib/xtt/src/xtt_methodtoolbar.cpp
xtt/lib/xtt/src/xtt_methodtoolbar.cpp
+2
-0
xtt/lib/xtt/src/xtt_methodtoolbar.h
xtt/lib/xtt/src/xtt_methodtoolbar.h
+3
-0
No files found.
xtt/exe/rt_xtt/src/rt_xtt_main.h
View file @
b51ca656
...
...
@@ -83,6 +83,7 @@ class Xtt {
int
select_opplace
;
int
op_close_button
;
int
no_advanceduser
;
int
network_optimized
;
Xtt
(
int
*
argc
,
char
**
argv
[],
int
*
return_sts
);
virtual
~
Xtt
()
{}
...
...
xtt/exe/rt_xtt/src/xtt_main.cpp
View file @
b51ca656
...
...
@@ -531,7 +531,9 @@ void Xtt::activate_help_proview()
}
Xtt
::
Xtt
(
int
*
argc
,
char
**
argv
[],
int
*
return_sts
)
:
root_item
(
0
),
input_open
(
0
),
command_open
(
0
),
india_ok_cb
(
0
),
queid
(
qcom_cNQid
),
quiet
(
0
),
attach_audio
(
0
),
select_opplace
(
0
),
op_close_button
(
0
),
no_advanceduser
(
0
)
root_item
(
0
),
input_open
(
0
),
command_open
(
0
),
india_ok_cb
(
0
),
queid
(
qcom_cNQid
),
quiet
(
0
),
attach_audio
(
0
),
select_opplace
(
0
),
op_close_button
(
0
),
no_advanceduser
(
0
),
network_optimized
(
0
)
{
pwr_tStatus
sts
;
int
i
;
...
...
@@ -601,6 +603,9 @@ Xtt::Xtt( int *argc, char **argv[], int *return_sts) :
case
'd'
:
no_advanceduser
=
1
;
break
;
case
'n'
:
network_optimized
=
1
;
break
;
case
'l'
:
if
(
i
+
1
>=
*
argc
||
!
((
*
argv
)[
i
][
j
+
1
]
==
' '
||
(
*
argv
)[
i
][
j
+
1
]
!=
' '
))
{
...
...
@@ -675,6 +680,9 @@ Xtt::Xtt( int *argc, char **argv[], int *return_sts) :
}
}
if
(
network_optimized
)
XttMethodToolbar
::
disable
();
if
(
select_opplace
)
{
// Check if there is only one single opplace
pwr_tOName
fullname
;
...
...
xtt/lib/xtt/gtk/xtt_methodtoolbar_gtk.cpp
View file @
b51ca656
...
...
@@ -133,6 +133,9 @@ gboolean XttMethodToolbarGtk::set_sensitive_cb( void *data)
void
XttMethodToolbarGtk
::
set_current_sensitive
()
{
if
(
m_disabled
)
return
;
int
is_attr
;
pwr_sAttrRef
aref
;
xmenu_eItemType
menu_type
;
...
...
xtt/lib/xtt/src/xtt_methodtoolbar.cpp
View file @
b51ca656
...
...
@@ -40,6 +40,8 @@
#include <stdlib.h>
#include "xtt_methodtoolbar.h"
int
XttMethodToolbar
::
m_disabled
=
0
;
xtt_sMethodButton
XttMethodToolbar
::
m_data
[
XttMethodToolbar
::
m_size
]
=
{{
"Help"
,
"$Object-Help"
,
"$Object-HelpFilter"
,
"$pwr_exe/xtt_meth_help.png"
,
"Help"
},
{
"Note"
,
"$Object-Note"
,
"$Object-NoteFilter"
,
"$pwr_exe/xtt_meth_note.png"
,
"Note"
},
...
...
xtt/lib/xtt/src/xtt_methodtoolbar.h
View file @
b51ca656
...
...
@@ -74,6 +74,7 @@ class XttMethodToolbar {
public:
static
const
int
m_size
=
17
;
static
xtt_sMethodButton
m_data
[
m_size
];
static
int
m_disabled
;
XNav
*
m_xnav
;
void
*
m_parent_ctx
;
unsigned
int
m_method_mask
;
...
...
@@ -85,6 +86,8 @@ class XttMethodToolbar {
get_select_cb
(
0
)
{
strcpy
(
m_tooltip_suffix
,
tooltip_suffix
);
}
virtual
~
XttMethodToolbar
()
{}
virtual
void
set_sensitive
()
{}
static
void
disable
()
{
m_disabled
=
1
;}
};
#endif
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