195 Commits (main)
 

Author SHA1 Message Date
Colin McMillen 0bc0d97122 load Photos more async'ly 10 months ago
Colin McMillen faee485b5c start to load images async 10 months ago
Colin McMillen 693269b8f5 make photo loading a separate thing from construction 10 months ago
Colin McMillen e58f717ffe rename textureIndex -> photoIndex 10 months ago
Colin McMillen 75e186c392 add new Photo class 10 months ago
Colin McMillen 8600a7e490 allow keyboard repeat for moving between thumbnails 10 months ago
Colin McMillen ee3af4fc57 change hard-coded photo dir 11 months ago
Colin McMillen b3e3d3d11a use fancy new type-inferring new() 11 months ago
Colin McMillen 22aa1e0d88 clean up photo / letterbox centering code 11 months ago
Colin McMillen 87c8b6cfd0 rm spurious whitespace 11 months ago
Colin McMillen 95397087d2 let mouse clicks change active photo 11 months ago
Colin McMillen 5194fec400 clean up TEXTURE_WHITE initialization & thumbnail geometry 11 months ago
Colin McMillen ec2989a9b0 use a Vector2i for Texture size 11 months ago
Colin McMillen 30f21943a8 rm spurious comment 11 months ago
Colin McMillen 30ac76f4c0 construct shader & WHITE_TEXTURE at Game constructor time 11 months ago
Colin McMillen 72e65b912c fix letterboxing calculation & use new UiGeometry 11 months ago
Colin McMillen b41321b0c7 move more calculations into UiGeometry 11 months ago
Colin McMillen 6812699401 pull some calculations into a new UiGeometry class 11 months ago
Colin McMillen 6670b358c0 add black border on the drawn box 11 months ago
Colin McMillen eff73b2ced make glClearColor actually black 11 months ago
Colin McMillen 5c2b831ced send Color4 to GL.Uniform4 11 months ago
Colin McMillen 5b135bc889 use Box2i instead of Rectangle 11 months ago
Colin McMillen c7bb0deb0c use Color4 constants 11 months ago
Colin McMillen cadc8e4779 Draw{Texture,Box}: allow passing in a different draw color 11 months ago
Colin McMillen dd7c3f6615 rm unused imports 11 months ago
Colin McMillen ca4ea40916 remove non-Rect versions of Draw{Texture,Box} 11 months ago
Colin McMillen cb3994a378 rm borderWidth constant, box thickness 2->3 11 months ago
Colin McMillen 4ed9ed0796 make Draw{Box,Texture} take a Rectangle 11 months ago
Colin McMillen 536abbf2b4 add DrawTexture() and DrawBox() functions 11 months ago
Colin McMillen 4e0a15e3a0 move TEXTURE_WHITE loading; rm shader.Use() from OnRenderFrame() 11 months ago
Colin McMillen a94a3938dc add blank white texture 11 months ago
Colin McMillen ab9d9a0709 remove frameCount for now 11 months ago
Colin McMillen 855c97241b add CameraInfo class; load textures from Image rather than a pathname 11 months ago
Colin McMillen 904726aba6 SetVertices() now takes in a width and height instead of right and bottom 11 months ago
Colin McMillen 0625040304 letterbox the image so that the aspect ratio is right 11 months ago
Colin McMillen a3360b1420 add min window size & use some constants for computing draw positions 11 months ago
Colin McMillen f822a07602 add Width and Height to Texture 11 months ago
Colin McMillen 712472bdfb dos2unix 11 months ago
Colin McMillen 225a1a623c render little thumbnails for each loaded image 11 months ago
Colin McMillen 6fc66aba8f use arrows to flip through loaded images 11 months ago
Colin McMillen 20f8b1e285 load multiple textures, one for every JPG in the input directory 11 months ago
Colin McMillen d3e7718b5f make a Texture object 11 months ago
Colin McMillen 5e178aae1f add to gitignore 11 months ago
Colin McMillen 950336b960 initial add. opens a window and puts an image in it 11 months ago
Colin McMillen c443adae98 add gitignore 11 months ago