Mercurial > hg > dmlib
comparison tools/libgfx.h @ 1545:3b613fcbf3ff
Improve how format read/write capabilities are marked and shown.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 12 May 2018 21:01:46 +0300 |
parents | 48823642c4fb |
children | c29adf5ce240 |
comparison
equal
deleted
inserted
replaced
1544:48823642c4fb | 1545:3b613fcbf3ff |
---|---|
52 DM_PROBE_SCORE_FALSE = 0, | 52 DM_PROBE_SCORE_FALSE = 0, |
53 DM_PROBE_SCORE_MAYBE = 250, | 53 DM_PROBE_SCORE_MAYBE = 250, |
54 DM_PROBE_SCORE_AVG = 500, | 54 DM_PROBE_SCORE_AVG = 500, |
55 DM_PROBE_SCORE_GOOD = 750, | 55 DM_PROBE_SCORE_GOOD = 750, |
56 DM_PROBE_SCORE_MAX = 1000, | 56 DM_PROBE_SCORE_MAX = 1000, |
57 }; | |
58 | |
59 | |
60 // Flags for readability/writeability of formats | |
61 enum | |
62 { | |
63 DM_FMT_WR = 0x0001, | |
64 DM_FMT_RD = 0x0002, | |
65 DM_FMT_RDWR = (DM_FMT_RD | DM_FMT_WR), | |
57 }; | 66 }; |
58 | 67 |
59 | 68 |
60 // Bitmapped image struct | 69 // Bitmapped image struct |
61 typedef struct | 70 typedef struct |