Commit Graph

118 Commits

Author SHA1 Message Date
Unknown W. Brackets
c1812ae7d7 UI: Clamp scroll pos on render.
This way we don't clamp wrongly when views don't have sizes yet, and we
also do clamp when we need to.

We can allow a little flex by tracking the down state too.
2016-01-23 10:10:43 -08:00
Unknown W. Brackets
705ab497f2 UI: Oops, use tag for focus too. 2016-01-23 09:20:53 -08:00
Unknown W. Brackets
60f00820f8 UI: Move scrollviews to top on hide.
This seems like a common scrolling decision.
2016-01-23 09:15:50 -08:00
Unknown W. Brackets
2176920d5d UI: Disable scroll-to-top on resize of scrollview. 2016-01-23 09:07:14 -08:00
Unknown W. Brackets
1318f29c8d UI: Update layout on recreate to focus subviews. 2016-01-23 09:07:13 -08:00
Unknown W. Brackets
f26d682e14 UI: Persist the last focused view on resize. 2016-01-23 09:07:13 -08:00
Unknown W. Brackets
78aae01cd4 UI: Allow scroll views to persist their position.
It'll be clamped as necessary.
2016-01-22 23:02:44 -08:00
Unknown W. Brackets
1c2ac798cd UI: Persist selected tab on resize. 2016-01-22 22:40:36 -08:00
Unknown W. Brackets
f6772ec526 UI: Add a simple means of persisting data. 2016-01-22 22:40:16 -08:00
Munir
ed9aeb4c3a Merge remote-tracking branch 'origin/x64-android-support' 2016-01-18 06:05:46 +01:00
Carlos Estrague
cc169c440e Fix I forgot typo declaration x64_64 android port.
Acording in the usr/include/GLES2/gl2ext.h 

typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2016-01-18 05:20:14 +01:00
Carlos Estrague
76f22aaa46 API changed 2016-01-18 01:36:48 +01:00
Carlos Estrague
2564314c0f fix typo again.
fault copy/past.
2016-01-18 01:11:19 +01:00
Munir
7be2f81544 Initial support x64-android 2016-01-17 23:34:25 +01:00
Unknown W. Brackets
6d6c415f2b Merge pull request #8443 from hrydgard/pseudo-shader-cache-gl-2
GL shader disk cache .. kind of
2016-01-17 14:28:05 -08:00
Henrik Rydgard
b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Unknown W. Brackets
58ecb2cbd4 Fix a header declaration.
Seemed to be needed for x64 Android, and is correct as bitfield anyway.
2016-01-17 12:55:47 -08:00
Henrik Rydgard
27c71aa340 Get rid of the unused "InstallID" 2016-01-17 15:46:15 +01:00
latot
e82620c572 remove
remove
2016-01-16 09:32:39 -03:00
latot
53ac6d98d8 Little things
back 1

other little change, join 2 in 1
2016-01-09 20:44:02 -03:00
Unknown W. Brackets
481be1cd34 Fix GL feature detection. 2016-01-06 20:26:53 -08:00
Unknown W. Brackets
9fa6777c3e Fix copy/paste mistake with growing views. 2016-01-04 06:46:06 -08:00
Henrik Rydgård
5bd72ea268 Merge pull request #8347 from hrydgard/graphics-context
Graphics context
2016-01-03 18:54:58 +01:00
Henrik Rydgard
f7f9f321a0 Qt fixes 2016-01-03 15:03:08 +01:00
gmvbif
1794ca908f Fixed some warnings from Native project
- fastMode assigned twice in ChunkFIle constructor
 - added checking for fail while reading ini file (possible infinity loop)
 - zim_save assigned dithval twice (Please double check this)
 - in http_client added checking progress againt nullptr
2016-01-02 09:40:48 +03:00
Henrik Rydgard
5ff8224075 Try to fix blackberry build 2016-01-01 15:17:55 +01:00
Henrik Rydgård
95822a165d Fix Mac build 2016-01-01 14:40:19 +01:00
Henrik Rydgard
ae3458ec6e Buildfixes linux 2016-01-01 14:40:17 +01:00
Henrik Rydgard
15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Unknown W. Brackets
a982438296 thin3d: Use GL_COLOR_LOGIC_OP. 2015-12-28 14:13:21 -08:00
Henrik Rydgård
b117896b63 Merge pull request #8317 from unknownbrackets/minor
Minor fixes to SDL + resolution display
2015-12-28 19:46:18 +01:00
Unknown W. Brackets
267bd0e2f7 SDL: Avoid dereferencing an invalid iterator.
Might not be a key we know about.
2015-12-27 12:04:18 -08:00
Unknown W. Brackets
dcda4967fe SDL: Prevent windowevents from triggering keys.
There was no break, unintentional fall-through.
2015-12-27 12:03:26 -08:00
latot
b22ee53662 Change char assign 2015-12-27 16:52:38 -03:00
latot
c7b98b84c2 Add extended keys(latam) 2015-12-27 15:45:50 -03:00
Henrik Rydgård
58ef5ee940 Merge pull request #8307 from unknownbrackets/minor
Allow shortcut min/max on Windows, fix config save on exit
2015-12-26 10:39:57 +01:00
Unknown W. Brackets
82e41a1392 Make sure the config is saved on exit.
May help #7724.
2015-12-25 19:39:52 -08:00
gmvbif
ae1c1a0295 Fixed some errors from PVS-Studio in Common project
Color conversion assigned 'a' twice.
Console listener use local variable with the same name a class member.
Some additionals to nocopy for FileUtils and mutex
2015-12-25 09:49:26 +03:00
Henrik Rydgård
21bf73a612 Merge pull request #8281 from unknownbrackets/ui-tweaks
Add feature to auto-hide buttons after X seconds
2015-12-24 23:15:59 +01:00
Henrik Rydgård
1e2f45ec4f Merge pull request #8291 from unknownbrackets/ui-tweaks2
Show a scroll view inside the devtools window
2015-12-24 23:15:46 +01:00
Unknown W. Brackets
2389ef589e Fix a mistaken string compare. 2015-12-23 15:26:29 -08:00
Unknown W. Brackets
d6cd3bd5ad Remove some unused variables. 2015-12-23 15:22:28 -08:00
Unknown W. Brackets
279d3b20cf thin3d: Only use VAOs in core profile. 2015-12-22 22:15:13 -08:00
Unknown W. Brackets
5ff7781a3c thin3d: Fix drawing without VAO support. 2015-12-22 22:15:12 -08:00
Unknown W. Brackets
8923bd46e7 Support AT_MOST for WRAP_CONTENT. 2015-12-22 20:45:50 -08:00
Unknown W. Brackets
85ad28d4cd Prettify fake RTTI for layout params.
Better not to make the RTTI/non-RTTI thing a problem in lots of places.
2015-12-22 20:45:49 -08:00
Unknown W. Brackets
e7f70ff8d0 Handle weighted LinearLayout children better.
This allows them to not stretch the parent completely, but still increase
the size of the parent.
2015-12-22 20:45:49 -08:00
Unknown W. Brackets
f64159a3f2 Respect AT_MOST when measuring ScrollViews. 2015-12-22 19:53:31 -08:00
Unknown W. Brackets
5c9cf65939 Allow AnchorLayouts to prevent overflow.
This is useful to propagate the bounds into children.
2015-12-22 19:52:23 -08:00
Unknown W. Brackets
08ebbb4a60 Customize labels for zero in config sliders. 2015-12-20 13:13:44 -08:00