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
88011144
Commit
88011144
authored
Oct 16, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Confirm to delete
parent
703d6df3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
xtt/lib/ge/src/ge.cpp
xtt/lib/ge/src/ge.cpp
+12
-2
xtt/lib/ge/src/ge.h
xtt/lib/ge/src/ge.h
+3
-1
No files found.
xtt/lib/ge/src/ge.cpp
View file @
88011144
/*
* Proview $Id: ge.cpp,v 1.3
1 2008-05-13 13:59:02
claes Exp $
* Proview $Id: ge.cpp,v 1.3
2 2008-10-16 08:54:31
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -711,9 +711,19 @@ void Ge::activate_preview_stop()
set_title
();
}
void
Ge
::
delete_yes_cb
(
Ge
*
gectx
)
{
gectx
->
graph
->
delete_select
();
}
void
Ge
::
delete_no_cb
(
Ge
*
gectx
)
{
}
void
Ge
::
activate_delete
()
{
graph
->
delete_select
();
open_yesnodia
(
"Do you want to delete the selected objects"
,
"Delete"
,
delete_yes_cb
,
delete_no_cb
);
}
void
Ge
::
activate_cut
()
...
...
xtt/lib/ge/src/ge.h
View file @
88011144
/*
* Proview $Id: ge.h,v 1.1
2 2008-05-13 13:59
:02 claes Exp $
* Proview $Id: ge.h,v 1.1
3 2008-10-16 08:55
:02 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -261,6 +261,8 @@ class Ge {
static
void
save_graph_and_close
(
Ge
*
gectx
,
char
*
name
);
static
void
ungroup_yes_cb
(
Ge
*
gectx
);
static
void
ungroup_no_cb
(
Ge
*
gectx
);
static
void
delete_yes_cb
(
Ge
*
gectx
);
static
void
delete_no_cb
(
Ge
*
gectx
);
static
void
recover_dynprop_yes_cb
(
Ge
*
gectx
);
static
void
recover_dynprop_no_cb
(
Ge
*
gectx
);
static
void
exit_save_cb
(
Ge
*
gectx
);
...
...
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