mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-31 19:44:54 +02:00
Theme Tweaks
- Highlighting of Buttons in TCP and Sliders - No crinkly Help Icon anymore - Invisible numbers in NoteTrack fixed - Better visibility of label track dragger elements - Theme rearranged more logically, and dead images culled
This commit is contained in:
@@ -109,14 +109,10 @@ for registering for changes.
|
||||
#include "Shuttle.h"
|
||||
#include "WrappedType.h"
|
||||
#include "widgets/wxPanelWrapper.h"
|
||||
|
||||
#include "../images/Help.xpm"
|
||||
#include "AllThemeResources.h"
|
||||
|
||||
ShuttleGuiBase::ShuttleGuiBase(wxWindow * pParent, teShuttleMode ShuttleMode )
|
||||
{
|
||||
// Suppress warnings about the header file
|
||||
wxUnusedVar(Help_xpm);
|
||||
|
||||
wxASSERT( (pParent != NULL ) || ( ShuttleMode != eIsCreating));
|
||||
|
||||
mpParent = pParent;
|
||||
@@ -2176,7 +2172,7 @@ std::unique_ptr<wxSizer> CreateStdButtonSizer(wxWindow *parent, long buttons, wx
|
||||
{
|
||||
// Replace standard Help button with smaller icon button.
|
||||
// bs->AddButton(safenew wxButton(parent, wxID_HELP));
|
||||
b = new wxBitmapButton(parent, wxID_HELP, Help_xpm);
|
||||
b = new wxBitmapButton(parent, wxID_HELP, theTheme.Bitmap( bmpHelpIcon ));
|
||||
b->SetToolTip( _("Help") );
|
||||
bs->AddButton( b );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user