@@ -262,7 +262,9 @@ class MyGame : public bbe::Game
262262 SubsystemBrainTeaser brainTeasers = SubsystemBrainTeaser(this );
263263#endif
264264
265+ #ifdef _WIN32
265266 bbe::SerializableList<ClipboardContent> clipboardContent = bbe::SerializableList<ClipboardContent>(" Clipboard.dat" , " ParanoiaConfig" , bbe::Undoable::YES);
267+ #endif
266268 bbe::SerializableObject<GeneralConfig> generalConfig = bbe::SerializableObject<GeneralConfig>(" generalConfig.dat" , " ParanoiaConfig" );
267269 bbe::SerializableList<Stopwatch> stopwatches = bbe::SerializableList<Stopwatch>(" stopwatches.dat" , " ParanoiaConfig" );
268270 bbe::SerializableList<RememberList> rememberLists = bbe::SerializableList<RememberList>(" RememberLists.dat" , " ParanoiaConfig" );
@@ -492,19 +494,19 @@ class MyGame : public bbe::Game
492494 }
493495 }
494496
497+ #ifdef _WIN32
495498 void adaClipboardKey (int32_t key)
496499 {
497500 for (size_t i = 0 ; i < clipboardContent.getLength (); i++)
498501 {
499502 if (clipboardContent[i].adaKey == key)
500503 {
501- #ifdef _WIN32
502504 setClipboard (clipboardContent[i].content );
503- #endif
504505 break ;
505506 }
506507 }
507508 }
509+ #endif
508510
509511 bbe::TimePoint getNightStart () const
510512 {
@@ -750,6 +752,7 @@ class MyGame : public bbe::Game
750752 }
751753#endif
752754
755+ #ifdef _WIN32
753756 beginMeasure (" Mouse Tracking" );
754757 {
755758 EVERY_MILLISECONDS (100 )
@@ -767,6 +770,7 @@ class MyGame : public bbe::Game
767770 }
768771 }
769772 }
773+ #endif
770774
771775#ifdef _WIN32
772776 beginMeasure (" Reading News" );
@@ -948,6 +952,7 @@ class MyGame : public bbe::Game
948952#endif
949953 }
950954
955+ #ifdef _WIN32
951956 bbe::Vector2 drawTabClipboard ()
952957 {
953958 static ClipboardContent newContent;
@@ -1014,6 +1019,7 @@ class MyGame : public bbe::Game
10141019 }
10151020 return bbe::Vector2 (1 );
10161021 }
1022+ #endif
10171023
10181024 struct WeatherEntry
10191025 {
@@ -2911,10 +2917,14 @@ class MyGame : public bbe::Game
29112917 bbe::Vector2 weatherOffset = {20 , 120 };
29122918 bbe::List<Tab> adaptiveTabs =
29132919 {
2920+ #ifdef _WIN32
29142921 Tab{" BTC" , " Bitcoin" , [&]()
29152922 { return drawBitcoin (); }},
2923+ #endif
2924+ #ifdef _WIN32
29162925 Tab{" Wthr" , " Weather" , [&]()
29172926 { return drawWeather (brush, weatherOffset); }},
2927+ #endif
29182928#ifdef _WIN32
29192929 Tab{" VNews" , " View News" , [&]()
29202930 { return drawNews (); }},
@@ -2923,10 +2933,14 @@ class MyGame : public bbe::Game
29232933
29242934 bbe::List<Tab> superAdaptiveTabs =
29252935 {
2936+ #ifdef _WIN32
29262937 Tab{" Hstry" , " History" , [&]()
29272938 { return tasks.drawTabHistoryView (); }},
2939+ #endif
2940+ #ifdef _WIN32
29282941 Tab{" Wrns" , " Warnings" , [&]()
29292942 { return drawWarnings (); }},
2943+ #endif
29302944 };
29312945
29322946 ImGui::Begin (" MainWindow" , 0 , ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoBringToFrontOnFocus | (previousTab.title == bbe::String (" Cnsl" ) ? ImGuiWindowFlags_NoScrollWithMouse : 0 ));
@@ -2937,13 +2951,19 @@ class MyGame : public bbe::Game
29372951 { return tasks.drawTabViewTasks (getWindow ()->getScale ()); }},
29382952 Tab{" ETasks" , " Edit Tasks" , [&]()
29392953 { return tasks.drawTabEditTasks (); }},
2954+ #ifdef _WIN32
29402955 Tab{" Clpbrd" , " Clipboard" , [&]()
29412956 { return drawTabClipboard (); }},
2942- // Tab{"Brn-T", "Brain-Teaser", [&]() { return brainTeasers.drawTabBrainTeasers(brush); }},
2957+ #endif
2958+ // Tab{"Brn-T", "Brain-Teaser", [&]() { return brainTeasers.drawTabBrainTeasers(brush); }},
2959+ #ifdef _WIN32
29432960 Tab{" Stpwtch" , " Stopwatch" , [&]()
29442961 { return drawTabStopwatch (); }},
2962+ #endif
2963+ #ifdef _WIN32
29452964 Tab{" MsTrck" , " Mouse Track" , [&]()
29462965 { return drawTabMouseTracking (brush); }},
2966+ #endif
29472967#ifdef _WIN32
29482968 Tab{" KyTr" , " Keyboard Track" , [&]()
29492969 { return drawTabKeyboardTracking (brush); }},
@@ -2965,16 +2985,20 @@ class MyGame : public bbe::Game
29652985 Tab{" DE" , " DALL E" , [&]()
29662986 { return drawTabDallE (brush); }},
29672987#endif
2968- // Tab{"Mic", "Microphone Test",[&]() { return drawMicrophoneTest(); }},
2969- // Tab{"Ada", "AdafruitMacroPadRP2040", [&]() { return drawAdafruitMacroPadRP2040(brush); }},
2988+ // Tab{"Mic", "Microphone Test",[&]() { return drawMicrophoneTest(); }},
2989+ // Tab{"Ada", "AdafruitMacroPadRP2040", [&]() { return drawAdafruitMacroPadRP2040(brush); }},
2990+ #ifdef _WIN32
29702991 Tab{" ENews" , " Edit News" , [&]()
29712992 { return drawNewsConfig (); }},
2993+ #endif
29722994#ifdef _WIN32
29732995 Tab{" MW" , " Mouse Walls" , [&]()
29742996 { return drawMouseWallsConfig (); }},
29752997#endif
2998+ #ifdef _WIN32
29762999 Tab{" EC" , " Empires Commander" , [&]()
29773000 { return drawEmpiresCommand (); }},
3001+ #endif
29783002 Tab{" Cnsl" , " Console" , [&]()
29793003 { return drawTabConsole (); }},
29803004 Tab{" Cnfg" , " Config" , [&]()
0 commit comments