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
fdd4a7b6
Commit
fdd4a7b6
authored
May 28, 2019
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert virtual on FlowCtx
parent
1a14f7fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
xtt/lib/flow/src/flow_ctx.h
xtt/lib/flow/src/flow_ctx.h
+8
-8
No files found.
xtt/lib/flow/src/flow_ctx.h
View file @
fdd4a7b6
...
@@ -91,7 +91,7 @@ public:
...
@@ -91,7 +91,7 @@ public:
{
{
return
a
.
insert
(
element
);
return
a
.
insert
(
element
);
}
}
v
irtual
v
oid
remove
(
FlowArrayElem
*
element
)
void
remove
(
FlowArrayElem
*
element
)
{
{
a
.
remove
(
element
);
a
.
remove
(
element
);
}
}
...
@@ -255,8 +255,8 @@ public:
...
@@ -255,8 +255,8 @@ public:
int
auto_scrolling_active
;
int
auto_scrolling_active
;
void
*
auto_scrolling_id
;
void
*
auto_scrolling_id
;
void
auto_scrolling_stop
();
void
auto_scrolling_stop
();
v
irtual
v
oid
zoom
(
double
factor
);
void
zoom
(
double
factor
);
v
irtual
v
oid
zoom_absolute
(
double
factor
);
void
zoom_absolute
(
double
factor
);
void
traverse
(
int
x
,
int
y
);
void
traverse
(
int
x
,
int
y
);
void
get_borders
();
void
get_borders
();
void
set_default_conclass
(
void
*
cc
)
void
set_default_conclass
(
void
*
cc
)
...
@@ -325,9 +325,9 @@ public:
...
@@ -325,9 +325,9 @@ public:
double
ll_x
,
double
ll_y
,
double
ur_x
,
double
ur_y
,
char
*
filename
);
double
ll_x
,
double
ll_y
,
double
ur_x
,
double
ur_y
,
char
*
filename
);
int
print_pdf_region
(
int
print_pdf_region
(
double
ll_x
,
double
ll_y
,
double
ur_x
,
double
ur_y
,
char
*
filename
);
double
ll_x
,
double
ll_y
,
double
ur_x
,
double
ur_y
,
char
*
filename
);
v
irtual
v
oid
print_draw_page
(
void
*
context
,
const
char
*
title
,
int
page
,
void
print_draw_page
(
void
*
context
,
const
char
*
title
,
int
page
,
flow_eOrientation
orientation
,
double
scale
);
flow_eOrientation
orientation
,
double
scale
);
v
irtual
v
oid
print_get_pages
(
flow_eOrientation
orientation
,
double
scale
,
int
*
pages
);
void
print_get_pages
(
flow_eOrientation
orientation
,
double
scale
,
int
*
pages
);
void
print_get_orientation
(
int
page_nr
,
flow_eOrientation
*
orientation
);
void
print_get_orientation
(
int
page_nr
,
flow_eOrientation
*
orientation
);
double
draw_delta
;
double
draw_delta
;
...
@@ -433,7 +433,7 @@ public:
...
@@ -433,7 +433,7 @@ public:
scroll_data
=
data
;
scroll_data
=
data
;
scroll_callback
=
callback
;
scroll_callback
=
callback
;
}
}
v
irtual
v
oid
change_scrollbar
();
void
change_scrollbar
();
int
find_by_name
(
char
*
name
,
FlowArrayElem
**
element
)
int
find_by_name
(
char
*
name
,
FlowArrayElem
**
element
)
{
{
return
a
.
find_by_name
(
name
,
element
);
return
a
.
find_by_name
(
name
,
element
);
...
@@ -450,7 +450,7 @@ public:
...
@@ -450,7 +450,7 @@ public:
FlowArrayElem
*
object
,
flow_eDirection
dir
,
FlowArrayElem
**
next
);
FlowArrayElem
*
object
,
flow_eDirection
dir
,
FlowArrayElem
**
next
);
int
get_next_conpoint
(
FlowArrayElem
*
object
,
int
cp_num
,
flow_eDirection
dir
,
int
get_next_conpoint
(
FlowArrayElem
*
object
,
int
cp_num
,
flow_eDirection
dir
,
FlowArrayElem
**
next
,
int
*
next_cp_num
);
FlowArrayElem
**
next
,
int
*
next_cp_num
);
virtual
int
is_visible
(
FlowArrayElem
*
element
,
flow_eVisible
type
);
int
is_visible
(
FlowArrayElem
*
element
,
flow_eVisible
type
);
void
move_selected_nodes
(
double
delta_x
,
double
delta_y
,
int
grid
);
void
move_selected_nodes
(
double
delta_x
,
double
delta_y
,
int
grid
);
int
paste_stop
();
int
paste_stop
();
int
get_paste_active
()
int
get_paste_active
()
...
@@ -480,7 +480,7 @@ public:
...
@@ -480,7 +480,7 @@ public:
{
{
text_coding
=
coding
;
text_coding
=
coding
;
}
}
virtual
~
FlowCtx
();
~
FlowCtx
();
private:
private:
void
draw
(
int
ll_x
,
int
ll_y
,
int
ur_x
,
int
ur_y
);
void
draw
(
int
ll_x
,
int
ll_y
,
int
ur_x
,
int
ur_y
);
...
...
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