mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed *nix compile
This commit is contained in:
parent
2a9bc70037
commit
aec0fda140
@ -88,9 +88,9 @@ int main(int argc, char* argv[])
|
||||
{
|
||||
App app("musikbox"); /* inits curses; needs to happen before layout creation */
|
||||
|
||||
ILayoutPtr libraryLayout(new LibraryLayout(playback, library));
|
||||
ILayoutPtr consoleLayout(new ConsoleLayout(transport, library));
|
||||
ILayoutPtr indexerLayout(new IndexerLayout(library));
|
||||
ILayoutPtr libraryLayout((ILayout *) new LibraryLayout(playback, library));
|
||||
ILayoutPtr consoleLayout((ILayout *) new ConsoleLayout(transport, library));
|
||||
ILayoutPtr indexerLayout((ILayout *) new IndexerLayout(library));
|
||||
|
||||
app.SetKeyHandler([&](const std::string& kn) {
|
||||
if (kn == "M-`" || kn == "M-~") {
|
||||
|
@ -77,7 +77,7 @@ static void hangupHandler(int signal) {
|
||||
|
||||
static void resizeHandler(int signal) {
|
||||
endwin(); /* required in *nix because? */
|
||||
resizeAt = now() + REDRAW_DEBOUNCE_MS;
|
||||
resizeAt = App::Now() + REDRAW_DEBOUNCE_MS;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user