sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    OnScreen GUI Toolkit

    已排程 已置頂 已鎖定 已移動 Developers' Forum
    28 貼文 11 Posters 8.3k 瀏覽 11 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • K 離線
      kirill2008
      最後由 編輯

      I don't even know how to call this coincidence maybe a kind of synchronicity... I mean a few weeks ago the idea to make custom UI library based on view.draw method suddenly came to my mind. And I even started to code it 😄 Actually I needed a kind of adjustment curve editing control for one of my tools and since I didn't find any javascript ready made widget I decided to make my own control based on view.draw...
      I think it would be interesting to take a look at the result in a video: http://youtu.be/QLfI1McLMa0?hd=1 (skip to 1:08 to view 'Control Curve' window).
      In short, now I think there is no need to continue coding my own library since OnScreen GUI Toolkit is already exist 👍 . I'll try to adapt 'Control Curve' control in it and post result here if you don't mind.
      Thanks for sharing your library 👍

      1 條回覆 最後回覆 回覆 引用 0
      • A 離線
        Aerilius
        最後由 編輯

        That looks cool!
        This toolkit is in early development and it's possible that there will be soon bigger changes in the architecture of the underlying code.
        Dialogs like yours don't exist yet at all, one would have to create a new Dialog class as subclass of Container and then create the dialog titlebar, close buttons etc. maybe border resizing...

        1 條回覆 最後回覆 回覆 引用 0
        • Chris FullmerC 離線
          Chris Fullmer
          最後由 編輯

          Ok, I uploaded my code for the RGB color picker. I'm sure there is lots of optimization that could be done. And its just wrapped in a class. As this development kit keeps improving and adding, maybe the RGB picker could get incorporated into it as well.

          http://forums.sketchucation.com/viewtopic.php?f=180&t=47808

          Chris

          Lately you've been tan, suspicious for the winter.
          All my Plugins I've written

          1 條回覆 最後回覆 回覆 引用 0
          • thomthomT 離線
            thomthom
            最後由 編輯

            Cool! It'd be really nice to see a unified framework here. We're clearly re-inventing each others work.
            I have code that reads BMP files and let you draw it - but it's terrible slow.

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 條回覆 最後回覆 回覆 引用 0
            • D 離線
              dacastror
              最後由 編輯

              with this would it be possible to create a dialog that allows the user to enter a number?

              (google translator)

              1 條回覆 最後回覆 回覆 引用 0
              • A 離線
                Aerilius
                最後由 編輯

                Possibly, but it would not be ideal.
                I also haven't yet got time to finalize this, but I might be able to finish it in future.

                1 條回覆 最後回覆 回覆 引用 0
                • D 離線
                  driven
                  最後由 編輯

                  Has everyone else seen this one?
                  http://sketchucation.com/forums/viewtopic.php?f=323&t=41982&start=45#p406363
                  it is in the other thread but thought it was easier to ask about if it's here...

                  is it the same concept?
                  john

                  learn from the mistakes of others, you may not live long enough to make them all yourself...

                  1 條回覆 最後回覆 回覆 引用 0
                  • D 離線
                    dacastror
                    最後由 編輯

                    I would like to do this, to make a inputbox made with OpenGL, could you please show an example of how to do this?

                    1 條回覆 最後回覆 回覆 引用 0
                    • 1
                    • 2
                    • 2 / 2
                    • 第一個貼文
                      最後的貼文
                    Buy SketchPlus
                    Buy SUbD
                    Buy WrapR
                    Buy eBook
                    Buy Modelur
                    Buy Vertex Tools
                    Buy SketchCuisine
                    Buy FormFonts

                    Advertisement