Commit b10bdf88 authored by Michael Natterer's avatar Michael Natterer 😴

plug-ins: prepare file-dds for GimpProcedureConfig porting

by replacing its own combo box code by GimpIntComboBox which is
trivially portable to propwidgets. Also some formatting cleanup in the
save code.
parent de03dbed
Pipeline #119516 passed with stages
in 12 minutes and 53 seconds
......@@ -98,12 +98,11 @@ DDSWriteVals dds_write_vals =
-1,
DDS_MIPMAP_FILTER_DEFAULT,
DDS_MIPMAP_WRAP_DEFAULT,
0,
0,
FALSE,
FALSE,
0.0,
0,
0,
0,
FALSE,
FALSE,
0.5
};
......
......@@ -32,20 +32,19 @@
typedef struct
{
int compression;
int mipmaps;
int savetype;
int format;
int transindex;
int mipmap_filter;
int mipmap_wrap;
int gamma_correct;
int srgb;
float gamma;
int perceptual_metric;
int show_adv_opt;
int preserve_alpha_coverage;
float alpha_test_threshold;
gint compression;
gint mipmaps;
gint savetype;
gint format;
gint transindex;
gint mipmap_filter;
gint mipmap_wrap;
gboolean gamma_correct;
gboolean srgb;
gdouble gamma;
gboolean perceptual_metric;
gboolean preserve_alpha_coverage;
gdouble alpha_test_threshold;
} DDSWriteVals;
typedef struct
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment