Add some #includes

This commit is contained in:
Markus Gans 2020-12-31 23:22:22 +01:00
parent b2de303cfc
commit eb61e6fec0
10 changed files with 13 additions and 4 deletions

View File

@ -110,7 +110,7 @@ finalcut::FString EventDialog::getMouseButtonName (const finalcut::MouseButton&
auto M = bool(btn_state & finalcut::MouseButton::Meta);
auto l = bool(btn_state & finalcut::MouseButton::Left);
auto r = bool(btn_state & finalcut::MouseButton::Right);
auto m = bool(btn_state & finalcut::MouseButton::Middle);
auto m = bool(btn_state & finalcut::MouseButton::Middle);
auto prefix = (S ? finalcut::FString("Shift+") : empty)
+ (C ? finalcut::FString("Control+") : empty)
+ (M ? finalcut::FString("Meta+") : empty);

View File

@ -200,7 +200,7 @@ void FTermLinux::init()
std::abort();
}
}
//----------------------------------------------------------------------
void FTermLinux::initCharMap() const
{

View File

@ -36,6 +36,7 @@
#endif
#include <iostream>
#include <memory>
#include "final/flog.h"
#include "final/fstring.h"

View File

@ -51,6 +51,8 @@
#error "Only <final/final.h> can be included directly."
#endif
#include <unordered_map>
#include "final/fmenu.h"
#include "final/fwindow.h"

View File

@ -48,6 +48,7 @@
#endif
#include <limits>
#include <unordered_map>
#include <utility>
#include "final/fwidget.h"

View File

@ -52,6 +52,7 @@
#include <memory>
#include <stack>
#include <unordered_map>
#include <utility>
#include <vector>
#include "final/fdata.h"

View File

@ -68,7 +68,9 @@
#include <cstddef>
#include <functional>
#include <map>
#include <memory>
#include <queue>
#include <utility>
#include "final/fkeyboard.h"
#include "final/fpoint.h"

View File

@ -147,7 +147,7 @@ class FTermLinux final
ModifierKey modifier;
FKey key;
};
struct PairHash
{
std::size_t operator () (const Pair& pair) const
@ -162,7 +162,7 @@ class FTermLinux final
return seed;
}
};
struct PairEqual
{
bool operator () (const Pair& lhs, const Pair& rhs) const

View File

@ -38,6 +38,7 @@
#include <limits>
#include <memory>
#include <unordered_map>
#include <utility>
#include <string>
#define null nullptr

View File

@ -50,6 +50,7 @@
#include <sys/time.h> // need for timeval (cygwin)
#include <memory>
#include <string>
#include <utility>
#include <vector>