-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
on #329 - restore old click method as default.
* build with -DNEWCLICK
- Loading branch information
Cecil
committed
Sep 30, 2017
1 parent
5c73fa3
commit afae967
Showing
2 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Shoes.app do | ||
stack do | ||
@p = para | ||
end | ||
|
||
stack(left: self.width / 4, top: 10) do | ||
button("hello") | ||
flow { check; para "check?" } | ||
edit_box | ||
edit_line | ||
list_box :items => ["one", "two", "three"] | ||
progress | ||
stack do | ||
radio; para strong("one") | ||
radio; para strong("two") | ||
end | ||
slider | ||
spinner | ||
switch | ||
end | ||
|
||
click do |btn, left, top| | ||
@p.text = "click: #{btn}, #{left}, #{top}\n" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters