Add some #includes
This commit is contained in:
parent
b2de303cfc
commit
eb61e6fec0
|
@ -110,7 +110,7 @@ finalcut::FString EventDialog::getMouseButtonName (const finalcut::MouseButton&
|
||||||
auto M = bool(btn_state & finalcut::MouseButton::Meta);
|
auto M = bool(btn_state & finalcut::MouseButton::Meta);
|
||||||
auto l = bool(btn_state & finalcut::MouseButton::Left);
|
auto l = bool(btn_state & finalcut::MouseButton::Left);
|
||||||
auto r = bool(btn_state & finalcut::MouseButton::Right);
|
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)
|
auto prefix = (S ? finalcut::FString("Shift+") : empty)
|
||||||
+ (C ? finalcut::FString("Control+") : empty)
|
+ (C ? finalcut::FString("Control+") : empty)
|
||||||
+ (M ? finalcut::FString("Meta+") : empty);
|
+ (M ? finalcut::FString("Meta+") : empty);
|
||||||
|
|
|
@ -200,7 +200,7 @@ void FTermLinux::init()
|
||||||
std::abort();
|
std::abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
void FTermLinux::initCharMap() const
|
void FTermLinux::initCharMap() const
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
#include "final/flog.h"
|
#include "final/flog.h"
|
||||||
#include "final/fstring.h"
|
#include "final/fstring.h"
|
||||||
|
|
|
@ -51,6 +51,8 @@
|
||||||
#error "Only <final/final.h> can be included directly."
|
#error "Only <final/final.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <unordered_map>
|
||||||
|
|
||||||
#include "final/fmenu.h"
|
#include "final/fmenu.h"
|
||||||
#include "final/fwindow.h"
|
#include "final/fwindow.h"
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
#include <unordered_map>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "final/fwidget.h"
|
#include "final/fwidget.h"
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <stack>
|
#include <stack>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "final/fdata.h"
|
#include "final/fdata.h"
|
||||||
|
|
|
@ -68,7 +68,9 @@
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
#include <memory>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
#include "final/fkeyboard.h"
|
#include "final/fkeyboard.h"
|
||||||
#include "final/fpoint.h"
|
#include "final/fpoint.h"
|
||||||
|
|
|
@ -147,7 +147,7 @@ class FTermLinux final
|
||||||
ModifierKey modifier;
|
ModifierKey modifier;
|
||||||
FKey key;
|
FKey key;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct PairHash
|
struct PairHash
|
||||||
{
|
{
|
||||||
std::size_t operator () (const Pair& pair) const
|
std::size_t operator () (const Pair& pair) const
|
||||||
|
@ -162,7 +162,7 @@ class FTermLinux final
|
||||||
return seed;
|
return seed;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct PairEqual
|
struct PairEqual
|
||||||
{
|
{
|
||||||
bool operator () (const Pair& lhs, const Pair& rhs) const
|
bool operator () (const Pair& lhs, const Pair& rhs) const
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
#include <utility>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#define null nullptr
|
#define null nullptr
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
|
|
||||||
#include <sys/time.h> // need for timeval (cygwin)
|
#include <sys/time.h> // need for timeval (cygwin)
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
Loading…
Reference in New Issue