1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-10 14:11:16 +02:00

7175 Commits

Author SHA1 Message Date
James Crook
7641d0886b Bigger + and - on zoom buttons in Hi-Contrast theme.
The magnifying glass got bigger too.
Also made the gray-goo stopwatch for sync-lock more distinct.
2017-06-14 17:30:06 +01:00
James Crook
3981a8c55c Banish gray goo from the TCP
The smudgy gray outline of a stop watch in the track control panel has now been replaced by a more distinct version, that has transparency and so the colour for the TCP shows through.
2017-06-14 17:28:37 +01:00
James Crook
f67cc7af25 Fix broken Windows build.
Was broken on MSVC 2013, due to a compiler bug.
2017-06-14 16:17:20 +01:00
Paul Licameli
55dc096896 Lowered check for scrubbing into GetMessageForTool...
... which is called only in one place
2017-06-14 09:22:37 -04:00
Paul Licameli
23e3aeba35 TCP layout tables include draw functions...
... There is some duplication with the older draw functions, but these are
soon to be removed.

The draw functions may even be called without a TrackPanel or Track object,
displaying default values.

This ability is not yet used.
2017-06-13 19:08:04 -04:00
Paul Licameli
5982dccd36 Redo layout tables as std::vector 2017-06-13 19:05:50 -04:00
Paul Licameli
063c6c236f Table includes draw functions for status items 2017-06-13 18:57:34 -04:00
Paul Licameli
ce77f176b5 Table includes draw functions for Mute and Solo 2017-06-13 18:53:26 -04:00
Paul Licameli
4df84f126e Table includes draw functions for sliders 2017-06-13 14:02:10 -04:00
Paul Licameli
329aa8393e Table includes draw function for Midi controls 2017-06-13 14:02:10 -04:00
Paul Licameli
86763341af Table includes draw function for Minimize and Sync-lock icon 2017-06-13 14:02:10 -04:00
Paul Licameli
b4e38c2838 Table includes draw function for Close and Title 2017-06-13 14:02:09 -04:00
Paul Licameli
ba014f042a Add a slot for drawing functions to the TCP lines table 2017-06-13 14:01:37 -04:00
Paul Licameli
e554f0cdc6 TrackPanel::HasSoloButton is static and public 2017-06-13 14:01:37 -04:00
Paul Licameli
98b24cd6b9 Redo calculation of default track heights 2017-06-13 14:01:36 -04:00
Paul Licameli
18b3bc0600 Separate functions defining the horizontal bounds of TCP items 2017-06-13 14:01:36 -04:00
Paul Licameli
b15bf441ec Static TrackInfo slider accessors, const Track* arguments 2017-06-13 14:01:36 -04:00
Paul Licameli
1d1dded9ba TrackInfo::SetTrackInfoFont is static 2017-06-13 14:01:36 -04:00
Paul Licameli
a4e57fc45e Calculate font size for title button as before 2017-06-13 14:00:14 -04:00
Steve Daulton
1123ca293c More tweaks to Nyquist debug output 2017-06-13 18:30:07 +01:00
Paul Licameli
1620feb849 Simplify macros 2017-06-12 22:05:22 -04:00
Steve Daulton
b92866be71 Nyquist debug handling tweaks 2017-06-13 01:06:19 +01:00
Steve Daulton
3197a6a17e Tweak TCP for Mac 2017-06-13 01:06:19 +01:00
windinthew
072a513bb4 New CHANGELOG.txt and (Linux) INSTALL files
Name and location of INSTALL file may be subject to more discussion
2017-06-12 21:42:42 +01:00
windinthew
ebd35170bd Remove changelog and compilation from README 2017-06-12 21:30:06 +01:00
Steve Daulton
f298bfc4dd Move track info below track controls 2017-06-12 18:47:41 +01:00
Paul Licameli
bf3f041abe Make TrackInfo routines that calculate rectangles static 2017-06-12 13:34:50 -04:00
Paul Licameli
e2d77b399d Move one more selection function out of TrackPanel 2017-06-11 16:14:26 -04:00
Paul Licameli
ca4afd5f94 Abstract the track selection, shift-click anchor; simplify TrackPanel 2017-06-11 13:03:27 -04:00
Paul Licameli
6b5c5a0335 More simplifications by use of SelectionStateChanger 2017-06-11 11:21:36 -04:00
Paul Licameli
d834bcdbd1 Move some command handlers for selection and focus out of TrackPanel 2017-06-11 11:03:28 -04:00
Paul Licameli
a9f7cb26e7 Move selection state into AudacityProject, out of TrackPanel 2017-06-11 10:40:55 -04:00
Paul Licameli
4da881d1db Define and use SelectionStateChanger 2017-06-11 10:40:50 -04:00
Paul Licameli
a594207265 Define class SelectionState; move some TrackPanel functions into it 2017-06-11 10:22:52 -04:00
Paul Licameli
986f158efa Update mixer board for selection state change if MIDI tracks too...
... when EXPERIMENTAL_MIDI_OUT defined
2017-06-11 09:26:58 -04:00
Paul Licameli
a3037b5734 Move drawing of snap guidelines out of TrackPanel.cpp 2017-06-10 20:48:02 -04:00
James Crook
198dbc4c2a Support screenshots of toolbar variants.
Slightly tidied up the code too.
2017-06-10 21:33:05 +01:00
Paul Licameli
06e51ba075 Remove recursion in DrawMuteSolo...
... its purpose was not clear.  Comment suggests state update is combined with
drawing, which isn't so and shouldn't be.

So far as I can tell, all it did was make the Mute button flicker, if you
clicked on it and dragged, while the Solo button was up, AND playback or
recording was in progress.  But why?
2017-06-10 14:27:58 -04:00
Paul Licameli
48ee622c1d i18n-hint comments were wrongly swapped! 2017-06-10 14:27:18 -04:00
Paul Licameli
991819bc28 Remove #includes 2017-06-10 14:27:17 -04:00
James Crook
500907ff87 Remove text explaining the 'Help Button'.
It is a button, not an icon, so it does not need explaining what it is.  Also this solves the issue of when the help button is deliberately removed after use.
2017-06-10 18:12:32 +01:00
Paul Licameli
9363432b76 Remove an #include 2017-06-10 12:00:42 -04:00
James Crook
1fb2deb593 Fix colours that were messed up by blending.
Some button down colours were wrong from using the blending option.
2017-06-10 11:41:44 +01:00
James Crook
4db2fc34da Fix small buttons too-intense problem.
Fixed by making the smaller buttons a much less strong blue, and using bevelling to make sure there is an edge.
Also reduced bevelling to a less pop-up look, less dark and 1px wide not 2px
Also slightly rounded the larger button corners.
2017-06-10 11:24:16 +01:00
James Crook
d8a71c40eb Tweak TCP minimize button Position
It now doesn't impinge on the bottom edge of the TCP, and it is left aligned flush with the left edge.
Minimum track height increased accordingly.
2017-06-10 10:10:38 +01:00
James Crook
cea3ed5f24 Tweaks to Light theme
- Darker button backgrounds in toolbars
- More contrast in hover effect, especially for small buttons.
- Mute/Solo have same colour whether track selected or not
- TimeText displays have lighter backgrounds.
2017-06-10 09:49:42 +01:00
James Crook
7341bff9e0 Disallow AutoSelect on dangerous commands.
Commands flagged with NoAutoSelect will not auto select, even if the user has asked for it.  This is used for Cut and 3 different kinds of delete.  We later might extend it to fades and repair.
2017-06-09 22:36:05 +01:00
James Crook
64a28861a0 Make light theme default.
Or as our RM said, 'Let it be Light'.
2017-06-09 19:40:29 +01:00
James Crook
adc7312954 Auto-Select off by default.
I've implemented three states for what to do if no selection:
0 - Grey out (no longer used)
1 - Auto-select
2 - Give the warning message and try again.
2017-06-09 19:40:28 +01:00
Paul Licameli
0d899b0163 compiler warning fixed 2017-06-09 13:14:41 -04:00