From a6e9d67eb1a5f0fc30fe2e99ee8745842aa36223 Mon Sep 17 00:00:00 2001 From: John Shewchuk Date: Sun, 29 Nov 2020 14:06:38 -0500 Subject: [PATCH] Fixes #14, Fixes #13 --- src/main.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/main.rs b/src/main.rs index c2dc25f..0190321 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -#![allow(dead_code)] +// #![allow(dead_code)] use chrono::{DateTime, Duration, Local}; use std::cell::RefCell; @@ -20,10 +20,7 @@ use nwg::stretch::{ use nwg::NativeUi; -const PCT_50: D = D::Percent(0.5); -const PCT_100: D = D::Percent(1.0); const PT_10: D = D::Points(10.0); -const PT_5: D = D::Points(5.0); const PT_0: D = D::Points(0.0); const PAD_10: Rect = Rect { start: PT_10, @@ -37,12 +34,6 @@ const PAD_10_TOP_BOTTON: Rect = Rect { top: PT_10, bottom: PT_10, }; -const MARGIN: Rect = Rect { - start: PT_5, - end: PT_5, - top: PT_5, - bottom: PT_5, -}; mod graph; mod stats;