Zeno Rogue
0137175d46
fixed linebreaks in Chinese, also do not break close to ( )
2024-11-18 09:59:09 +01:00
Zeno Rogue
a25a476835
vpush2 with extra parameter
2024-08-21 19:22:49 +02:00
Zeno Rogue
75a73f40b3
try harder to fit editor menu on the screen
2024-07-27 21:05:10 +02:00
Zeno Rogue
063dc65e3c
dialog:: displays() does nothing if just_refreshing, for performance
2024-07-27 18:23:01 +02:00
Zeno Rogue
6a474da099
fixup addItem_mouse
2024-06-29 10:02:50 +02:00
Zeno Rogue
8a45b7e1e7
correct text handling in SDL2
2024-06-28 12:20:26 +02:00
Zeno Rogue
81131aedb9
refactored draw_side_shade
2024-06-27 22:22:06 +02:00
Zeno Rogue
6728484cf7
dialog items now use key_type for key, not int -- this fixes the bugs where char was used, causing search to fail
2024-06-18 01:04:48 +02:00
Zeno Rogue
43d1fd3db8
known keynames for all F1-F10
2024-05-28 15:15:41 +02:00
Zeno Rogue
8db11dc683
bool dialogs
2024-05-27 15:21:31 +02:00
Zeno Rogue
f445d02707
specialized exceptions for param errors
2024-05-27 02:18:22 +02:00
Zeno Rogue
1c74774bfa
refactored the parameter (saver/setting) system
2024-05-26 20:22:29 +02:00
Zeno Rogue
9bc978ce16
added some CAP_ guards so Android compiles
2023-12-30 08:10:34 +01:00
Zeno Rogue
062fb577b2
fixed a bug with clicking lists in some dialogs
2023-12-12 20:09:19 +01:00
Arthur O'Dwyer
62629f3e70
Change static const
to static constexpr
wherever possible
...
Since we require C++11, most of these consts can be constexpr.
Two `static const ld` remain non-compile-time-evaluable because
they depend on the runtime `log` function. One `static const cld`
remains non-compile-time because `std::complex<T>` doesn't become
constexpr until C++14.
2023-08-23 09:47:28 -08:00
Zeno Rogue
fd1be4beb8
Merge pull request #341 from Quuxplusone/override
...
Consistently apply `override` (and not `virtual`) to overriding virtuals
2023-08-22 19:56:17 +02:00
Arthur O'Dwyer
28880f2985
Consistently apply override
(and not virtual
) to overriding virtuals
...
Three functions were missing `override`, triggering `-Wsuggest-override` on Clang.
Many functions had redundant `virtual ... override`.
2023-08-21 10:23:48 -07:00
Arthur O'Dwyer
ced3bbcad4
Qualify calls to format
...
C++20 introduces `std::format` and we `using namespace std`,
so some of these would be ambiguous in C++20.
2023-08-21 10:18:44 -07:00
Zeno Rogue
01748ac77b
more elegant matrix display
2023-08-15 17:25:00 +02:00
Zeno Rogue
610d64d22a
dialog:: more intuitive rotation hotkeys
2023-08-15 17:08:41 +02:00
Zeno Rogue
a5ada45164
dialog:: isitem now knows diMatrixItems
2023-08-15 17:08:25 +02:00
Zeno Rogue
b9eac3f6ae
fixed addInfo to addHelp in matrix_dialog
2023-08-15 15:39:00 +02:00
Zeno Rogue
53324a9eeb
dialog:: made editNumber return number_dialog
2023-08-15 10:54:36 +02:00
Zeno Rogue
3e1228b7c7
dialog:: in 2D matrix dialog, show degree unit, and do not negate
2023-08-14 17:44:22 +02:00
Zeno Rogue
dff8db44b0
rotate immediately when editing models::rotation
2023-08-14 17:42:15 +02:00
Zeno Rogue
3eb2813667
extra_options and reaction now work in matrix dialog
2023-08-14 16:59:46 +02:00
Zeno Rogue
ea193d23b1
dialog:: made dialog matrix more intuitive for anims::movement_angle
2023-08-14 10:52:17 +02:00
Zeno Rogue
9ab2b2bbd8
dialog:: mouse control in matrix dialog
2023-08-14 04:50:13 +02:00
Zeno Rogue
3a3317d0be
dialog:: fixed crash in editingDetail
2023-08-14 04:37:01 +02:00
Zeno Rogue
e666faba31
dialog:: new options for matrix dialog
2023-08-14 04:36:39 +02:00
Zeno Rogue
392d3c075f
dialog:: fixed 3D matrix viz
2023-08-14 04:36:23 +02:00
Zeno Rogue
c9a9a38188
dialog:: cleaned string dialog
2023-08-14 04:36:14 +02:00
Zeno Rogue
5cc7a4e527
matrix editor and saver are now transmatrix, not trans23
2023-08-10 14:38:59 +02:00
Zeno Rogue
8a124f6890
dialog:: removed debug from visualize_matrix
2023-08-09 14:23:10 +02:00
Zeno Rogue
4668321e4e
dialog:: more fixes
2023-08-09 14:22:32 +02:00
Zeno Rogue
b6f13b953b
more OOP-style standard dialogs
2023-08-09 14:01:24 +02:00
Zeno Rogue
4d4874f7ac
dialog:: visualize matrix items
2023-08-09 09:07:53 +02:00
Zeno Rogue
234a691ab6
more parameter improvements and fixes
2023-08-09 01:11:44 +02:00
Zeno Rogue
5057f10358
improved parameter animation
2023-08-09 01:01:32 +02:00
Zeno Rogue
a13ba9bdbe
param_matrix
2023-08-08 17:20:39 +02:00
Zeno Rogue
502e2c6102
fixed a crash when no last
2023-01-04 23:24:52 +01:00
Zeno Rogue
8ca0ef23fa
dialog:: fixed coloring of info items
2022-12-18 00:29:28 +01:00
Zeno Rogue
16a2aa0f4b
removed debug from full-screen dialog display
2022-12-15 23:00:40 +01:00
Zeno Rogue
2524fb76d0
dialog:: added constants for all colors used in dialogs (but no settings in menu yet); refactored a bit, fixing minor inconsistencies
2022-12-04 15:24:42 +01:00
Zeno Rogue
0770a11164
dialog::first_list_fake_key constant
2022-12-04 14:46:50 +01:00
Zeno Rogue
06523e063e
used cyclefix and raddif in more places; (c)spin90, (c)spin180 and spin180 functions; rephrased M_PI in terms of TAU and x._deg when applicable
2022-11-13 16:22:55 +01:00
Zeno Rogue
320aac6b9a
dialog:: larger file dialog, automatically set position
2022-11-04 23:15:00 +01:00
Zeno Rogue
2bc0de05a6
dialog:: search in file dialog
2022-11-04 23:15:00 +01:00
Zeno Rogue
8e1c05d3cf
dialog:: refactor hasInfix
2022-11-04 23:15:00 +01:00
Zeno Rogue
0ff46ff143
dialog:: DIALOG_WIDE
2022-11-04 23:14:59 +01:00