Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Mar 27 01:26
    ethindp commented #7
  • Jul 05 2020 18:21

    KenSuenobu on 0.1.4

    Updated formatting. (compare)

  • Jul 05 2020 18:21

    KenSuenobu on 0.1.4

    Updated formatting. (compare)

  • Jul 05 2020 18:20

    KenSuenobu on 0.1.4

    Updated to use latest caches. (compare)

  • Jul 05 2020 18:16
    KenSuenobu closed #34
  • Jul 05 2020 18:16
    KenSuenobu commented #34
  • Jul 05 2020 18:16

    KenSuenobu on 0.1.4

    Updated to use new caches. Updated to use new caches. (compare)

  • Jul 05 2020 18:15

    KenSuenobu on 0.1.4

    Renamed widget cache. (compare)

  • Jul 05 2020 18:15

    KenSuenobu on 0.1.4

    Updated to move cache. Issue #34 - Completed cache. (compare)

  • Jul 05 2020 17:59
    KenSuenobu labeled #34
  • Jul 05 2020 17:59
    KenSuenobu opened #34
  • Jun 16 2020 06:01

    KenSuenobu on 0.1.4

    Bump version. (compare)

  • Jun 16 2020 05:42

    KenSuenobu on 0.1.4

    Bump version. (compare)

  • Jun 16 2020 05:28

    KenSuenobu on 0.1.3

    (compare)

  • Jun 16 2020 05:28

    KenSuenobu on master

    Bumped version. Merge branch 'master' of github… Added RadioButton example, upda… and 12 more (compare)

  • Jun 16 2020 05:27
    KenSuenobu closed #10
  • Jun 16 2020 05:27
    KenSuenobu opened #10
  • Jun 16 2020 05:27

    KenSuenobu on 0.1.3

    (compare)

  • Jun 16 2020 05:27

    KenSuenobu on master

    Bump version. Updated properties to only need… Updated change log to include I… and 19 more (compare)

  • Jun 16 2020 05:27
    KenSuenobu closed #33
Ken Suenobu
@KenSuenobu
Figured you might want to chat here so I can get an outcome as to whether or not my lib works on iOS! :D
Ken Suenobu
@KenSuenobu
Got menu items working ... need to work on the drop down menu displaying now
Alan Jones
@eremzeit
image.png
hiii, i just had a question about how to use the library. Before the library was split up into two repos, I used the library by adding the screenshot above to my toml file.
But now when I try to point the toml to the new library location I get the following error message.
image.png
@KenSuenobu am I missing something?
Ken Suenobu
@KenSuenobu
Hmmmm, that's interesting.
You shouldn't need anything specific in the depedency other than the version of the crates: pushrod = "^0.1" and pushrod-widgets = "^0.1"
1 reply
What's important is that the pushrod and pushrod widgets versions match
Both are at 0.1.2 right now
Ken Suenobu
@KenSuenobu
The other thing you could try using is, if you're trying to compile the code in the pushrod project, you could try running scripts/checkout.sh which will place pushrod-widgets into its own checked out project. That way, you can run cargo build --all and it should build appropriately. I think you can also run cargo install --all and it'll install locally.
Alan Jones
@eremzeit
thanks for your help
Ken Suenobu
@KenSuenobu
Did that work?
Old version of rust-pushrod is deprecated and is giving way to this new library. The new library has a lot more functionality that allows for easier Widget creation and management.
I just have to give Widgets access to the cache so that they can add their own widgets and manage them internally. Once I have that done, the rest will be cake.
(But if you're a Portal fan, you know, the Cake is a Lie™) :D
Alan Jones
@eremzeit
i've only played through portal 2 coop mode but i gotcha
awesome. i'm (still) planning on using pushrod for my digital creatures project. i like that it's lightweight and doesn't have a steep learning curve.
And yes this worked for me. I just needed to fix to versions rather than git commits.
Alan Jones
@eremzeit
I can't seem to find the Layout trait in the new versions of the library. Did you decide that this was not a worthwhile approach or do they just need to be re-implemented in the new versions of the library?
Ken Suenobu
@KenSuenobu
I haven't implemented Layouts yet
I need to get the ability to pass the cache to a Widget when adding an object to the list (via a "needs_layout" call). Once I get that working, I can then work on Layouts, since layouts will control the widgets that they have as part of their collective layout.
The layout will modify the offsets and sizes automatically, which is what the "needs_layout" call will assist with. Layouts will operate similar to Widgets, but have additional accessors to allow for widgets to be added directly to their tree, as opposed to the main drawing tree.
I believe it's similar to how Qt does their layouts
Alan Jones
@eremzeit
Ah nice. Makes sense.
image.png
Is it intentional that this method mutably borrows self?
Seems like it could be safely modified to be a non-mutable borrow.
Ken Suenobu
@KenSuenobu
Naw, I figured out a different way to do it
Oh, the "invalidated" ... it doesn't need to mutably borrow self. It doesn't do a set, it just checks to see if a key is set. I can make a change there. I'd probably suggest filing a "bug" or "enhancement" ticket to pushrod-widgets, and I'll fix it!
(And you'll get the credit)
Or ... even better ... you can submit a pull request with the mod!
mod(s)
Alan Jones
@eremzeit
:+1:
Ken Suenobu
@KenSuenobu
If there's other places where it makes sense to borrow immutable, that's fine
Alan Jones
@eremzeit
Sounds good. I'll make a note to try to get that PR out.
Ken Suenobu
@KenSuenobu
Sure. Track it to an issue so I can put it on the changelog
Ken Suenobu
@KenSuenobu
Wow, that last check-in was a doozy
Ken Suenobu
@KenSuenobu
Okay, I now have popup menus in Pushrod. This was one of the biggest things holding me back with the original Pushrod. Now that I have this functionality, I can easily hide/show popups, so the next thing I'll want to do is implement "add_widget" so I can add widgets directly to other widgets instead of the cache.
Alan Jones
@eremzeit
Nice. I updated my prototype app point to local git repos of pushrod and pushrod-widgets. This means I'll be setup to contribute PRs if I end up making any small fixes or improvements while I'm developing my prototype.
Ken Suenobu
@KenSuenobu
Sounds good!
Ken Suenobu
@KenSuenobu
Did any of this end up working for you? :D