Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Porting Rust UI Toolkit OrbTk to Ubuntu Touch

    App Development
    4
    8
    811
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FloVanUB last edited by advocatux

      Hello together,

      I'm the maintainer of OrbTk a cross platform UI-Toolkit written in plain Rust. I've interested in porting it to Ubuntu Touch. What would be necessary in order to accomplish it? I've seen there is already a clickable template for Rust with Qml. We working on a render abstraction layer and support now two render libraries Cairo and a custom renderer also written in Rust. Could be Cairo easily port to Ubuntu Touch? Otherwise we could also implement a SDL2 renderer for example.

      We would also provide a Suru theme for OrbTk then 😉.

      Regards

      advocatux BlueKenny 2 Replies Last reply Reply Quote 3
      • advocatux
        advocatux @FloVanUB last edited by advocatux

        @FloVanUB hi, your proposal sounds good but I don't know about the technical details to achieve that. I just want to tell you that I remove that 'Cairo' link you inserted pointing to a search engine. If you want to add or link an explanation about what's 'Cairo', please explain it here directly or use a straightforward link, like for example: https://www.cairographics.org. Thank you for your understanding 🙂

        F 1 Reply Last reply Reply Quote 0
        • G
          gmelchett last edited by

          SDL2 works fine. I did some hacking with PySDL some months ago.

          F 1 Reply Last reply Reply Quote 0
          • F
            FloVanUB @advocatux last edited by

            @advocatux no problem 😉. Thank you for the hint.

            1 Reply Last reply Reply Quote 1
            • F
              FloVanUB @gmelchett last edited by

              @gmelchett thank you. SDL2 was my first approach. Should not be too much effort, because we have experienced with sdl2 in OrbTk. I hope it will works 😁.

              advocatux 1 Reply Last reply Reply Quote 0
              • advocatux
                advocatux @FloVanUB last edited by

                @FloVanUB I'm remembering now that https://open-store.io/app/balls2.briketa is made with SDL2 precisely.

                1 Reply Last reply Reply Quote 0
                • BlueKenny
                  BlueKenny @FloVanUB last edited by

                  @FloVanUB Can this already be tested ?

                  Fairphone 4
                  PinePhone
                  Nexus 7 Flo

                  1 Reply Last reply Reply Quote 0
                  • F
                    FloVanUB last edited by

                    Unfortunately not on UT now. It's gonna take some time. The priority of the last weeks was the API. Next steps would be Web support, new widgets, refactoring and more examples.

                    As soon as there's something to announce, I'll let you know.

                    1 Reply Last reply Reply Quote 3
                    • First post
                      Last post