Explorar el Código

Make the window height twice as big as the text height

Looks better in general, and accomodates Penger in case of -DPENGER
rexim hace 1 año
padre
commit
c2b0b1bf44
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      main.c

+ 2 - 1
main.c

@@ -258,7 +258,8 @@ int main(int argc, char **argv)
     SDL_Window *window =
         secp(SDL_CreateWindow(
                  "sowon",
-                 0, 0, TEXT_WIDTH, TEXT_HEIGHT,
+                 0, 0,
+                 TEXT_WIDTH, TEXT_HEIGHT*2,
                  SDL_WINDOW_RESIZABLE));
 
     SDL_Renderer *renderer =