Skip to content

Commit

Permalink
quick push
Browse files Browse the repository at this point in the history
  • Loading branch information
importly committed Mar 10, 2021
1 parent 743049e commit baa079e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ fn main() {

let mut win = window::Window::new(100, 100, 740, 580, "Mathical GUI");

let mut framer = frame::Frame::new(0, 0, 400, 200, "");

let mut graph = button::Button::new(160, 210, 80, 40, "Graph");

//graph.set_callback
// graph.set_callback(move || cli::graph::graph(functioner));
graph.set_callback(move || framer.set_label("Ho"));
graph.set_callback(move || cli::graph::graph(functioner));

win.end();
win.show();
Expand Down

0 comments on commit baa079e

Please sign in to comment.