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
2bfa1a02
Commit
2bfa1a02
authored
Feb 04, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Java android app work
parent
808cbd64
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
25 additions
and
2 deletions
+25
-2
java/aapp/app/src/FlowCmn.java
java/aapp/app/src/FlowCmn.java
+3
-0
java/aapp/app/src/GraphCmn.java
java/aapp/app/src/GraphCmn.java
+3
-0
java/aapp/app/src/OpwinCmn.java
java/aapp/app/src/OpwinCmn.java
+3
-0
java/aapp/app/src/PlowCmn.java
java/aapp/app/src/PlowCmn.java
+3
-0
java/aapp/app/src/PlowCmnIfc.java
java/aapp/app/src/PlowCmnIfc.java
+1
-0
java/aapp/pwrxtt/src/MainActivity.java
java/aapp/pwrxtt/src/MainActivity.java
+3
-0
java/jpwr/jopg/src/GrowCmn.java
java/jpwr/jopg/src/GrowCmn.java
+3
-0
java/jpwr/jopg/src/GrowCtxIfc.java
java/jpwr/jopg/src/GrowCtxIfc.java
+1
-1
java/jpwr/jopg/src/GrowFrame.java
java/jpwr/jopg/src/GrowFrame.java
+4
-0
java/jpwr/jopg/src/GrowWindow.java
java/jpwr/jopg/src/GrowWindow.java
+1
-1
No files found.
java/aapp/app/src/FlowCmn.java
View file @
2bfa1a02
...
@@ -265,4 +265,7 @@ public class FlowCmn implements PlowCmnIfc {
...
@@ -265,4 +265,7 @@ public class FlowCmn implements PlowCmnIfc {
}
}
public
void
resetNodraw
()
{
public
void
resetNodraw
()
{
}
}
public
int
getNodraw
()
{
return
0
;
}
}
}
java/aapp/app/src/GraphCmn.java
View file @
2bfa1a02
...
@@ -139,6 +139,9 @@ public class GraphCmn implements PlowCmnIfc {
...
@@ -139,6 +139,9 @@ public class GraphCmn implements PlowCmnIfc {
public
void
resetNodraw
()
{
public
void
resetNodraw
()
{
graph
.
ctx
.
cmn
.
resetNodraw
();
graph
.
ctx
.
cmn
.
resetNodraw
();
}
}
public
int
getNodraw
()
{
return
graph
.
ctx
.
cmn
.
getNodraw
();
}
public
int
getAppMotion
()
{
public
int
getAppMotion
()
{
return
graph
.
cmn
.
getAppMotion
();
return
graph
.
cmn
.
getAppMotion
();
}
}
...
...
java/aapp/app/src/OpwinCmn.java
View file @
2bfa1a02
...
@@ -96,6 +96,9 @@ public class OpwinCmn implements PlowCmnIfc {
...
@@ -96,6 +96,9 @@ public class OpwinCmn implements PlowCmnIfc {
}
}
public
void
setNodraw
()
{}
public
void
setNodraw
()
{}
public
void
resetNodraw
()
{}
public
void
resetNodraw
()
{}
public
int
getNodraw
()
{
return
0
;
}
public
void
zoom
(
double
factor
)
{}
public
void
zoom
(
double
factor
)
{}
public
void
zoom
(
double
factor
,
double
x
,
double
y
)
{}
public
void
zoom
(
double
factor
,
double
x
,
double
y
)
{}
public
void
scroll
(
int
x
,
int
y
)
{
public
void
scroll
(
int
x
,
int
y
)
{
...
...
java/aapp/app/src/PlowCmn.java
View file @
2bfa1a02
...
@@ -209,4 +209,7 @@ public class PlowCmn implements PlowCmnIfc {
...
@@ -209,4 +209,7 @@ public class PlowCmn implements PlowCmnIfc {
}
}
public
void
resetNodraw
()
{
public
void
resetNodraw
()
{
}
}
public
int
getNodraw
()
{
return
0
;
}
}
}
java/aapp/app/src/PlowCmnIfc.java
View file @
2bfa1a02
...
@@ -20,6 +20,7 @@ public interface PlowCmnIfc {
...
@@ -20,6 +20,7 @@ public interface PlowCmnIfc {
public
void
draw
();
public
void
draw
();
public
void
setNodraw
();
public
void
setNodraw
();
public
void
resetNodraw
();
public
void
resetNodraw
();
public
int
getNodraw
();
public
void
zoom
(
double
factor
);
public
void
zoom
(
double
factor
);
public
void
zoom
(
double
factor
,
double
x
,
double
y
);
public
void
zoom
(
double
factor
,
double
x
,
double
y
);
public
void
scroll
(
int
x
,
int
y
);
public
void
scroll
(
int
x
,
int
y
);
...
...
java/aapp/pwrxtt/src/MainActivity.java
View file @
2bfa1a02
...
@@ -1592,7 +1592,10 @@ public class MainActivity extends Activity implements PlowAppl, GraphApplIfc, Gd
...
@@ -1592,7 +1592,10 @@ public class MainActivity extends Activity implements PlowAppl, GraphApplIfc, Gd
currentCmn
.
setCanvas
(
drawCanvas
);
currentCmn
.
setCanvas
(
drawCanvas
);
drawCanvas
.
drawColor
(
graph
.
cmn
.
gdraw
.
getColor
(
graph
.
cmn
.
background_color
));
drawCanvas
.
drawColor
(
graph
.
cmn
.
gdraw
.
getColor
(
graph
.
cmn
.
background_color
));
// if ( currentCmn.getNodraw() > 0)
// currentCmn.resetNodraw();
currentCmn
.
draw
();
currentCmn
.
draw
();
// currentCmn.setNodraw();
canvas
.
drawBitmap
(
bitmap
,
0
F
,
0
F
,
null
);
canvas
.
drawBitmap
(
bitmap
,
0
F
,
0
F
,
null
);
}
}
...
...
java/jpwr/jopg/src/GrowCmn.java
View file @
2bfa1a02
...
@@ -142,6 +142,9 @@ public class GrowCmn {
...
@@ -142,6 +142,9 @@ public class GrowCmn {
if
(
nodraw
>
0
)
if
(
nodraw
>
0
)
nodraw
--;
nodraw
--;
}
}
public
int
getNodraw
()
{
return
nodraw
;
}
public
void
setOwner
(
String
owner
)
{
public
void
setOwner
(
String
owner
)
{
this
.
owner
=
owner
;
this
.
owner
=
owner
;
...
...
java/jpwr/jopg/src/GrowCtxIfc.java
View file @
2bfa1a02
...
@@ -60,7 +60,7 @@ public interface GrowCtxIfc {
...
@@ -60,7 +60,7 @@ public interface GrowCtxIfc {
public
void
scroll
(
int
delta_x
,
int
delta_y
);
public
void
scroll
(
int
delta_x
,
int
delta_y
);
public
void
openVector
(
BufferedReader
reader
,
Object
cmn
,
Vector
a
);
public
void
openVector
(
BufferedReader
reader
,
Object
cmn
,
Vector
a
);
public
int
eventHandler
(
GlowEvent
e
,
double
fx
,
double
fy
);
public
int
eventHandler
(
GlowEvent
e
,
double
fx
,
double
fy
);
public
GrowCmn
getCmn
();
public
Object
getCmn
();
public
void
traceConnect
();
public
void
traceConnect
();
public
void
traceDisconnect
();
public
void
traceDisconnect
();
public
void
traceScan
();
public
void
traceScan
();
...
...
java/jpwr/jopg/src/GrowFrame.java
View file @
2bfa1a02
...
@@ -550,6 +550,10 @@ public class GrowFrame extends JFrame implements GraphApplIfc, ActionListener {
...
@@ -550,6 +550,10 @@ public class GrowFrame extends JFrame implements GraphApplIfc, ActionListener {
public
GrowFrameApplIfc
getAppl
()
{
public
GrowFrameApplIfc
getAppl
()
{
return
appl
;
return
appl
;
}
}
public
boolean
isAuthorized
(
int
access
)
{
return
graph
.
gdh
.
isAuthorized
(
access
);
}
}
}
...
...
java/jpwr/jopg/src/GrowWindow.java
View file @
2bfa1a02
...
@@ -243,7 +243,7 @@ public class GrowWindow extends GrowRect implements GrowScrollBarIfc {
...
@@ -243,7 +243,7 @@ public class GrowWindow extends GrowRect implements GrowScrollBarIfc {
if
(
ctx
==
null
)
if
(
ctx
==
null
)
return
;
return
;
windowCmn
=
ctx
.
getCmn
();
windowCmn
=
(
GrowCmn
)
ctx
.
getCmn
();
windowCmn
.
appl
=
cmn
.
appl
;
windowCmn
.
appl
=
cmn
.
appl
;
windowCmn
.
owner
=
owner
;
windowCmn
.
owner
=
owner
;
...
...
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