Commit graph

123 commits

Author SHA1 Message Date
Struma
7456b5ee67 remove unnecessary buffer allocation 2021-05-03 19:33:24 -04:00
Struma
52dcda6d15 Fix blitting, add optional position arg to Bitmap.snap_to_bitmap 2021-05-03 19:09:36 -04:00
Struma
2b316a933d Edit warning visibility 2021-05-03 15:48:16 -04:00
Struma
4cd35cc3b6 Correctly set bitmap texture for one-frame GIFs 2021-05-03 15:33:55 -04:00
Struma
4ffc89cc7b Round current bitmap frame calculation 2021-05-03 15:15:16 -04:00
Struma
8a3470edc7 Create static bitmap from GIF if it only contains one frame 2021-05-03 13:57:10 -04:00
Struma
664bfb41ba Bitmap.snap_to_bitmap && Bitmap.each_frame 2021-05-03 11:51:39 -04:00
Struma
d6f69db7c9 Limit destination position of Bitmap.add_frame 2021-05-03 10:36:06 -04:00
Struma
31c8dc8367 Raise Ruby errors in Bitmap animation functions 2021-05-03 10:26:45 -04:00
Struma
2fc6731a67 Prevent removing frames from a static bitmap 2021-05-03 02:33:06 -04:00
Struma
09e68345f4 Copy all frames of animated bitmaps 2021-05-03 02:18:03 -04:00
Struma
66de7c1d14 Allow replacing raw data on animated bitmaps 2021-05-02 23:50:16 -04:00
Struma
9c603b329e Change the "your computer belongs in a museum" OpenGL error 2021-05-02 23:19:06 -04:00
Struma
5c2d0ac167 Decode GIF frames within Bitmap constructor 2021-05-02 23:05:36 -04:00
Struma
380bd1d249 Add Bitmap.next_frame + Bitmap.previous_frame 2021-05-02 21:53:55 -04:00
Struma
171147d4d0 Update Bitmap.playing automatically if bitmap isn't looping 2021-05-02 21:17:16 -04:00
Struma
1219fb4ab9 Support manual animation of Bitmaps 2021-05-02 20:36:28 -04:00
Struma
2c188f944a Fix setting animated bitmap FPS from Ruby 2021-05-02 13:24:46 -04:00
Struma
f98b91ff9a Support animated GIFs 2021-05-01 21:50:39 -04:00
Struma
f0a52d34ee Support saving bitmaps to JPEG and PNG format 2021-04-28 22:52:21 -04:00
Struma
5cc49efe2c "throw new Exception" -> "throw Exception"
I don't know why I had it this way tbh
2021-01-02 21:41:11 -05:00
Struma
0e278c3e5c Drop ObjFW as a dependency 2020-11-22 03:48:03 -05:00
Struma
f98b1e031f Reorganize src dir 2020-11-21 01:36:24 -05:00
Renamed from src/bitmap.cpp (Browse further)