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
84d65d9c
Commit
84d65d9c
authored
Dec 06, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in draw function, contour line was sometimes not redrawn
parent
629fdadb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
15 deletions
+15
-15
xtt/lib/glow/src/glow_growbar.cpp
xtt/lib/glow/src/glow_growbar.cpp
+3
-3
xtt/lib/glow/src/glow_growmenu.cpp
xtt/lib/glow/src/glow_growmenu.cpp
+3
-3
xtt/lib/glow/src/glow_grownode.cpp
xtt/lib/glow/src/glow_grownode.cpp
+3
-3
xtt/lib/glow/src/glow_growtable.cpp
xtt/lib/glow/src/glow_growtable.cpp
+3
-3
xtt/lib/glow/src/glow_growtrend.cpp
xtt/lib/glow/src/glow_growtrend.cpp
+3
-3
No files found.
xtt/lib/glow/src/glow_growbar.cpp
View file @
84d65d9c
/*
/*
* Proview $Id: glow_growbar.cpp,v 1.
7 2005-09-01 14:57:53
claes Exp $
* Proview $Id: glow_growbar.cpp,v 1.
8 2005-12-06 09:13:08
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -193,9 +193,9 @@ void GrowBar::draw( int ll_x, int ll_y, int ur_x, int ur_y)
...
@@ -193,9 +193,9 @@ void GrowBar::draw( int ll_x, int ll_y, int ur_x, int ur_y)
ur_y
=
tmp
;
ur_y
=
tmp
;
}
}
if
(
x_right
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
>=
ll_x
&&
if
(
x_right
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
+
1
>=
ll_x
&&
x_left
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
<=
ur_x
&&
x_left
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
<=
ur_x
&&
y_high
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
>=
ll_y
&&
y_high
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
+
1
>=
ll_y
&&
y_low
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
<=
ur_y
)
y_low
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
<=
ur_y
)
{
{
if
(
!
inverse
)
if
(
!
inverse
)
...
...
xtt/lib/glow/src/glow_growmenu.cpp
View file @
84d65d9c
/*
/*
* Proview $Id: glow_growmenu.cpp,v 1.
6 2005-09-01 14:57:54
claes Exp $
* Proview $Id: glow_growmenu.cpp,v 1.
7 2005-12-06 09:13:08
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -76,9 +76,9 @@ void GrowMenu::draw( int ll_x, int ll_y, int ur_x, int ur_y)
...
@@ -76,9 +76,9 @@ void GrowMenu::draw( int ll_x, int ll_y, int ur_x, int ur_y)
ur_y
=
tmp
;
ur_y
=
tmp
;
}
}
if
(
x_right
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
>=
ll_x
&&
if
(
x_right
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
+
1
>=
ll_x
&&
x_left
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
<=
ur_x
&&
x_left
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
<=
ur_x
&&
y_high
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
>=
ll_y
&&
y_high
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
+
1
>=
ll_y
&&
y_low
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
<=
ur_y
)
y_low
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
<=
ur_y
)
{
{
if
(
!
inverse
)
if
(
!
inverse
)
...
...
xtt/lib/glow/src/glow_grownode.cpp
View file @
84d65d9c
/*
/*
* Proview $Id: glow_grownode.cpp,v 1.1
0 2005-09-01 14:57:54
claes Exp $
* Proview $Id: glow_grownode.cpp,v 1.1
1 2005-12-06 09:13:08
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -980,9 +980,9 @@ void GrowNode::draw( int ll_x, int ll_y, int ur_x, int ur_y)
...
@@ -980,9 +980,9 @@ void GrowNode::draw( int ll_x, int ll_y, int ur_x, int ur_y)
ur_y
=
tmp
;
ur_y
=
tmp
;
}
}
if
(
x_right
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
>=
ll_x
&&
if
(
x_right
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
+
1
>=
ll_x
&&
x_left
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
<=
ur_x
&&
x_left
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
<=
ur_x
&&
y_high
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
>=
ll_y
&&
y_high
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
+
1
>=
ll_y
&&
y_low
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
<=
ur_y
)
y_low
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
<=
ur_y
)
{
{
if
(
!
inverse
)
if
(
!
inverse
)
...
...
xtt/lib/glow/src/glow_growtable.cpp
View file @
84d65d9c
/*
/*
* Proview $Id: glow_growtable.cpp,v 1.
8 2005-09-01 14:57:54
claes Exp $
* Proview $Id: glow_growtable.cpp,v 1.
9 2005-12-06 09:13:08
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -209,9 +209,9 @@ void GrowTable::draw( int ll_x, int ll_y, int ur_x, int ur_y)
...
@@ -209,9 +209,9 @@ void GrowTable::draw( int ll_x, int ll_y, int ur_x, int ur_y)
ur_y
=
tmp
;
ur_y
=
tmp
;
}
}
if
(
x_right
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
>=
ll_x
&&
if
(
x_right
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
+
1
>=
ll_x
&&
x_left
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
<=
ur_x
&&
x_left
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
<=
ur_x
&&
y_high
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
>=
ll_y
&&
y_high
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
+
1
>=
ll_y
&&
y_low
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
<=
ur_y
)
{
y_low
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
<=
ur_y
)
{
draw
(
(
GlowTransform
*
)
NULL
,
highlight
,
hot
,
NULL
,
NULL
);
draw
(
(
GlowTransform
*
)
NULL
,
highlight
,
hot
,
NULL
,
NULL
);
}
}
...
...
xtt/lib/glow/src/glow_growtrend.cpp
View file @
84d65d9c
/*
/*
* Proview $Id: glow_growtrend.cpp,v 1.
4 2005-09-01 14:57:54
claes Exp $
* Proview $Id: glow_growtrend.cpp,v 1.
5 2005-12-06 09:13:08
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -289,9 +289,9 @@ void GrowTrend::draw( int ll_x, int ll_y, int ur_x, int ur_y)
...
@@ -289,9 +289,9 @@ void GrowTrend::draw( int ll_x, int ll_y, int ur_x, int ur_y)
ur_y
=
tmp
;
ur_y
=
tmp
;
}
}
if
(
x_right
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
>=
ll_x
&&
if
(
x_right
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
+
1
>=
ll_x
&&
x_left
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
<=
ur_x
&&
x_left
*
ctx
->
zoom_factor_x
-
ctx
->
offset_x
<=
ur_x
&&
y_high
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
>=
ll_y
&&
y_high
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
+
1
>=
ll_y
&&
y_low
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
<=
ur_y
)
y_low
*
ctx
->
zoom_factor_y
-
ctx
->
offset_y
<=
ur_y
)
{
{
if
(
!
inverse
)
if
(
!
inverse
)
...
...
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