Commit Graph

787 Commits

Author SHA1 Message Date
casey langen
935ed10de9 Fixed now playing library view focus by removing some code that never
should have been there in the first place.
2016-09-18 01:19:25 -07:00
casey langen
e7752eb3d0 Changes to support transport focus:
1) Added VolumeUp, VolumeDown, SeekForwad, SeekBack to Playback util
2) Updated GlobalHotkeys for (1)
3) Added support for UP/RIGHT to increase volume or seek forward, and DOWN/LEFT
   to decrease volume or seek back.
2016-09-17 23:04:34 -07:00
Casey Langen
bec8caf280 Preparing TransportWindow for focusing capabilities:
1) Added more to ILayout's interface, including focus mode (circular
   versus terminating), and the ability to focus by index.
2) Added pseudo-focus modes to TransportWindow so it behaves vaguely
   like a layout, but without the overhead.
3) Removed unused WindowLayout and updated build files.
4) Fixed a bug in MainLayout where focused view wasn't being properly
   Blur()'d when changing focus to the command bar
5) Fixed some FocusPrev() and FocusNext() logic in LayoutBase
2016-09-17 22:37:08 -07:00
casey langen
0f3b577838 Fixed taglib plugin build on Windows by undefing HAVE_CONFIG_H. Not sure
how it ever worked to begin with? Some old cached build file?
2016-09-16 14:37:48 -07:00
casey
18edf20cec Ensure "album artist" is properly queried in TrackList so jumping functionality works in library mode. 2016-09-16 13:45:37 -07:00
casey
c4230b169b Added library browsing by "album artist" as well as just "artist" 2016-09-14 22:10:49 -07:00
casey
cabbfb3800 Corrected musikbox project dependencies -- they was working before, by accident. Recent VS2015 updates caused breakage. 2016-09-14 22:10:49 -07:00
Casey Langen
5df01cb2ae Removed '-fpermissive' from compiler flags -- not necessary (and potentially harmful) 2016-09-13 14:52:40 -07:00
casey
2379b94473 Fixed a couple memory leaks where adapters were not being properly deleted. 2016-09-11 11:33:00 -07:00
Casey Langen
db4b97711c Version bump. 2016-09-02 19:08:57 -07:00
Casey Langen
da6c3fc393 Cleaned up first run dialog text. 2016-09-02 19:08:35 -07:00
casey
ca9a9e3489 Added bounds checking to Window and DialogOverlay so we don't get crashy if things are positioned incorrectly. 2016-09-02 16:28:34 -07:00
casey
1cea4cde2e Small correction to padding calculation when breaking lines in DialogOverlay. 2016-09-02 12:23:49 -07:00
casey
1b90bb5999 Align DialogOverlay buttons to the right. 2016-09-02 12:17:43 -07:00
casey
38912b9e63 Added text alignment options to ShortcutsWindow. 2016-09-02 11:59:15 -07:00
casey
7e60827aab Ensure the OverlayStack is cleared when the app loop finishes. 2016-09-02 10:19:26 -07:00
Casey Langen
2a819eb0ad Renamed Overlays -> OverlayStack 2016-09-02 10:09:43 -07:00
Casey Langen
77f3293dd7 Removed old, unused LayoutStack stuff. 2016-09-02 10:00:57 -07:00
casey
b320cc837d - Fixed MSVC compile
- Fixed a bug in Overlays where we were performing operations on an invalid iterator, leading to undefined behavior.
2016-09-02 09:53:39 -07:00
Casey Langen
5a0597d472 - Fixed bug in Overlays related to pushing the same layout multiple times
- Added a "welcome to musikbox!" first run dialog in SettingsLayout
- Added App::Overlays() that can be used to manage overlays from UI components
2016-09-02 09:06:08 -07:00
Casey Langen
e0f232fcad Added auto-dismiss behavior to DialogOverlay, and some additional cleanup. 2016-09-02 06:31:06 -07:00
Casey Langen
55b2f262bf - Added Overlays::Push, Overlays::Remove
- Fixed dismissing of overlay and proper redrawing in App
- New overlay frame style in Colors
2016-09-02 00:34:04 -07:00
Casey Langen
b1bbb6485c Moved ShortcutsWindow to cursespp so it can be reused. TODO: reuse in DialogOverlay. 2016-09-01 23:30:16 -07:00
Casey Langen
4240a10963 Fleshed out some of DialogOverlay -- we can set a title and a message, and have the overlay automatically resize itself based on content. Supports line breaking for the message. 2016-09-01 23:02:21 -07:00
Casey Langen
7c972bf011 Moved line breaking logic into Text.h/cpp 2016-09-01 21:57:05 -07:00
Casey Langen
650882ae01 Initial set of work to support overlays (e.g. dialogs):
- A new Overlays class that will manage a stack of overlays.
- Updated App functionality to ensure:
    * overlays are displayed over the active layout
    * overlays are able to receive key events and focus sub-controls
