xbin.rs - icy_draw - icy_draw is the successor to mystic draw. fork / mirror
 (HTM) git clone https://git.drkhsh.at/icy_draw.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       xbin.rs (440B)
       ---
            1 use eframe::egui::{self, Ui};
            2 use i18n_embed_fl::fl;
            3 use icy_engine::SaveOptions;
            4 
            5 pub fn create_settings_page(ui: &mut Ui, options: &mut SaveOptions) {
            6     ui.vertical(|ui| {
            7         ui.checkbox(&mut options.compress, fl!(crate::LANGUAGE_LOADER, "export-compression-label"));
            8         ui.add(egui::Checkbox::new(
            9             &mut options.save_sauce,
           10             fl!(crate::LANGUAGE_LOADER, "export-save-sauce-label"),
           11         ));
           12     });
           13 }