Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tray
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
tray
Commits
b825f4d2
Commit
b825f4d2
authored
Jul 02, 2023
by
kimidaisuki22
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add some information for life time.
parent
38c03c95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
tray.cpp
src/tray.cpp
+12
-0
No files found.
src/tray.cpp
View file @
b825f4d2
...
...
@@ -12,6 +12,18 @@ trays::Tray::Tray(std::string icon_path, std::vector<Menu> menus)
tray_
.
icon
=
&
icon_path
[
0
];
tray_init
(
&
tray_
);
// this will not change content of menu.
// maybe we don't have to keep resource for title for build is finished.
// for(auto &m:menus_){
// m->text_ = "FSDFSDFSDF";
// }
// this too.
// tray_.menu = nullptr;
// what we need to keep it menu* and it's callback.
// you can throw away anythings others.
}
void
trays
::
Tray
::
run
()
{
while
(
!
tray_loop
(
1
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment