-
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.
for #363 - good enough to start work on the native side
* have a test script * gdb verified that shoes_systray_new is called and the c strings are extracted * the icon_path will be tricky - ignore for now.
- Loading branch information
Cecil
committed
Aug 2, 2017
1 parent
c1673dd
commit 9e3ce50
Showing
4 changed files
with
108 additions
and
10 deletions.
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 |
---|---|---|
|
@@ -39,5 +39,4 @@ req/bloopsaphone | |
req/json | ||
/qtifw | ||
*.orig | ||
shoes/types/types.h | ||
cshoes |
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,10 @@ | ||
Shoes.app do | ||
stack do | ||
para "Press button and look in your systems notication area" | ||
ctr = 0; | ||
button "Notify" do | ||
ctr += 1 | ||
systray title: "Notify Test", message: "message ##{ctr}" | ||
end | ||
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
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,54 @@ | ||
#include "shoes/types/button.h" | ||
#include "shoes/types/check.h" | ||
#include "shoes/types/color.h" | ||
#include "shoes/types/download.h" | ||
#include "shoes/types/edit_box.h" | ||
#include "shoes/types/edit_line.h" | ||
#include "shoes/types/effect.h" | ||
#include "shoes/types/image.h" | ||
#include "shoes/types/list_box.h" | ||
#include "shoes/types/native.h" | ||
#include "shoes/types/pattern.h" | ||
#include "shoes/types/plot.h" | ||
#include "shoes/types/progress.h" | ||
#include "shoes/types/radio.h" | ||
#include "shoes/types/shape.h" | ||
#include "shoes/types/slider.h" | ||
#include "shoes/types/spinner.h" | ||
#include "shoes/types/svg.h" | ||
#include "shoes/types/switch.h" | ||
#include "shoes/types/systray.h" | ||
#include "shoes/types/text.h" | ||
#include "shoes/types/text_link.h" | ||
#include "shoes/types/text_view.h" | ||
#include "shoes/types/textblock.h" | ||
#include "shoes/types/timerbase.h" | ||
#include "shoes/types/video.h" | ||
|
||
#define SHOES_TYPES_INIT \ | ||
shoes_0_native_type_init(); \ | ||
shoes_button_init(); \ | ||
shoes_check_init(); \ | ||
shoes_color_init(); \ | ||
shoes_download_init(); \ | ||
shoes_edit_box_init(); \ | ||
shoes_edit_line_init(); \ | ||
shoes_effect_init(); \ | ||
shoes_image_init(); \ | ||
shoes_list_box_init(); \ | ||
shoes_pattern_init(); \ | ||
shoes_plot_init(); \ | ||
shoes_progress_init(); \ | ||
shoes_radio_init(); \ | ||
shoes_shape_init(); \ | ||
shoes_slider_init(); \ | ||
shoes_spinner_init(); \ | ||
shoes_svg_init(); \ | ||
shoes_switch_init(); \ | ||
shoes_systray_init(); \ | ||
shoes_text_init(); \ | ||
shoes_text_link_init(); \ | ||
shoes_text_view_init(); \ | ||
shoes_textblock_init(); \ | ||
shoes_timerbase_init(); \ | ||
shoes_video_init(); |