Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 443630 Details for
Bug 591316
games-emulation/pcsx2-9999: can't resize configuration dialog
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
02-lowres.patch
0002-Make-Gamefixes-and-Speedhacks-panels-scrollable.patch (text/plain), 3.23 KB, created by
nE0sIghT
on 2016-08-17 22:43:41 UTC
(
hide
)
Description:
02-lowres.patch
Filename:
MIME Type:
Creator:
nE0sIghT
Created:
2016-08-17 22:43:41 UTC
Size:
3.23 KB
patch
obsolete
>From 507f9f9a6629e6b8c9f6dd17f1eb5ff6ea141386 Mon Sep 17 00:00:00 2001 >From: Yuri Konotopov <ykonotopov@gmail.com> >Date: Thu, 18 Aug 2016 01:20:25 +0300 >Subject: [PATCH 2/3] Make Gamefixes and Speedhacks panels scrollable > >--- > common/include/Utilities/wxGuiTools.h | 2 +- > common/src/Utilities/wxHelpers.cpp | 8 ++++---- > pcsx2/gui/Panels/GameFixesPanel.cpp | 3 +++ > pcsx2/gui/Panels/SpeedhacksPanel.cpp | 3 +++ > 4 files changed, 11 insertions(+), 5 deletions(-) > >diff --git a/common/include/Utilities/wxGuiTools.h b/common/include/Utilities/wxGuiTools.h >index 4c63ac0..bdc0ecb 100644 >--- a/common/include/Utilities/wxGuiTools.h >+++ b/common/include/Utilities/wxGuiTools.h >@@ -553,7 +553,7 @@ protected: > // matically adjusts the width based on the sizer type (groupsizers get truncated to > // account for borders). > // >-class wxPanelWithHelpers : public wxPanel >+class wxPanelWithHelpers : public wxScrolled<wxPanel> > { > DECLARE_DYNAMIC_CLASS_NO_COPY(wxPanelWithHelpers) > >diff --git a/common/src/Utilities/wxHelpers.cpp b/common/src/Utilities/wxHelpers.cpp >index 1cfea69..fe4792d 100644 >--- a/common/src/Utilities/wxHelpers.cpp >+++ b/common/src/Utilities/wxHelpers.cpp >@@ -434,27 +434,27 @@ pxStaticText& wxPanelWithHelpers::Heading( const wxString& label ) > } > > wxPanelWithHelpers::wxPanelWithHelpers( wxWindow* parent, wxOrientation orient, const wxString& staticBoxLabel ) >- : wxPanel( parent ) >+ : wxScrolled<wxPanel>( parent ) > { > SetSizer( new wxStaticBoxSizer( orient, this, staticBoxLabel ) ); > Init(); > } > > wxPanelWithHelpers::wxPanelWithHelpers( wxWindow* parent, wxOrientation orient ) >- : wxPanel( parent ) >+ : wxScrolled<wxPanel>( parent ) > { > SetSizer( new wxBoxSizer( orient ) ); > Init(); > } > > wxPanelWithHelpers::wxPanelWithHelpers( wxWindow* parent ) >- : wxPanel( parent ) >+ : wxScrolled<wxPanel>( parent ) > { > Init(); > } > > wxPanelWithHelpers::wxPanelWithHelpers( wxWindow* parent, const wxPoint& pos, const wxSize& size ) >- : wxPanel( parent, wxID_ANY, pos, size ) >+ : wxScrolled<wxPanel>( parent, wxID_ANY, pos, size ) > { > Init(); > } >diff --git a/pcsx2/gui/Panels/GameFixesPanel.cpp b/pcsx2/gui/Panels/GameFixesPanel.cpp >index 17cfd80..c043de2 100644 >--- a/pcsx2/gui/Panels/GameFixesPanel.cpp >+++ b/pcsx2/gui/Panels/GameFixesPanel.cpp >@@ -127,6 +127,9 @@ Panels::GameFixesPanel::GameFixesPanel( wxWindow* parent ) > *this += m_check_Enable | StdExpand(); > *this += groupSizer | pxCenter; > >+ FitInside(); >+ SetScrollRate(10, 10); >+ > Bind(wxEVT_CHECKBOX, &GameFixesPanel::OnEnable_Toggled, this, m_check_Enable->GetId()); > > EnableStuff(); >diff --git a/pcsx2/gui/Panels/SpeedhacksPanel.cpp b/pcsx2/gui/Panels/SpeedhacksPanel.cpp >index e2d905e..d4f38e5 100644 >--- a/pcsx2/gui/Panels/SpeedhacksPanel.cpp >+++ b/pcsx2/gui/Panels/SpeedhacksPanel.cpp >@@ -253,6 +253,9 @@ Panels::SpeedHacksPanel::SpeedHacksPanel( wxWindow* parent ) > > // ------------------------------------------------------------------------ > >+ FitInside(); >+ SetScrollRate(10, 10); >+ > Bind(wxEVT_SCROLL_CHANGED, &SpeedHacksPanel::EECycleRate_Scroll, this, m_slider_eecycle->GetId()); > Bind(wxEVT_SCROLL_CHANGED, &SpeedHacksPanel::VUCycleRate_Scroll, this, m_slider_vustealer->GetId()); > Bind(wxEVT_CHECKBOX, &SpeedHacksPanel::OnEnable_Toggled, this, m_check_Enable->GetId()); >-- >2.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 591316
:
443388
|
443472
|
443474
|
443628
| 443630 |
443632