Commit Graph

74 Commits

Author SHA1 Message Date
Lioncash f452516f12 CMakeLists: Set CMAKE_AUTOUIC
Allows the build system to automatically handle invoking uic for UI
files. This is beneficial since CMake will cache runs of uic, avoiding
running it again if its not necessary (no modifications were made to the
file, etc). This also means we don't need to keep track of all the UI
files explicitly in the CMake file.
2019-08-25 18:33:41 -04:00
Lioncash f140972920 CMakeLists: Set CMAKE_AUTOMOC
This allows the build system to automatically invoke moc for us when
building the GUI. Now we don't need to manually keep track of which
files need to be wrapped, simplifying the CMake file a little bit more.
2019-08-25 18:33:41 -04:00
Lioncash 07b4f02d1d CMakeLists: Migrate off separate variables for source files where applicable
We can append the sources to the target with target_sources() instead.
2019-08-25 18:33:41 -04:00
Lioncash 771abb3390 CMakeLists: Organize GUI source listings
Alphabetizes and sorts the entries for linear readability.
2019-08-25 18:33:37 -04:00
Phillip Stephens 6850f0b2c9
Add missing include 2019-08-25 09:25:27 -07:00
Phillip Stephens c08dd97cbf
Merge pull request #19 from lioncash/key-array
Editor/KeymapEditor: Use std::array where applicable
2019-08-25 09:00:31 -07:00
Phillip Stephens db9e911a23
Merge pull request #17 from lioncash/curve
CurveEditor: Use std::array where applicable
2019-08-25 09:00:15 -07:00
Phillip Stephens 2b09d86df4
Merge pull request #16 from lioncash/const
ADSREditor: Make colors const
2019-08-25 09:00:07 -07:00
Lioncash db805075d9 Editor/KeymapEditor: Use std::array where applicable
Strongly enforces the type of the array and allows removing quite a few
hardcoded size values.
2019-08-25 08:23:23 -04:00
Lioncash b1ab67f8c2 CurveEditor: Use std::array where applicable
Allows simplifying how redo/undo data gets moved around and also
eliminates a few hardcoded magic values for sizes.
2019-08-25 06:08:15 -04:00
Lioncash 532f3a5265 ADSREditor: Use const where applicable
Enforces immutability and makes for less mental book-keeping in drawing
code.
2019-08-25 05:30:37 -04:00
Lioncash c736fdd00d ADSREditor: Make colors const
These aren't intended to be modified by anything, so these can be made
const.
2019-08-25 05:11:55 -04:00
Lioncash a016b72ea6 CMakeLists: Migrate Qt checking over to using components
Qt has since made their library usable with the components system within
CMake, so we can just use that to simplify the library finding and linking.
2019-08-25 05:02:32 -04:00
Phillip Stephens cec062797e
Merge pull request #13 from lioncash/qt
Editor: Use Qt-5 signal/slot connections where applicable
2019-08-25 01:38:49 -07:00
Lioncash 43eff31412 Editor: Use Qt 5 signal/slot connections where applicable
Migrates the UI signals and slots over to the new Qt 5 syntax. This
syntax is nicer, as the compiler can report errors at compile-time, as
opposed to the other method which would require a runtime error to
indicate any issues with the signals and slots.
2019-08-25 04:13:36 -04:00
Lioncash 67c64a2d4e General: Make use of override where applicable
Continues the use of override.
2019-08-25 01:28:36 -04:00
Jack Andersen b0e4973c64 Massive fmtlib refactor 2019-07-19 18:23:25 -10:00
Jack Andersen 2a3444400e Better CMake dependency handling 2019-06-11 16:02:52 -10:00
Jack Andersen 1b10016369 Fix some compilation warnings 2019-04-06 18:59:49 -10:00
Jack Andersen e04603bb7d Fix SoundMacro generation for SampleView 2019-03-09 23:13:17 -10:00
Jack Andersen a4b8946ee2 Ensure all ObjectIDs are unique project-wide 2019-02-28 10:34:26 -10:00
Jack Andersen 7719459ac7 Switch to lzokay library 2018-12-19 17:45:26 -10:00
Jack Andersen c1c47c51eb Update translation file 2018-12-07 20:45:52 -10:00
Jack Andersen a7a408cc66 New code style refactor 2018-12-07 19:20:09 -10:00
Jack Andersen 885a2d2154 Windows build fixes 2018-10-14 10:10:33 -10:00
Jack Andersen dbd48a39cc Convert to pragma once 2018-10-06 17:40:25 -10:00
Jack Andersen 81f0a91569 Looping SNG support; bug fixes 2018-09-08 11:34:01 -10:00
Jack Andersen 6a7f32a29d Bug fixes for MP2 extraction 2018-09-02 14:43:05 -10:00
Jack Andersen 9cc4bdefd0 Various model editing bug fixes 2018-08-30 10:34:10 -10:00
Jack Andersen 2d4fd3493e Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/amuse 2018-08-29 22:23:00 -10:00
Jack Andersen 59f99d0b99 Better unsaved project warning 2018-08-29 22:19:53 -10:00
Jack Andersen 68f0f2e769 Use asynchronous file dialogs 2018-08-29 22:16:37 -10:00
Jack Andersen 4fc5dfdc76 macOS fixes 2018-08-27 17:48:53 -10:00
Jack Andersen 33d2cc9ef1 Windows build fixes 2018-08-25 21:58:04 -10:00
Jack Andersen 19c5443e9e Bug fixes, xref search, more context menus 2018-08-25 18:57:02 -10:00
Jack Andersen 27cdee0c14 Clipboard support and various bug fixes 2018-08-24 22:34:04 -10:00
Jack Andersen cefa0ac18c Ensure all post-show widgets are constructed with a parent 2018-08-19 10:42:11 -10:00
Jack Andersen 303877655f Fixes for Windows 2018-08-19 10:05:39 -10:00
Jack Andersen 08988fe3ec Group export and various bug fixes 2018-08-18 14:28:52 -10:00
Jack Andersen fec074ad30 Studio setup window and volume LUT 2018-08-15 20:26:44 -10:00
Jack Andersen 5e89954094 More undo commands and pitch/mod coding fix 2018-08-13 22:36:02 -10:00
Jack Andersen 277e78c14b Vastly improved node insertion/deletion 2018-08-10 20:31:10 -10:00
Jack Andersen 45cb6be3c5 Implement songs import function 2018-08-09 22:11:08 -10:00
Jack Andersen d24e06f101 All editors implemented 2018-08-09 20:19:23 -10:00
Jack Andersen eff832bb8c Implement SongGroupEditor 2018-08-08 21:42:17 -10:00
Jack Andersen 32deea8341 Implement LayersEditor 2018-08-06 21:12:30 -10:00
Jack Andersen 2b45f69ff4 Add support for Keymap playback 2018-08-05 18:48:03 -10:00
Jack Andersen 409d52c120 Initial KeymapEditor implementation 2018-08-05 18:20:42 -10:00
Jack Andersen 2abed18784 Finish CurveEditor implementation 2018-08-04 12:05:01 -10:00
Jack Andersen c2a242022a Use manual Qt macros in CMake 2018-08-03 16:31:47 -10:00