mirror of
https://github.com/LIV2/amiberry.git
synced 2025-12-06 06:32:45 +00:00
refactor: set all GUI internal windows to be not movable
This commit is contained in:
parent
3c6f62acbb
commit
b192bae4d4
@ -199,6 +199,7 @@ static void InitControllerMap()
|
||||
wndControllerMap->setBaseColor(gui_base_color);
|
||||
wndControllerMap->setForegroundColor(gui_foreground_color);
|
||||
wndControllerMap->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndControllerMap->setMovable(false);
|
||||
|
||||
txtInformation = new gcn::TextBox(info_text);
|
||||
txtInformation->setBackgroundColor(gui_base_color);
|
||||
|
||||
@ -87,6 +87,7 @@ static void InitCreateFilesysHardfile()
|
||||
wndCreateFilesysHardfile->setForegroundColor(gui_foreground_color);
|
||||
wndCreateFilesysHardfile->setCaption("Create hardfile");
|
||||
wndCreateFilesysHardfile->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndCreateFilesysHardfile->setMovable(false);
|
||||
|
||||
createFilesysHardfileActionListener = new CreateFilesysHardfileActionListener();
|
||||
|
||||
|
||||
@ -68,6 +68,7 @@ static void InitCreateFolder(const std::string& path)
|
||||
wndCreateFolder->setBaseColor(gui_base_color);
|
||||
wndCreateFolder->setForegroundColor(gui_foreground_color);
|
||||
wndCreateFolder->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndCreateFolder->setMovable(false);
|
||||
gui_top->add(wndCreateFolder);
|
||||
|
||||
createFolderButtonActionListener = new CreateFolderRequesterButtonActionListener();
|
||||
|
||||
@ -169,6 +169,7 @@ static void InitEditFilesysHardDrive()
|
||||
wndEditFilesysHardDrive->setForegroundColor(gui_foreground_color);
|
||||
wndEditFilesysHardDrive->setCaption("Hard Drive settings");
|
||||
wndEditFilesysHardDrive->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndEditFilesysHardDrive->setMovable(false);
|
||||
|
||||
filesysHardDriveActionListener = new FilesysHardDriveActionListener();
|
||||
|
||||
|
||||
@ -400,6 +400,7 @@ static void InitEditFilesysHardfile()
|
||||
wndEditFilesysHardfile->setForegroundColor(gui_foreground_color);
|
||||
wndEditFilesysHardfile->setCaption("Hardfile settings");
|
||||
wndEditFilesysHardfile->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndEditFilesysHardfile->setMovable(false);
|
||||
|
||||
filesysHardfileActionListener = new FilesysHardfileActionListener();
|
||||
filesysHardfileFocusListener = new FilesysHardfileFocusListener();
|
||||
|
||||
@ -143,6 +143,7 @@ static void InitEditFilesysVirtual()
|
||||
wndEditFilesysVirtual->setForegroundColor(gui_foreground_color);
|
||||
wndEditFilesysVirtual->setCaption("Volume settings");
|
||||
wndEditFilesysVirtual->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndEditFilesysVirtual->setMovable(false);
|
||||
|
||||
filesysVirtualActionListener = new FilesysVirtualActionListener();
|
||||
|
||||
|
||||
@ -127,6 +127,7 @@ static void InitEditTapeDrive()
|
||||
wndEditTapeDrive->setForegroundColor(gui_foreground_color);
|
||||
wndEditTapeDrive->setCaption("Tape Drive Settings");
|
||||
wndEditTapeDrive->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndEditTapeDrive->setMovable(false);
|
||||
|
||||
tapeDriveActionListener = new TapeDriveActionListener();
|
||||
|
||||
|
||||
@ -218,6 +218,7 @@ static void InitSelectFile(const std::string& title)
|
||||
wndSelectFile->setForegroundColor(gui_foreground_color);
|
||||
wndSelectFile->setCaption(title);
|
||||
wndSelectFile->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndSelectFile->setMovable(false);
|
||||
|
||||
fileButtonActionListener = new FileButtonActionListener();
|
||||
|
||||
|
||||
@ -164,6 +164,7 @@ static void InitSelectFolder(const std::string& title)
|
||||
wndSelectFolder->setForegroundColor(gui_foreground_color);
|
||||
wndSelectFolder->setCaption(title);
|
||||
wndSelectFolder->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndSelectFolder->setMovable(false);
|
||||
|
||||
folderButtonActionListener = new FolderRequesterButtonActionListener();
|
||||
|
||||
|
||||
@ -205,6 +205,7 @@ static void InitShowCustomFields()
|
||||
wndShowCustomFields->setBaseColor(gui_base_color);
|
||||
wndShowCustomFields->setForegroundColor(gui_foreground_color);
|
||||
wndShowCustomFields->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndShowCustomFields->setMovable(false);
|
||||
|
||||
showCustomFieldsActionListener = new ShowCustomFieldsActionListener();
|
||||
int pos_y = DISTANCE_BORDER;
|
||||
|
||||
@ -47,6 +47,7 @@ static void InitShowDiskInfo(const std::vector<std::string>& infotext)
|
||||
wndShowDiskInfo->setBaseColor(gui_base_color);
|
||||
wndShowDiskInfo->setForegroundColor(gui_foreground_color);
|
||||
wndShowDiskInfo->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndShowDiskInfo->setMovable(false);
|
||||
|
||||
showDiskInfoActionListener = new ShowDiskInfoActionListener();
|
||||
|
||||
|
||||
@ -49,6 +49,7 @@ static void InitShowHelp(const std::vector<std::string>& helptext)
|
||||
wndShowHelp->setBackgroundColor(gui_base_color);
|
||||
wndShowHelp->setForegroundColor(gui_foreground_color);
|
||||
wndShowHelp->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndShowHelp->setMovable(false);
|
||||
|
||||
showHelpActionListener = new ShowHelpActionListener();
|
||||
|
||||
|
||||
@ -209,6 +209,7 @@ static void InitShowMessage(const std::string& message)
|
||||
wndShowMessage->setBackgroundColor(gui_base_color);
|
||||
wndShowMessage->setForegroundColor(gui_foreground_color);
|
||||
wndShowMessage->setTitleBarHeight(TITLEBAR_HEIGHT);
|
||||
wndShowMessage->setMovable(false);
|
||||
|
||||
showMessageActionListener = new ShowMessageActionListener();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user