2016-09-01 17:01:33 -07:00
casey
723f59f517 Version bump. 2016-08-30 13:36:12 -07:00
casey
604c589b47 Fixes and optimizes cursor drawing for input windows. 2016-08-30 09:01:42 -07:00
Casey Langen
6baac20b9f Added a flag to ScrollableWindow to disallow KEY_UP and KEY_DOWN propagation when the user hits the top or bottom of a list. This is not useful in most scenarios. 2016-08-30 07:17:19 -07:00
Casey Langen
627cf13b04 Use add_dependencies to (hopefully) fix CMake parallel build (and fix homebrew compile). 2016-08-29 01:06:20 -07:00
casey langen
be87279c89 Update README.md 2016-08-28 14:59:51 -07:00
casey langen
f8356a8fd0 Update README.md 2016-08-28 13:16:09 -07:00
Casey Langen
a1f2e2f4c3 Version bump for updated install script (to support Homebrew) 2016-08-28 11:51:16 -07:00
Casey Langen
9d4691efcf Added "install" support to CMakeLists.txt. 2016-08-28 11:46:43 -07:00
Casey Langen
ad3a28d95b Show settings layout if no paths have been added to the library's indexer. 2016-08-22 21:53:11 -07:00
Casey Langen
8b7062be0b - Updated default hotkeys and related documentation
- Updated default "ESC" behavior to focus command bar
- Added version information to the console window
2016-08-22 21:30:04 -07:00
casey langen
931323e8aa Update README.md 2016-08-10 00:02:39 -07:00
casey
979b088e7f Reduced NOTIFY_INTERVAL back to something more reasonable in Indexer.cpp. 2016-07-29 21:03:04 -07:00
casey
f3d1cdfd6e Disable DB stress testing -- this shouldn't have been checked in this way. 2016-07-28 19:33:25 -07:00
Casey Langen
5a290aa6d5 A couple database optimizations that should make the indexing process faster. 2016-07-28 19:29:11 -07:00
casey
5d9c58fd16 Allow tab / shift+tab to defocus command window. 2016-07-28 19:26:39 -07:00
casey
7dc629b4db Allow "KEY_ENTER" to exit command mode. Makes it a bit easier in some contexts. 2016-07-28 19:15:28 -07:00
casey langen
52843d1b82 Update README.md 2016-07-22 23:04:30 -07:00
casey langen
00d7fdb0b2 Update README.md 2016-07-22 23:00:39 -07:00
Casey Langen
791562fc93 Removed ResourcesWindow, SystemInfo. Fixed update mechanism in ConsoleLayout/LogWindow. 2016-07-20 00:04:15 -07:00
casey
a8cb57b6a9 Fixed VS2015 compile. 2016-07-19 17:54:32 -07:00
Casey Langen
99f0293903 - Created PreferenceKeys.h/cpp for both box and core.
- Added the ability to easily disable custom colors in settings
2016-07-19 17:08:10 -07:00
casey
1f94e4a8b4 One more min-size adjustment. 2016-07-18 01:54:13 -07:00
casey
d92db51cb7 Tweaked minimum size to be smaller. 2016-07-18 01:46:23 -07:00
casey
c1b10a8d7c Disable window drawing if the terminal is resized too small. 2016-07-18 01:34:06 -07:00