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
e6f1685c
Commit
e6f1685c
authored
Apr 26, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtt added to menu struct
parent
a21b088d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
wb/lib/wb/src/wb_c_plcpgm.cpp
wb/lib/wb/src/wb_c_plcpgm.cpp
+2
-2
wb/lib/wb/src/wb_ldh.h
wb/lib/wb/src/wb_ldh.h
+2
-1
wb/lib/wb/src/wb_wnav_menu.cpp
wb/lib/wb/src/wb_wnav_menu.cpp
+3
-1
No files found.
wb/lib/wb/src/wb_c_plcpgm.cpp
View file @
e6f1685c
/*
* Proview $Id: wb_c_plcpgm.cpp,v 1.
1 2006-03-31 14:24:34
claes Exp $
* Proview $Id: wb_c_plcpgm.cpp,v 1.
2 2006-04-26 04:45:46
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -55,7 +55,7 @@ static pwr_tStatus OpenProgram (
ldh_sMenuCall
*
ip
)
{
foe_Open
(
ip
->
EditorContext
,
ip
->
WindowContext
,
ip
->
PointedSession
,
foe_Open
(
ip
->
EditorContext
2
,
ip
->
WindowContext
,
ip
->
PointedSession
,
ip
->
Pointed
.
Objid
);
return
1
;
...
...
wb/lib/wb/src/wb_ldh.h
View file @
e6f1685c
/*
* Proview $Id: wb_ldh.h,v 1.3
4 2006-03-31 14:29:39
claes Exp $
* Proview $Id: wb_ldh.h,v 1.3
5 2006-04-26 04:46:10
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -326,6 +326,7 @@ struct ldh_s_MenuItem {
struct
ldh_s_MenuCall
{
void
*
EditorContext
;
void
*
EditorContext2
;
void
*
WindowContext
;
ldh_eMenuSet
PointedSet
;
ldh_tSession
PointedSession
;
...
...
wb/lib/wb/src/wb_wnav_menu.cpp
View file @
e6f1685c
/*
* Proview $Id: wb_wnav_menu.cpp,v 1.
9 2006-03-31 14:29:39
claes Exp $
* Proview $Id: wb_wnav_menu.cpp,v 1.
10 2006-04-26 04:47:18
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -223,6 +223,7 @@ Widget wtt_create_popup_menu( Wtt *wtt, pwr_sAttrRef aref, pwr_tCid cid,
// Popup in palette
mcp
->
EditorContext
=
(
void
*
)
wtt
->
wnav
;
mcp
->
EditorContext2
=
(
void
*
)
wtt
;
mcp
->
WindowContext
=
(
void
*
)
wtt
->
palette_form
;
mcp
->
PointedSet
=
ldh_eMenuSet_Class
;
...
...
@@ -241,6 +242,7 @@ Widget wtt_create_popup_menu( Wtt *wtt, pwr_sAttrRef aref, pwr_tCid cid,
wtt
->
set_focus_default
();
mcp
->
EditorContext
=
(
void
*
)
wtt
->
focused_wnav
;
mcp
->
EditorContext2
=
(
void
*
)
wtt
;
mcp
->
WindowContext
=
(
void
*
)
wtt
->
wnav_form
;
mcp
->
Pointed
=
aref
;
...
...
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