Skip to content

Commit

Permalink
better names
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawrence D'Oliveiro committed Aug 12, 2013
1 parent 258b8c8 commit dc35312
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion AndroidManifest.xml
Expand Up @@ -13,7 +13,7 @@
android:label="@string/app_name"
>
<activity
android:name="OnScreen"
android:name="Main"
android:label="@string/app_name"
>
<intent-filter>
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions src/OnScreen.java → src/Main.java
@@ -1,6 +1,6 @@
package nz.gen.geek_central.gles2_sample;
/*
Direct onscreen display of sample animation.
GLES 2.0 sample--mainline.
Copyright 2012, 2013 by Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
Expand All @@ -17,7 +17,7 @@
the License.
*/

public class OnScreen extends android.app.Activity
public class Main extends android.app.Activity
{
OnScreenView TheOnScreenView;

Expand Down Expand Up @@ -87,7 +87,7 @@ class AnimationsDialog
)
{
super.onCreate(ToRestore);
setContentView(R.layout.onscreen);
setContentView(R.layout.main);
TheOnScreenView = (OnScreenView)findViewById(R.id.main);
TheOnScreenView.StatsView = (android.widget.TextView)findViewById(R.id.stats);
TheOnScreenView.setOnClickListener
Expand All @@ -99,7 +99,7 @@ class AnimationsDialog
android.view.View TheView
)
{
new AnimationsDialog(OnScreen.this).show();
new AnimationsDialog(Main.this).show();
} /*onClick*/
} /*OnClickListener*/
);
Expand All @@ -119,4 +119,4 @@ public void onResume()
TheOnScreenView.onResume();
} /*onResume*/

} /*OnScreen*/;
} /*Main*/;

0 comments on commit dc35312

Please sign in to comment.