summaryrefslogtreecommitdiffstats
path: root/src/demo
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-03-30 13:25:54 +0300
committerRami Santina <[email protected]>2011-03-30 13:25:54 +0300
commit2d7cc275ccea2e11deeaf02f63c7984a6c09bf4f (patch)
treeaae869046fc5c98d17831a2709ed93c48a0c57db /src/demo
parente952e7dbac7a6b746b8465aa63423f1aa138ca27 (diff)
Added inclass comments to OutlineShape
Diffstat (limited to 'src/demo')
-rw-r--r--src/demo/GPUTextGLListenerBase01.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demo/GPUTextGLListenerBase01.java b/src/demo/GPUTextGLListenerBase01.java
index 238a733ce..0510d58b8 100644
--- a/src/demo/GPUTextGLListenerBase01.java
+++ b/src/demo/GPUTextGLListenerBase01.java
@@ -289,15 +289,15 @@ public abstract class GPUTextGLListenerBase01 implements GLEventListener {
else if(arg0.getKeyCode() == KeyEvent.VK_9){
rotate(-1);
}
- else if(arg0.getKeyChar() == 's') {
+ else if(arg0.getKeyCode() == KeyEvent.VK_S) {
drawFontSet = !drawFontSet;
System.err.println("Draw font set: "+drawFontSet);
}
- else if(arg0.getKeyChar() == 'f'){
+ else if(arg0.getKeyCode() == KeyEvent.VK_F){
drawFPS = !drawFPS;
System.err.println("Draw FPS: "+drawFPS);
}
- else if(arg0.getKeyChar() == 'v') {
+ else if(arg0.getKeyCode() == KeyEvent.VK_V) {
if(null != autoDrawable) {
autoDrawable.invoke(false, new GLRunnable() {
public void run(GLAutoDrawable drawable) {
@@ -314,7 +314,7 @@ public abstract class GPUTextGLListenerBase01 implements GLEventListener {
});
}
}
- else if(arg0.getKeyChar() == ' ') {
+ else if(arg0.getKeyCode() == KeyEvent.VK_SPACE) {
nextFontSet();
}
}