Android build - #1804
Conversation
|
Changes:
|
|
Git History should be cleaned up (Some things should be squashed, so that some distinguish commits are there) |
58e0d92 to
1556dcc
Compare
1556dcc to
23ec296
Compare
fa9b143 to
e81e7d7
Compare
511ffbf to
18406ad
Compare
|
#1850 will be merged after its CI finishes. I think the last open issue here was the handling of a double-touch as double-click to close the window. So you can incorporate that (merge or rebase) and check the suggestion I just made. If it works in your tests with those then I'd say this is ready :-) |
18406ad to
bd724d1
Compare
maybe a proper rebase & squashing some of the commits to proper commits would be nice ;-) |
Is this ok? |
|
@Farmer-Markus I made a rebase of your branch on current master formatting each commit. 2 other changes:
Also each commit now builds so I could remove the comments from the last 2 commit titles. Can you verify that this works for you too? You have to pull and reset your local branch due to the force-push. |
Everything works fine but now windows are closed by dbl clicking on the top bar instead of being minimized. |
It was not and I think this wasn't caused by my changes Currently minimizing happens only when window-pinning is enabled and double-clicking the title bar: Your commit 629bc2c removed the check if any button was pressed. Where was/should be the code that minimizes the window on double-tapping the title bar? Maybe we should:
Or (possibly better) use subconditions in the bottom |
Ok now I see why.
I think I'm just messing up my memories. It should close when dblclick on titlebar and window pinning isn't enabled.
I don't think we need to do additional changes. It works how it's intended :D
We could change this just to keep the window open and not accidentally close the window when trying to drag but I think this shouldn't be a serious problem. |
Just to be sure: Double-tap anywhere should close the window except for non-modal windows in these cases:
Correct? |
Yes Correct |
1eed84b to
02fe5da
Compare
|
@Flamefire I've fixed another very annoying bug with disable_mouse when using touch controls. You would always need to click twice to open a IgWindow if misclicked and opened the wrong one. + if(!VIDEODRIVER.IsTouch())
disable_mouse = true;Sorry for the many force-pushes my editor is playing games with me and not showing files how the actually are... |
e08ef3b to
3a55f80
Compare
But why force-push at all? That new change is unrelated to the previous commit so shouldn't be in it. I extracted it to a separate commit and queueing this for merge :) |
Thank you! I've learned so much during this PR :D |
I'm working on recreating my android port of rttr.
Currently the game starts but failes to find any drivers.I would need an option to set a custom output path for the translation/data copying.Also an enviroment variable to set the path to the drivers or the game data (or both)
Also another problem is openGl.
On android only openGl-Es is available and I've used a translation library (gl4es) that works pretty well. But the SDL videodriver would need: 1. to link against gl4es and 2. the SDL_gl_getprocaddress to be replaced by the gl4es equivalent.
This could also be used to support devices like the raspberry pi.
Also I would implement basic touch controls which should also work on touchscreen laptops (thanks to sdl)
I know these would be some pretty big changes...