summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/TASInputDlg.cpp
AgeCommit message (Collapse)Author
2018-06-26Remove DolphinWXspycrab
2018-04-12Reformat all the things!spycrab
2018-03-14Assert: Uppercase assertion macrosLioncash
Macros should be all upper-cased. This is also kind of a wart that's been sticking out for quite a while now (we avoid prefixing underscores).
2018-02-13Qt: Implement Wii TAS input windowRukai
2017-05-06Don't translate button namesJosJuice
Since these button names are printed on all real controllers, we should show them in the same way as they are printed on the controllers, regardless of the user's language. It seems like this was intended all along (except for "Start"), but the _ markers in TASInputDlg.cpp (accidentally?) led to the button names in the controller configs also becoming translatable. I'm making exceptions for "L" and "R" because translators may want to mark them in some way (for instance "L-Digital") to clarify the difference from "L-Analog" and "R-Analog". I'm also making an exception for START/PAUSE because it's referred to as スタート in Japanese games. I'm changing "Home" and "Start" to uppercase for consistency with how Nintendo refers to those buttons, and because someone who isn't familiar with the Latin script might not know the connection between the lowercase and uppercase letters (most users likely do know the connection, but we shouldn't assume it), and because leaving "Start" as "Start" makes it "collide" with unrelated strings, such as the string for the button that starts a netplay session. To rename "Start" and "Home" without breaking INI compatibility, I added a ui_name variable like in f5c82ad.
2017-04-30Use _trans consistently for controllersJosJuice
Some strings were marked with _trans in some places but not others. This commit adds extra _trans markers so that the usage of _trans is consistent. This shouldn't have any effect on which strings actually get translated. (Note that _trans doesn't do anything at runtime.) I also added a few new i18n comments.
2017-04-08Add i18n comments for the acronym IRJosJuice
2017-04-03TASInputDlg: Simplify event queueing callsLioncash
wxQueueEvent/wxPostEvent are useful when the event is being dispatched to another separate window, but aren't really necessary when the event will be handled by the same window it's dispatched from. GetEventHandler() is unnecessary here for the same reason. It's an event intended to be handled by the dialog itself.
2017-04-03TASInputDlg: Get rid of unnecessary event castsLioncash
wxCommandEvent already stores the necessary data; the control object itself doesn't need to be retrieved and casted.
2017-04-03TASInputDlg: Apply auto to UI control initializations where appropriateLioncash
As all UI controls are essentially constructed with new expressions, the type is already visible on the right-hand side, so repeating the type twice isn't necessary.
2017-04-03TASInputDlg: Use std::array where applicableLioncash
2016-10-04WX: HiDPI: TASInputDlgEmptyChaos
2016-08-14TASInputDlg: Fix inputs "sticking" after closingEmptyChaos
2016-08-04Remove Global Declarations from MovieChris Burgener
2016-06-26Update wxWidgets to 3.1.0EmptyChaos
From wxWidgets master 81570ae070b35c9d52de47b1f14897f3ff1a66c7. include/wx/defs.h -- __w64 warning disable patch by comex brought forward. include/wx/msw/window.h -- added GetContentScaleFactor() which was not implemented on Windows but is necessary for wxBitmap scaling on Mac OS X so it needs to work to avoid #ifdef-ing the code. src/gtk/window.cpp -- Modified DoSetClientSize() to direct call wxWindowGTK::DoSetSize() instead of using public wxWindowBase::SetSize() which now prevents derived classes (like wxAuiToolbar) intercepting the call and breaking it. This matches Windows which does NOT need to call DoSetSize internally. End result is this fixes Dolphin's debug tools toolbars on Linux. src/osx/window_osx.cpp -- Same fix as for GTK since it has the same issue. src/msw/radiobox.cpp -- Hacked to fix display in HiDPI (was clipping off end of text). Updated CMakeLists for Linux and Mac OS X. Small code changes to Dolphin to fix debug error boxes, deprecation warnings, and retain previous UI behavior on Windows.
2016-06-24Further fixes to the formatting change. WX sucks.Pierre Bourdon
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-05-13Movie: Threadsafety AuditEmptyChaos
Fix TASInputDlg which was trying to access the GUI without the GUI lock from the CPU Thread.
2016-01-13HW: Remove unnecessary header inclusionsLioncash
2015-11-19InputConfig: Clean up controller managementLioncash
2015-09-11DolphinWX: TAS fixes, take threeJeffrey Pfau
2015-08-20DolphinWX: Finish removing bandaid from 704f787Jeffrey Pfau
2015-08-19Frame/TASInputDlg: Remove unused functionsLioncash
2015-08-11DolphinWX: Ensure TASInputDlg only gets modified on the main threadJeffrey Pfau
2015-07-21Merge pull request #2689 from RisingFog/patch-1skidau
Fix TASInput Crash When Stick Bitmap Is Null
2015-07-03Fix random hangs when loading savestates with TAS InputFog
2015-07-03Fix TASInput Crash When Stick Bitmap Is NullRGamma
Patch provided by RGamma
2015-05-31DolphinWX: Fix threading issues with TAS pad updatesJeffrey Pfau
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-08DolphinWX: Remove unnecessary includesLioncash
2015-04-29Silence -Wshadow and -Wsign-compare warnings.Rohit Nirmal
2015-04-25Merge pull request #2290 from RachelBryk/cc-tasinputcomex
Implement classic controller tas input.
2015-04-22Implement classic controller tas input.Rachel Bryk
2015-04-09DolphinWX: Fix memory leaks relating to the TAS dialogLioncash
Initially, the dialogs construct in the background when Dolphin initializes. However, it waits until the user actually makes the dialogs visible to decide on whether to create the Wii or GC control layouts. Therefore, the call to CreateBaseLayout() essentially creates a sizer that isn't actually attached to a main sizer that is set as the sizer for the dialog to use. So upon destruction, these controls would never actually be destroyed if the user didn't open and then close the TAS dialogs.
2015-04-07TASInputDlg: Remove unnecessary explicit boolsLioncash
2015-03-28Fix home button in tas input.Rachel Bryk
2015-02-25Formatting/Whitespace CleanupStevoisiak
Various fixes to formatting and whitespace
2014-12-06TASInputDlg: Eliminate the usage of some spacers.Lioncash
Bordering parameters can be specified on addition.
2014-12-06TASInputDlg: Fix a typo in layout alignment flagsLioncash
2014-12-06TASInputDlg: Replace some for loops with range-based for loops.Lioncash
2014-12-06TASInputDlg: Remove unnecessary wxWidgets default values.Lioncash
2014-11-07Fix analog l/r with tas input.Rachel Bryk
2014-11-05TASInputDlg: Narrow a variable scope in UpdateFromTextLioncash
2014-11-02Fix some warnings.Rachel Bryk
2014-11-02Add nunchuk support to tas input.Rachel Bryk
2014-11-02TASInputDlg: Use Bind over Connect for event handlingLioncash
2014-10-30Fix wiimote accel.Rachel Bryk
2014-10-28Merge pull request #1393 from RachelBryk/accelskidau
Fix acceleration emulation for wiimote and nunchuk.
2014-10-25Fix acceleration emulation for wiimote and nunchuk.Rachel Bryk
The 1-2 least significant bits were missing.