LonghronShen
|
95a1d0a786
|
fix build for osx
|
2021-11-09 18:07:33 +01:00 |
|
LonghronShen
|
149cabaee7
|
fix resource copy for examples
|
2021-11-09 18:07:33 +01:00 |
|
LonghronShen
|
7e4d006443
|
add osx support
|
2021-11-09 18:07:33 +01:00 |
|
LonghronShen
|
7f190194da
|
add cmake support
|
2021-11-09 18:07:33 +01:00 |
|
Niklas Voss
|
e09fdcf96e
|
Ported darwin C-code to Objective-C, separating all three implementations into individual files
|
2021-11-09 18:07:33 +01:00 |
|
intika
|
4e35f0b7d0
|
update checkbox implementation
|
2021-11-09 12:57:56 +01:00 |
|
Oscar Morante
|
2348a1a5c8
|
fix all menu items have a check box (gtk)
|
2021-11-09 12:54:17 +01:00 |
|
Andreas Opferkuch
|
2d4e78c1f2
|
Set tooltip in tray_update instead of tray_init
|
2021-11-09 12:47:46 +01:00 |
|
Andreas Opferkuch
|
4fd58d2a5c
|
Make the tooltip optional by checking for NULL and empty string
|
2021-11-09 12:47:46 +01:00 |
|
Andreas Opferkuch
|
5cc49f2f32
|
Add support for a tooltip (Windows only currently)
|
2021-11-09 12:47:46 +01:00 |
|
Rodrigo Madera
|
95b83171b7
|
Explain that we are now C++ compatible.
|
2021-11-09 12:24:49 +01:00 |
|
Rodrigo Madera
|
b0fd327043
|
Explain we now require one of the three defines before including.
|
2021-11-09 12:24:49 +01:00 |
|
Rodrigo Madera
|
2bbb122d90
|
Separate tray_menu[] from tray in README.md example.
|
2021-11-09 12:24:49 +01:00 |
|
Rodrigo Madera
|
185ec37d3e
|
Make tray_menu::text a const char* for correctness.
|
2021-11-09 12:24:49 +01:00 |
|
Rodrigo Madera
|
1180ae4db3
|
Make tray::icon a const char* for correctness.
|
2021-11-09 12:24:49 +01:00 |
|
Rodrigo Madera
|
06c28f035f
|
Produce a compile-time error if none of the three implementations were requested.
|
2021-11-09 12:24:49 +01:00 |
|
Rodrigo Madera
|
758c780259
|
Simplify defines for platform selection.
|
2021-11-09 12:24:49 +01:00 |
|
Nicolas Burrus
|
08ac69e02a
|
Only process messages coming from the tray window. This avoids potential bugs where the tray loop would steal messages from other windows.
|
2021-11-09 11:59:07 +01:00 |
|
Serge Zaitsev
|
8dd1358b92
|
Merge pull request #6 from s-h-a-d-o-w/patch-1
[win] close menu if user clicks outside
|
2018-07-31 14:47:47 +02:00 |
|
Andreas Opferkuch
|
2ae960fcfc
|
[win] close menu if user clicks outside
See also here ("Important: If you implement a context menu, it's vital that you set your window to the foreground before calling TrackPopupMenu to ensure the menu closes properly."):
https://www.codeproject.com/Articles/4768/Basic-use-of-Shell-NotifyIcon-in-Win32
|
2018-07-29 14:41:25 +02:00 |
|
Serge Zaitsev
|
89568e800c
|
Merge pull request #4 from jslegendre/master
macOS version re-written with objc-runtime
|
2018-07-23 15:09:59 +02:00 |
|
Jeremy Legendre
|
1b6e312ba5
|
Update README.md
|
2018-07-23 09:04:14 -04:00 |
|
Jeremy Legendre
|
e0381a1b2c
|
Updated Makefile
Removed '-x objective-c' as it is no longer needed
|
2018-07-22 23:06:06 -04:00 |
|
Jeremy Legendre
|
32f3bdb834
|
macOS version in obj-c runtime
|
2018-07-22 22:58:15 -04:00 |
|
Serge Zaitsev
|
3b6520f690
|
Clean up broken markdown in README.md
|
2017-08-22 21:01:11 +03:00 |
|
Serge Zaitsev
|
3802357ad8
|
Merge pull request #2 from lawsonry/master
Add platform-specific examples and update readme
|
2017-08-22 20:59:58 +03:00 |
|
Jesse Lawson
|
b4a8218c48
|
Remove platform examples.
|
2017-08-22 10:55:05 -07:00 |
|
Jesse Lawson
|
8e2ebd7a2a
|
Remove platform-specific examples (Ref PR#2); add single platform check block in example.c
|
2017-08-22 10:54:48 -07:00 |
|
Jesse Lawson
|
61943aa468
|
Delete example.c
|
2017-08-22 10:33:06 -07:00 |
|
Jesse Lawson
|
b7fec21c1f
|
Delete main.c
|
2017-08-22 10:32:55 -07:00 |
|
Jesse Lawson
|
64cb5fc36e
|
Add icon; Add platform-specific examples; Update readme with pre-requisites.
|
2017-08-22 10:29:30 -07:00 |
|
Serge A. Zaitsev
|
0c80268f4a
|
trying to override linguist language detection
|
2017-01-12 13:41:01 +02:00 |
|
Serge A. Zaitsev
|
b3cdc6e883
|
checked nested menus item, added a comment about menu null termination
|
2017-01-12 13:33:53 +02:00 |
|
Serge A. Zaitsev
|
f71d2ba1d9
|
added nested menus for macos
|
2017-01-12 13:31:17 +02:00 |
|
Serge A. Zaitsev
|
f0bdf44848
|
fixed id numbering in winapi that caused crashes on submenus
|
2017-01-12 13:15:12 +02:00 |
|
Serge A. Zaitsev
|
bf44ecfdb3
|
implemented nested submenus in winapi
|
2017-01-12 13:00:23 +02:00 |
|
Serge A. Zaitsev
|
16b67790c1
|
changed menu declaration to c99 style
|
2017-01-12 12:53:06 +02:00 |
|
Serge A. Zaitsev
|
a1e7598f44
|
moved submenu to the end of the struct to make menu desclaration look better, formatted
|
2017-01-12 12:48:32 +02:00 |
|
Serge A. Zaitsev
|
b677473cd4
|
simplified recusrive menus (gtk)
|
2017-01-12 12:44:31 +02:00 |
|
Serge Zaitsev
|
721107bfee
|
Merge pull request #1 from angelskieglazki/master
Added submenu
|
2017-01-12 12:07:23 +02:00 |
|
angelskieglazki
|
a66de7c433
|
1)deleted old struct; 2) formated code
|
2017-01-12 11:02:46 +03:00 |
|
Max
|
22f65a80a9
|
deleted old callback
|
2017-01-11 20:59:47 +03:00 |
|
Max
|
ed255d1a03
|
added recursive procedure for submenu. Used one struct for submenu: tray_menu
|
2017-01-11 20:57:36 +03:00 |
|
Max
|
26009610c1
|
create recursive for submenu
|
2017-01-11 18:27:30 +03:00 |
|
Max
|
ec1abb7520
|
some fix
|
2017-01-11 00:17:06 +03:00 |
|
angelskieglazki
|
a09222db55
|
added submenu
|
2017-01-10 17:47:28 +03:00 |
|
Max
|
19d958a831
|
some example for <Nested menus>
|
2017-01-10 00:43:05 +03:00 |
|
Serge A. Zaitsev
|
83a182dddb
|
added a note about single header implementation
|
2017-01-09 16:42:08 +02:00 |
|
Serge A. Zaitsev
|
827fd14e97
|
fixed list in readme
|
2017-01-09 16:41:36 +02:00 |
|
Serge A. Zaitsev
|
b6280ae480
|
merged
|
2017-01-09 16:40:57 +02:00 |
|