Audacity 3.2.0
|
#include "ProjectWindow.h"
#include "ActiveProject.h"
#include "AllThemeResources.h"
#include "AudioIO.h"
#include "tracks/ui/CommonTrackInfo.h"
#include "ProjectAudioIO.h"
#include "ProjectFileIO.h"
#include "ProjectWindows.h"
#include "ProjectStatus.h"
#include "ViewInfo.h"
#include "WaveClip.h"
#include "WaveTrack.h"
#include "CommandManager.h"
#include "prefs/ThemePrefs.h"
#include "prefs/TracksPrefs.h"
#include "toolbars/ToolManager.h"
#include "tracks/ui/ChannelView.h"
#include "wxPanelWrapper.h"
#include "WindowAccessible.h"
#include "ThemedWrappers.h"
#include <wx/display.h>
#include <wx/scrolbar.h>
#include <wx/sizer.h>
#include <wx/splitter.h>
#include <wx/wupdlock.h>
#include "TrackPanel.h"
Go to the source code of this file.
Classes | |
class | anonymous_namespace{ProjectWindow.cpp}::ScrollBar |
struct | anonymous_namespace{ProjectWindow.cpp}::Adapter |
Namespaces | |
namespace | anonymous_namespace{ProjectWindow.cpp} |
Enumerations | |
enum | { FirstID = 1000 , HSBarID , VSBarID , NextID } |
Functions | |
int | ScreenContaining (wxRect &r) |
bool | CornersOnScreen (wxRect &r) |
bool | IsWindowAccessible (wxRect *requestedRect) |
void | GetDefaultWindowRect (wxRect *defRect) |
void | GetNextWindowPlacement (wxRect *nextRect, bool *pMaximized, bool *pIconized) |
bool | anonymous_namespace{ProjectWindow.cpp}::IsWindowValid (const ProjectWindow *window) |
Variables | |
constexpr int | anonymous_namespace{ProjectWindow.cpp}::DEFAULT_WINDOW_WIDTH = 1120 |
constexpr int | anonymous_namespace{ProjectWindow.cpp}::DEFAULT_WINDOW_HEIGHT = 674 |
BoolSetting | ProjectWindowMaximized { L"/Window/Maximized", false } |
BoolSetting | ProjectWindowIconized { L"/Window/Iconized", false } |
IntSetting | ProjectWindowX { L"/Window/X", 0 } |
IntSetting | ProjectWindowY { L"/Window/Y", 0 } |
IntSetting | ProjectWindowWidth { L"/Window/Width", DEFAULT_WINDOW_WIDTH } |
IntSetting | ProjectWindowHeight { L"/Window/Height", DEFAULT_WINDOW_HEIGHT } |
IntSetting | ProjectWindowNormalX { L"/Window/Normal_X", 0 } |
IntSetting | ProjectWindowNormalY { L"/Window/Normal_Y", 0 } |
IntSetting | ProjectWindowNormalWidth { L"/Window/Normal_Width", DEFAULT_WINDOW_WIDTH } |
IntSetting | ProjectWindowNormalHeight { L"/Window/Normal_Height", DEFAULT_WINDOW_HEIGHT } |
AttachedWindows::RegisteredFactory | anonymous_namespace{ProjectWindow.cpp}::sProjectWindowKey |
static ToolManager::TopPanelHook::Scope | scope |
anonymous enum |
bool CornersOnScreen | ( | wxRect & | r | ) |
Definition at line 78 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement().
void GetDefaultWindowRect | ( | wxRect * | defRect | ) |
Definition at line 111 of file ProjectWindow.cpp.
References anonymous_namespace{ProjectWindow.cpp}::DEFAULT_WINDOW_HEIGHT, and anonymous_namespace{ProjectWindow.cpp}::DEFAULT_WINDOW_WIDTH.
Referenced by GetNextWindowPlacement(), ProjectManager::SaveWindowSize(), and ProjectWindow::SetToDefaultSize().
void GetNextWindowPlacement | ( | wxRect * | nextRect, |
bool * | pMaximized, | ||
bool * | pIconized | ||
) |
Definition at line 158 of file ProjectWindow.cpp.
References CornersOnScreen(), AllProjects::empty(), details::end(), ProjectWindow::Get(), GetDefaultWindowRect(), GetProjectFrame(), ProjectWindow::IsIconized(), IsWindowAccessible(), ProjectWindowHeight, ProjectWindowIconized, ProjectWindowMaximized, ProjectWindowNormalHeight, ProjectWindowNormalWidth, ProjectWindowNormalX, ProjectWindowNormalY, ProjectWindowWidth, ProjectWindowX, ProjectWindowY, AllProjects::rbegin(), Setting< T >::Read(), Setting< T >::ReadWithDefault(), AllProjects::rend(), and ScreenContaining().
Referenced by ProjectManager::New(), and AudacityApp::ShowSplashScreen().
bool IsWindowAccessible | ( | wxRect * | requestedRect | ) |
Definition at line 85 of file ProjectWindow.cpp.
References monitor.
Referenced by GetNextWindowPlacement().
int ScreenContaining | ( | wxRect & | r | ) |
Definition at line 63 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement().
IntSetting ProjectWindowHeight { L"/Window/Height", DEFAULT_WINDOW_HEIGHT } |
Definition at line 56 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement(), and anonymous_namespace{ProjectManager.cpp}::SaveWindowPreferences().
BoolSetting ProjectWindowIconized { L"/Window/Iconized", false } |
Definition at line 52 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement(), and anonymous_namespace{ProjectManager.cpp}::SaveWindowPreferences().
BoolSetting ProjectWindowMaximized { L"/Window/Maximized", false } |
Definition at line 51 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement(), and anonymous_namespace{ProjectManager.cpp}::SaveWindowPreferences().
IntSetting ProjectWindowNormalHeight { L"/Window/Normal_Height", DEFAULT_WINDOW_HEIGHT } |
Definition at line 60 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement(), and anonymous_namespace{ProjectManager.cpp}::SaveWindowPreferences().
IntSetting ProjectWindowNormalWidth { L"/Window/Normal_Width", DEFAULT_WINDOW_WIDTH } |
Definition at line 59 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement(), and anonymous_namespace{ProjectManager.cpp}::SaveWindowPreferences().
IntSetting ProjectWindowNormalX { L"/Window/Normal_X", 0 } |
Definition at line 57 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement(), and anonymous_namespace{ProjectManager.cpp}::SaveWindowPreferences().
IntSetting ProjectWindowNormalY { L"/Window/Normal_Y", 0 } |
Definition at line 58 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement(), and anonymous_namespace{ProjectManager.cpp}::SaveWindowPreferences().
IntSetting ProjectWindowWidth { L"/Window/Width", DEFAULT_WINDOW_WIDTH } |
Definition at line 55 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement(), and anonymous_namespace{ProjectManager.cpp}::SaveWindowPreferences().
IntSetting ProjectWindowX { L"/Window/X", 0 } |
Definition at line 53 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement(), and anonymous_namespace{ProjectManager.cpp}::SaveWindowPreferences().
IntSetting ProjectWindowY { L"/Window/Y", 0 } |
Definition at line 54 of file ProjectWindow.cpp.
Referenced by GetNextWindowPlacement(), and anonymous_namespace{ProjectManager.cpp}::SaveWindowPreferences().
|
static |
Definition at line 1320 of file ProjectWindow.cpp.