Commit Graph

140 Commits

Author SHA1 Message Date
The Dax
db370c1fd3 Call the base class sendMessage when handling messages from native, so every screen can refresh from a language update at any time. 2013-10-21 16:52:44 -04:00
Henrik Rydgård
598e06faa8 Make Home in the game browser available on linux/mac/etc too.
Misc tweaks.
2013-10-21 12:21:22 +02:00
Henrik Rydgård
d31ff07e79 Merge pull request #4275 from shenweip/patch-7
Draw default background when pic doesn't exist.
2013-10-21 01:12:58 -07:00
shenweip
6aa887e76a Draw default background when pic doesn't exist. 2013-10-21 13:20:12 +08:00
Henrik Rydgård
cc1f0872f5 Merge pull request #4261 from bollu/auto-hide-recents
auto hide recents tab when no recent games exist
2013-10-20 09:34:06 -07:00
Siddharth
2359bda823 now highlights games tab if recents is empty 2013-10-20 21:48:06 +05:30
Henrik Rydgård
3ab09f6bce Make the touch visibility thing a "subdialog" of the layout editor.
Reorder options a bit too.
2013-10-20 17:33:46 +02:00
Siddharth
0edfe5744a auto hide recents tab when no recent games exist 2013-10-20 19:47:27 +05:30
Unknown W. Brackets
9a9aa5b194 Fix initialization order warnings. 2013-10-19 14:57:45 -07:00
Sacha
8c1d4e8ad7 Some Qt compatibility improves for Windows.
(Reapplied since I lost it in a bad push :/)

Conflicts:
	Qt/Core.pro
	Qt/PPSSPP.pro
2013-10-19 23:18:10 +02:00
Henrik Rydgård
2c5adc96cf Rip out the support for the Atrac3+ plugin. It is gone, to never return. 2013-10-19 23:09:26 +02:00
Henrik Rydgard
80702109f5 Move gpu vendor detection to native with the rest of the gl init.
Also disable vertical layout for mainscreen entirely.
2013-10-16 00:48:44 +02:00
Henrik Rydgard
5b9123b3c5 Main screen: Add Browse button on Windows to choose a folder easily 2013-10-15 13:28:09 +02:00
The Dax
c7bdeb3084 Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.
On Win32, call InitSysDirectories before the emuthread starts just to be safe.
2013-10-15 03:41:10 -04:00
Henrik Rydgård
0173c860c5 Revert "Also replace "//" to "/"."
This reverts commit 60ef33b1e0.
2013-10-14 11:36:33 +02:00
shenweip
60ef33b1e0 Also replace "//" to "/". 2013-10-14 17:10:46 +08:00
The Dax
fda6c42f6d Fix dumb typo involving slash replacements. 2013-10-11 20:10:16 -04:00
Henrik Rydgard
f374593a05 Update native with OpenGL init fixes, may fix some crashes on startup.
Fix a rotation issue.
2013-10-10 11:09:48 +02:00
Henrik Rydgård
014b3d0a2b Better vertical layout for home screen 2013-10-09 16:26:15 +02:00
Henrik Rydgård
2558d3bf4b Merge pull request #4076 from bollu/SaveStateHighlight
Highlight save states in use
2013-10-08 08:36:52 -07:00
Siddharth
4dba847ea4 Uses StickyChoice's Highlight() to highlight save slots in use 2013-10-08 19:08:50 +05:30
Henrik Rydgård
ef3c947fe3 Add a few pixels of margin around the path in the game browser 2013-10-08 12:04:36 +02:00
Siddharth
34f7109821 removed SaveChoice class (was useless) 2013-10-07 21:58:00 +05:30
Siddharth
630201017b save states with data on them are now highlighted 2013-10-07 21:46:02 +05:30
raven02
c7021b0a2e Use better approach to show either pic0 or pic1 2013-09-24 19:07:27 +08:00
raven02
eeb50b354f Make sure ginfo->pic0Texture is not NULL 2013-09-24 16:16:37 +08:00
raven02
69234a1103 Try to draw pic0 if pic1 is not available 2013-09-24 15:54:40 +08:00
Henrik Rydgård
06b2151939 Merge pull request #3784 from unknownbrackets/debugger
Enable the debug windows always, disable buttons
2013-09-15 15:07:13 -07:00
Unknown W. Brackets
1a77099b1c Don't crash if the pause screen is closed quickly. 2013-09-15 14:58:49 -07:00
Unknown W. Brackets
8902e85f0a Enable the debug windows always, disable buttons.
This way you can close them/whatever, and hopefully should avoid crashes.

