https://kotlinlang.org logo
Title
p

Pablo Caviglia

11/11/2020, 5:19 PM
i've this agOpenGl.setViewport(0, 0, width, height) in my android app, but looks like that method doesn't exists anymore with those parameters...
d

Deactivated User

11/11/2020, 5:25 PM
why was that required? I changed how it worked that
to get it working on awt/macos inside intellij with other components
p

Pablo Caviglia

11/11/2020, 5:25 PM
do you remember that I had to create a view for having korge draw on it ?
d

Deactivated User

11/11/2020, 5:26 PM
I think we should integrate that in korgw itself
so it is just a component for you
p

Pablo Caviglia

11/11/2020, 5:26 PM
yes, that would be great
the only thing is that i believe there are some depedencies from my specific project... it's not very well isolated
yeah... there are many dependencies to com.senaptec
d

Deactivated User

11/11/2020, 5:28 PM
we can do something to make that extendable
maybe provide signals or method to extend, etc.
you were adding the playSound because there was a bug or something like that, right?
p

Pablo Caviglia

11/11/2020, 5:29 PM
right
d

Deactivated User

11/11/2020, 5:30 PM
I'm going to try to include an android view in the next release and add a sample embedding it into an existing application
p

Pablo Caviglia

11/11/2020, 5:30 PM
i see that mainly all the callbacks are made through line 194
d

Deactivated User

11/11/2020, 5:31 PM
p

Pablo Caviglia

11/11/2020, 5:31 PM
in the Module definition
excellent
about the viewport so i can run in on android ?
any clues ?
this is the current activity
p

Pablo Caviglia

11/11/2020, 5:34 PM
well... just removing the viewport call it seems to be working... 🤷
d

Deactivated User

11/11/2020, 5:35 PM
glad to know
the viewport maybe is automatically set