*/}}
Explorar o código

layout for mobile

YimingWu hai 2 días
pai
achega
66119a1d2a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      ourpaint.c

+ 4 - 0
ourpaint.c

@@ -64,6 +64,9 @@ int main(int argc, char *argv[]){
         laWindow* w = laDesignWindow(-1,-1,35*LA_RH,25*LA_RH);
         laLayout* l = laDesignLayout(w, "Our Paint");
         laBlock* b = l->FirstBlock;
+#ifdef LAGUI_ANDROID
+        laCreatePanel(b, "panel_canvas");
+#else
         laSplitBlockHorizon(b,0.7);
         laCreatePanel(b->B1, "panel_canvas");
         laBlock* br=b->B2;
@@ -74,6 +77,7 @@ int main(int argc, char *argv[]){
         laCreatePanel(br->B2, "panel_notes");
         laCreatePanel(br->B2, "panel_layers");
         laStartWindow(w);
+#endif
     }
     our_EnableSplashPanel();
     laMainLoop();