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
fc9994d7
Commit
fc9994d7
authored
Mar 27, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Java pwg fix for color tone/fill color dynamics
parent
190b5e93
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
+13
-3
java/jpwr/jop/src/JopSessionRep.java
java/jpwr/jop/src/JopSessionRep.java
+0
-1
java/jpwr/jopg/src/Graph.java
java/jpwr/jopg/src/Graph.java
+0
-1
java/jpwr/jopg/src/GrowFrame.java
java/jpwr/jopg/src/GrowFrame.java
+0
-1
java/jpwr/jopg/src/GrowNode.java
java/jpwr/jopg/src/GrowNode.java
+13
-0
No files found.
java/jpwr/jop/src/JopSessionRep.java
View file @
fc9994d7
...
@@ -296,7 +296,6 @@ public class JopSessionRep implements JopSessionIfc {
...
@@ -296,7 +296,6 @@ public class JopSessionRep implements JopSessionIfc {
}
}
}
}
}
}
System
.
out
.
println
(
"openGraphFrame end"
);
}
}
public
void
openCrrFrame
(
String
name
)
{
public
void
openCrrFrame
(
String
name
)
{
...
...
java/jpwr/jopg/src/Graph.java
View file @
fc9994d7
...
@@ -125,7 +125,6 @@ public class Graph implements GraphIfc, GrowApplIfc {
...
@@ -125,7 +125,6 @@ public class Graph implements GraphIfc, GrowApplIfc {
}
}
}
}
}
}
System
.
out
.
println
(
"before connect total_dyn_type1 : "
+
dyn
.
total_dyn_type1
);
dyn
.
connect
(
object
);
dyn
.
connect
(
object
);
...
...
java/jpwr/jopg/src/GrowFrame.java
View file @
fc9994d7
...
@@ -230,7 +230,6 @@ public class GrowFrame extends JFrame implements GraphApplIfc, ActionListener {
...
@@ -230,7 +230,6 @@ public class GrowFrame extends JFrame implements GraphApplIfc, ActionListener {
graph
.
setOwner
(
instance
);
graph
.
setOwner
(
instance
);
graph
.
open
(
reader
);
graph
.
open
(
reader
);
System
.
out
.
println
(
"After open "
+
defaultWidth
+
" "
+
defaultHeight
);
if
(
defaultWidth
==
0
||
defaultHeight
==
0
)
if
(
defaultWidth
==
0
||
defaultHeight
==
0
)
setSize
();
setSize
();
...
...
java/jpwr/jopg/src/GrowNode.java
View file @
fc9994d7
...
@@ -587,13 +587,26 @@ public class GrowNode extends GlowArrayElem implements GlowColorNode {
...
@@ -587,13 +587,26 @@ public class GrowNode extends GlowArrayElem implements GlowColorNode {
color_tone
=
original_color_tone
;
color_tone
=
original_color_tone
;
}
}
public
void
setFillColor
(
int
fill_drawtype
)
{
public
void
setFillColor
(
int
fill_drawtype
)
{
this
.
fill_drawtype
=
fill_drawtype
;
this
.
fill_drawtype
=
fill_drawtype
;
color_tone
=
Glow
.
eDrawTone_No
;
color_shift
=
0
;
color_lightness
=
0
;
color_intensity
=
0
;
}
}
public
void
resetFillColor
()
{
public
void
resetFillColor
()
{
fill_drawtype
=
original_fill_drawtype
;
fill_drawtype
=
original_fill_drawtype
;
color_tone
=
original_color_tone
;
color_shift
=
original_color_shift
;
color_lightness
=
original_color_lightness
;
color_intensity
=
original_color_intensity
;
}
}
public
void
setBorderColor
(
int
draw_type
)
{
public
void
setBorderColor
(
int
draw_type
)
{
this
.
draw_type
=
draw_type
;
this
.
draw_type
=
draw_type
;
color_tone
=
Glow
.
eDrawTone_No
;
color_shift
=
0
;
color_lightness
=
0
;
color_intensity
=
0
;
}
}
public
void
resetBorderColor
()
{
public
void
resetBorderColor
()
{
draw_type
=
original_border_drawtype
;
draw_type
=
original_border_drawtype
;
...
...
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