Lenny Maiorani
a95d230a3e
LibGfx: Commonize functions in P*MLoader class implementations
...
Problem:
- Functions are duplicated in [PBM,PGM,PPM]Loader class
implementations. They are functionally equivalent. This does not
follow the DRY (Don't Repeat Yourself) principle.
Solution:
- Factor out the common functions into a separate file.
- Refactor common code to generic functions.
- Change `PPM_DEBUG` macro to be `PORTABLE_IMAGE_LOADER_DEBUG` to work
with all the supported types. This requires adding the image type to
the debug log messages for easier debugging.
2020-12-22 09:24:12 +01:00
..
2020-10-12 20:04:48 +02:00
2020-07-27 01:06:26 +02:00
2020-07-27 01:06:26 +02:00
2020-12-21 00:09:48 +01:00
2020-12-02 10:46:40 +01:00
2020-12-19 13:05:48 +01:00
2020-11-26 09:59:46 +01:00
2020-11-22 16:07:00 +01:00
2020-11-22 16:07:00 +01:00
2020-06-10 10:59:04 +02:00
2020-12-14 21:47:07 +01:00
2020-09-26 00:00:08 +02:00
2020-10-24 00:26:13 +02:00
2020-10-24 00:26:13 +02:00
2020-12-14 23:05:53 +01:00
2020-10-26 18:55:36 +01:00
2020-12-22 09:24:12 +01:00
2020-08-19 11:20:27 +02:00
2020-08-18 12:12:27 +02:00
2020-09-25 21:18:17 +02:00
2020-08-05 22:33:42 +02:00
2020-11-15 11:35:07 +01:00
2020-12-06 01:01:15 +01:00
2020-11-07 14:23:31 +01:00
2020-10-31 13:56:21 +01:00
2020-07-27 01:06:26 +02:00
2020-12-08 09:39:43 +01:00
2020-12-20 16:04:29 +01:00
2020-06-10 10:59:04 +02:00
2020-12-20 16:04:29 +01:00
2020-06-21 17:41:52 +02:00
2020-06-27 13:01:27 +02:00
2020-06-13 15:29:29 +02:00
2020-12-20 16:04:29 +01:00
2020-06-23 13:51:19 +02:00
2020-07-25 02:13:43 +02:00
2020-07-25 02:13:43 +02:00
2020-12-12 20:10:04 +01:00
2020-10-27 21:25:40 +01:00
2020-10-02 15:38:07 +02:00
2020-10-22 15:23:45 +02:00
2020-10-10 23:28:41 +02:00
2020-10-10 23:28:41 +02:00
2020-12-22 09:24:12 +01:00
2020-06-21 16:42:46 +02:00
2020-12-22 09:24:12 +01:00
2020-06-27 13:01:27 +02:00
2020-12-20 16:04:29 +01:00
2020-06-10 10:59:04 +02:00
2020-07-27 01:06:26 +02:00
2020-12-18 17:35:30 +01:00
2020-12-22 09:24:12 +01:00
2020-12-22 09:24:12 +01:00
2020-06-22 18:11:22 +02:00
2020-08-23 01:05:22 +02:00
2020-12-18 17:35:30 +01:00
2020-07-27 01:06:26 +02:00
2020-09-25 21:18:17 +02:00
2020-07-27 01:06:26 +02:00
2020-12-18 17:35:30 +01:00
2020-11-02 20:58:07 +01:00
2020-12-21 09:58:27 +01:00
2020-09-26 00:00:08 +02:00
2020-09-26 00:00:08 +02:00
2020-10-02 15:38:07 +02:00
2020-10-23 12:01:14 +02:00
2020-09-19 19:16:22 +02:00
2020-06-10 10:59:04 +02:00
2020-10-12 20:04:48 +02:00
2020-08-10 21:20:28 +02:00
2020-10-24 00:26:13 +02:00