Only downside is you can't pause the game now and then hit stop in the
debugger.
2013-09-15 09:35:58 -07:00
The Dax
efa2c1c500 Use consistent directory slashes. We'll just replace all backslashes with forward slashes, eliminating the chance of duplicat recents. Fixes #3352. 2013-09-15 00:08:53 -04:00
The Dax
e8fd5881b8 Move global UI status out of WndMainWindow.cpp, simplify the menu translation code(it doesn't need to dictate checked or enabled items, the UI already does it later on anyway), and clear out a few old menu items that have been removed. 2013-09-14 12:49:50 -04:00
shenweip
9907f4a740 Recreat all views when received language change message 2013-09-14 13:52:21 +08:00
Sacha
893ecffebe Symbian: Make distribution easier. 2013-09-12 10:58:13 +10:00
The Dax
f594157374 Overhaul the Win32 UI. New things include:
-File -> Savestate Slot: Lets the user pick the savestate slot to be used.
-Game Settings -> More Settings...: Opens the main settings screen from anywhere.
-Game Settings -> Control Mapping...: Opens the key mapping screen from anywhere.
-Infrequently changed options were removed.
-Organised menus; nothing is out of place anymore.
-Simplified menus: as some options were removed or moved, it's easier to find what you're looking for, now.
2013-09-07 17:05:23 -04:00
Unknown W. Brackets
f97794136c Use a UI event for clearing recents.
This way it builds on Android, and is cross platform too.
2013-09-07 09:44:28 -07:00
Henrik Rydgård
f24a7c83f5 Merge pull request #3636 from kaienfr/fix_recent_gamelist
Update recent games list & remove redundant recent games from ini file
2013-09-07 02:18:30 -07:00
Unknown W. Brackets
0ff64ec7d6 Fix some initialization order warnings. 2013-09-06 01:13:27 -07:00
kaienfr
137df18a00 Update recent games list & remove redundant recent games from ini file 2013-09-05 18:23:28 +02:00
Henrik Rydgard
00b1fd6a75 Remove unnecessary RecreateViews call. 2013-09-04 17:21:13 +02:00
The Dax
aebd5156a5 Win32 UI: Add a System Language menu that's dynamically created. Also fix several small bugs where the UI wouldn't switch languages on the Pause screen, and in a couple other spots. 2013-09-04 08:00:50 -04:00
Unknown W. Brackets
24ecf9416c Update language immediately in UI. 2013-09-01 13:29:23 -07:00
Henrik Rydgard
349718a3bc Windows: Use system fonts in UI - no more mojibake.
No support for doing this on Android yet, still uses the atlas.
2013-08-30 14:48:52 +02:00
Steven Cherry
edcde85cee More progress. 2013-08-23 22:29:12 -05:00
Steven Cherry
761186ec4c Rebase 2013-08-23 22:28:21 -05:00
raven02
0dd3b89f1d Put Save/Load state in [Pause] section 2013-08-22 10:42:58 +08:00
The Dax
199bd959ca PauseScreen: Allow escape/cancel buttons to dismiss the menu and go back in-game. 2013-08-21 06:18:18 -04:00
Henrik Rydgard
6a1d727a9a Fix language selection and a couple of untranslatable strings 2013-08-20 20:13:28 +02:00
raven02
a71c7320f9 Set 10 below top 2013-08-21 02:02:20 +08:00
raven02
cdfd1c7494 UI tweak : give the title bit spacing below top 2013-08-21 01:55:04 +08:00
Henrik Rydgard
8790082a56 More UI tweaks 2013-08-20 18:18:30 +02:00
Henrik Rydgard
42c1203b86 Enable the Load State button only if there is a state in the selected slot. 2013-08-20 18:12:16 +02:00
Henrik Rydgard
3f6d1d5e13 Get rid of the separate "Main settings", put them in the System Settings category instead. 2013-08-20 18:03:52 +02:00
Henrik Rydgard
0fddaf146f Fix #3271 2013-08-20 17:41:02 +02:00
Henrik Rydgard
c1d0ed08c4 Fix some file browsing issues 2013-08-20 16:52:36 +02:00
Henrik Rydgard
567f402845 Change the links on the main page 2013-08-20 15:26:00 +02:00
Henrik Rydgard
ca76135273 Don't let the tabs overflow into the right area of the main screen if small resolution.
Update native with new tab look.
2013-08-20 12:28:17 +02:00
Unknown W. Brackets
ad537a3773 Use normal Windows path logic for homebrew/demos. 2013-08-20 00:46:13 -07:00
Henrik Rydgard
b186294132 UI tweaks. Change to cleaner background image. 2013-08-20 00:49:25 +02:00
raven02
25beaa6246 Small cosmetic UI fix 2013-08-19 20:20:29 +08:00
Henrik Rydgard
28e58c3d35 Save grid/list status, fix some drawing glitches 2013-08-18 22:30:49 +02:00
Henrik Rydgard
0a0d8d9e32 Android/SDL buildfix, move remains of the old UI into other files. 2013-08-18 20:25:57 +02:00
Henrik Rydgard
a942395506 Add more missing features to NewUI, see #3226 2013-08-18 19:51:54 +02:00
Henrik Rydgard
2b1777d4a7 Transfer some features from oldUI to newUI 2013-08-18 01:24:53 +02:00
Henrik Rydgård
810b1112ed Merge pull request #3199 from unknownbrackets/ui-tweaks
Minor improvements to new UI
2013-08-16 23:53:49 -07:00
Unknown W. Brackets
39d4359294 Get rid of "How to get games" when you have games. 2013-08-16 21:59:06 -07:00
Henrik Rydgard
33beb57a31 Make key mapping faster and easier. 2013-08-16 17:16:11 +02:00
Henrik Rydgard
22ebe76f33 Move KeyMapping UI to its own file before rewriting.
Plus some minor tweaks and fixes.
2013-08-16 16:49:53 +02:00
Henrik Rydgard
ef1bac4628 Make the save slot buttons a better size. Bugfix. 2013-08-16 14:03:06 +02:00
Henrik Rydgard
73990bcc32 UI updates
Touch&hold now goes to game menu and single click goes directly to the game, so I removed bDirectLoad.

There's now a linear game list view for the game browser.

Assorted fixes.
2013-08-16 12:53:35 +02:00
Henrik Rydgard
8b99d999ed UI tweaks, move a couple old screens to keep out of MenuScreens.cpp 2013-08-14 23:06:14 +02:00
Henrik Rydgard
32218256d7 More UI tweaks 2013-08-13 00:06:48 +02:00
Yaroslav
62835aad40 Make more strings translatable. 2013-08-11 22:25:50 +07:00
Henrik Rydgard
0dac2b4783 Update native, minor UI stuff and cleanups 2013-08-10 23:04:23 +02:00
raven02
e0d68e4768 Add game direct load support for new UI 2013-08-04 15:49:51 +08:00
Henrik Rydgard
7e373c206d Fix NewUI bug where returning to menu and starting a new game started the wrong game somehow. 2013-07-30 21:39:37 +02:00
Kingcom
8955fedf44 Open directory as disc image 2013-07-23 17:24:33 +02:00
Henrik Rydgard
09c7aaacad NewUI: Load games directly by press-and-hold on the main menu 2013-07-22 22:36:56 +02:00
raven02
76bd4e3120 Fix rendering mode switching issue in old & new UI 2013-07-22 08:41:58 +08:00
Henrik Rydgård
4f57420de3 Remove erroneous ifdef from newui pause screen.
Now the continue button shows on all platforms.
2013-07-21 20:10:28 +02:00
Henrik Rydgard
2b35aa9050 Add basic NewUI in-game menu. 2013-07-21 13:31:46 +02:00
Henrik Rydgard
28ad8dc230 Lots of NewUI stuff (still experimental), fix back bug with x360 controllers 2013-07-17 22:27:50 +02:00
Henrik Rydgard
bf58b32208 Fix bug that caused us to always show UNKNOWN.PNG for PBP files in recent list and new ui 2013-07-15 18:57:42 +02:00
Henrik Rydgard
09a7bd08fa Assorted UI cleanups. Add a bunch of little image files that may be used in the Ouya port later. 2013-07-15 17:41:24 +02:00
Henrik Rydgard
f2e739992d More mousewheel support 2013-07-08 12:35:08 +02:00
Unknown W. Brackets
9608067ca2 Cleanup initialization order. 2013-07-07 20:31:04 -07:00
raven02
ccb26fe883 Add EXIT button to new UI 2013-06-28 20:29:15 +08:00
Sacha
217e6482eb Qt Buildfix. 2013-06-28 03:40:45 +10:00
Henrik Rydgard
604ad0181b Merge branch 'new-ui'. Still incomplete. Enable by setting NewUI=True in ppsspp.ini
Conflicts:
	UI/MenuScreens.cpp
2013-06-27 16:28:38 +02:00
Henrik Rydgard
84a9209285 More new-ui - a toggle, for example. 2013-06-10 22:06:51 +02:00