flags for flipping (unimplemented)
This commit is contained in:
parent
e066025836
commit
970eb402a2
2 changed files with 25 additions and 14 deletions
|
@ -125,6 +125,8 @@ const CSIZE: f32 = 24.;
|
|||
const OUTLINE: (f32, Color32) = (3., Color32::GRAY);
|
||||
fn rule_editor(ui: &mut Ui, rule: &mut Rule, cells: &[CellData]) {
|
||||
ui.checkbox(&mut rule.enabled, "enable rule");
|
||||
ui.checkbox(&mut rule.flip_h, "flip H");
|
||||
ui.checkbox(&mut rule.flip_v, "flip V");
|
||||
|
||||
let cells_y = rule.from.height();
|
||||
let cells_x = rule.from.width();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue