5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-05 00:30:55 +08:00
Commit Graph

115 Commits

Author SHA1 Message Date
Lea Anthony
e6491bcbb7
Fix bad deallocation of context menus 2021-01-11 07:03:59 +11:00
Lea Anthony
26a291dbee
[WIP] Use json payload for click message 2021-01-11 06:40:00 +11:00
Lea Anthony
8ee8c9b07c
[WIP] New menu processor 2021-01-10 21:31:13 +11:00
Lea Anthony
faa8f02b08
Bugfix for message dialog icons 2021-01-08 11:39:02 +11:00
Lea Anthony
fbee9ba240
Support UpdateContextMenus. Submenus are now *menu.Menu. Tidy up++ 2021-01-08 06:28:51 +11:00
Lea Anthony
2a69786d7e
Remove old code (woohoo!) 2021-01-07 21:36:39 +11:00
Lea Anthony
f460bf91ef
[WIP] Normalisation of context menus creation/callbacks.
TODO: UpdateContextMenu()
2021-01-07 21:34:04 +11:00
Lea Anthony
bd74d45a91
Normalisation of callbacks for menus. App menu converted to new Menus. 2021-01-06 20:50:41 +11:00
Lea Anthony
c65522f0b6
Huge refactor of menus. Start of normalisation of callbacks. 2021-01-06 17:36:59 +11:00
Lea Anthony
5f2c437136
Bugfix dealloc contextmenus. Create common.h. WIP: new menu handling 2021-01-06 12:53:11 +11:00
Lea Anthony
87e974e080
Refactor/Tidy up Ffenestri darwin 2021-01-06 11:56:01 +11:00
Lea Anthony
ad65d55abd
Misc fixes for module build 2021-01-05 13:20:44 +11:00
Lea Anthony
d2020fedda
Move generated assets to build dir. Precompile platform runtime. 2021-01-05 13:01:03 +11:00
Lea Anthony
75e852451c
Fix context menu bug 2021-01-03 09:56:45 +11:00
Lea Anthony
5ca57e446a
Extra guards during destroy 2021-01-01 12:37:16 +11:00
Lea Anthony
33a27b06a6
Add Message dialog to Kitchen Sink 2020-12-31 14:52:45 +11:00
Lea Anthony
2a93e2694d
Retina & theme aware dialog icons. Default icons + override ability 2020-12-30 22:36:23 +11:00
Lea Anthony
91fb3501c5
Support custom dialog icons. Move icons to new dir. 2020-12-30 08:27:00 +11:00
Lea Anthony
e18ba0eb81
Handle no tray icons 2020-12-28 14:49:15 +11:00
Lea Anthony
f0c932713b
Support changing tray icon at runtime
Support both icon & text in tray
2020-12-24 10:05:55 +11:00
Lea Anthony
8625e99625
Add OnThemeChange
Refactor Theme change handling
2020-12-24 07:30:20 +11:00
Lea Anthony
a0774cf71c
Support loading multiple tray icons 2020-12-23 06:55:45 +11:00
Lea Anthony
16b872352d
Support Text label tray 2020-12-22 18:08:38 +11:00
Lea Anthony
719f4b5113
Remove debug output 2020-12-21 07:19:20 +11:00
Lea Anthony
8b75d57cff
Use release instead of dealloc 2020-12-21 07:18:52 +11:00
Lea Anthony
7aea6980b5
Remove context menu debug log 2020-12-20 21:06:34 +11:00
Lea Anthony
937f0f77c2
Fix NPE 2020-12-20 21:00:32 +11:00
Lea Anthony
a8995c5377
Support context menu data
Support StartHidden
2020-12-18 15:50:25 +11:00
Lea Anthony
34ac62e4ac
Updated tray icon 2020-12-16 08:59:01 +11:00
Lea Anthony
b837b1e131
Tray menu support
Bugfix move after tray use
Refactored options to handle default tray/menu
2020-12-10 07:16:10 +11:00
Lea Anthony
11bf564b73
Preliminary Tray support 2020-12-06 21:05:21 +11:00
Lea Anthony
65bea04080
Pass radio callback through methods 2020-12-06 17:52:05 +11:00
Lea Anthony
4572b790c6
Pass checkbox callback through methods 2020-12-06 17:47:41 +11:00
Lea Anthony
f419941065
Pass menuItemMap through methods instead of global 2020-12-06 17:32:19 +11:00
Lea Anthony
a081c1e498
Support for dynamic menus.
Fixed bug in accelerator handling
2020-12-04 15:04:51 +11:00
Lea Anthony
094d8d4b75
fix bug with function key comparisons 2020-12-01 09:11:16 +11:00
Lea Anthony
0fa67c94c1
Graceful shudown - FINALLY! 2020-11-29 15:56:14 +11:00
Lea Anthony
083aee1588
Support F-keys & a couple more system keys 2020-11-29 15:24:27 +11:00
Lea Anthony
5c39467879
Support more accelerator keys 2020-11-29 14:18:53 +11:00
Lea Anthony
fb1d4c6325
Support for Accelerators! 2020-11-28 20:57:07 +11:00
Lea Anthony
dbe6000632
Support for radio menu items 2020-11-27 22:07:44 +11:00
Lea Anthony
42dc96cf6b
Support checkboxes 2020-11-25 08:10:27 +11:00
Lea Anthony
4fd3516f41
Support Hidden/Disabled. Normal->Text 2020-11-24 20:12:10 +11:00
Lea Anthony
6f218264ed
Initial support for menus 2020-11-24 19:43:25 +11:00
Lea Anthony
810b3c7440
Add default menu for mac apps 2020-11-21 21:38:18 +11:00
Lea Anthony
40fdf75042
Disable context menu in production mode 2020-11-21 20:32:55 +11:00
Lea Anthony
bc260b08b2
Better devtools handling 2020-11-21 12:40:19 +11:00
Lea Anthony
ae5c74b6cd
ResolveAlias -> ResolvesAlias 2020-11-19 07:02:29 +11:00
Lea Anthony
32ba9e78fe
Improved fullscreen support 2020-11-15 15:08:46 +11:00
Lea Anthony
b32349effe
Improve min/maximise 2020-11-15 12:00:57 +11:00