This commit is contained in:
seven332 committed 2015-03-30 20:57:27 +08:00
1 parent b9f0a6c70c
commit 69330a2fec
20 files changed
+411 -342

No files matched your search

@@ -56,6 +56,8 @@ public abstract class Scene {
private static SceneManager sSceneManager;
private int mFitPaddingBottom = -1;
static void setSceneManager(SceneManager sceneManager) {
sSceneManager = sceneManager;
}
@@ -156,6 +158,13 @@ public abstract class Scene {
onOut();
}
void getFitPaddingBottom(int b) {
if (mFitPaddingBottom != b) {
mFitPaddingBottom = b;
onGetFitPaddingBottom(b);
}
}
public void setBackgroundColor(int bgColor) {
if (mBackgroundColor != bgColor) {
mBackgroundColor = bgColor;
@@ -211,6 +220,10 @@ public abstract class Scene {
protected void onOut() {
}
protected void onGetFitPaddingBottom(int b) {
}
public View onCreateStageBar() {
return null;
}