UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Porting Rust UI Toolkit OrbTk to Ubuntu Touch

    Scheduled Pinned Locked Moved App Development
    8 Posts 4 Posters 1.1k Views 2 Watching
    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 Offline
        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

        advocatuxA BlueKennyB 2 Replies Last reply Reply Quote 3
        • advocatuxA Offline
          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 Offline
            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 Offline
              FloVanUB @advocatux
              last edited by

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

              1 Reply Last reply Reply Quote 1
              • F Offline
                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 😁.

                advocatuxA 1 Reply Last reply Reply Quote 0
                • advocatuxA Offline
                  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
                  • BlueKennyB Offline
                    BlueKenny @FloVanUB
                    last edited by

                    @FloVanUB Can this already be tested ?

                    Fairphone 5
                    PinePhone
                    Nexus 7 Flo

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      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