Skip to content

Commit

Permalink
No longer playing the "new task" sound when manually moving task to now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brotcrunsher committed Nov 23, 2023
1 parent 005f126 commit 7161102
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Examples/ExampleMother/ExampleMother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
//TODO: GATW: kill (?) Time Wasters Processes during working hours and while still tasks are open.
//TODO: Add "fixed date" tasks. "Every month/year at this and that date". Useful e.g. for Taxes.
//TODO: Make .dll unnecessary for OpenAL when deploying .exe
//TODO: Serializer List: Move paranoia copies to its own directory.
//TODO: Bracket Arguments for AssetStore https://cmake.org/cmake/help/latest/manual/cmake-language.7.html#bracket-argument
//TODO: Github Pipeline currently broken

#define WM_SYSICON (WM_USER + 1)
#define ID_EXIT 1002
Expand Down Expand Up @@ -104,6 +107,7 @@ struct Task
}
void execMoveToNow()
{
armedToPlaySound = false;
nextExecution = bbe::TimePoint();
}

Expand Down Expand Up @@ -297,9 +301,7 @@ class MyGame : public bbe::Game
HICON getCurrentTrayIcon()
{
bbe::List<HICON>& trayIcons = getTrayIcons();
HICON retVal = trayIcons[trayIconIndex];
trayIconIndex += 7;
if (trayIconIndex >= trayIcons.getLength()) trayIconIndex = 0;
HICON retVal = trayIcons[((int)(getTimeSinceStartSeconds() * 400)) % trayIcons.getLength()];
return retVal;
}

Expand Down

0 comments on commit 7161102

Please sign in to comment.