by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Kristian Brodal
    @whuop
    From what i can see, its the same naming convention used in other gemini modules as well
    a strange thing ive noticed, that differs in my code, from the current code in Gemini is that there is no InitializeComponent() method to call for me in the View.cs files
    Kristian Brodal
    @whuop
    weird thing is, im doing exactly this in my other gemini project, for a tool, and there it works fine. But not with this document
    Kristian Brodal
    @whuop
    Is there any difference in how document views are bound?
    Tim Jones
    @tgjones
    No, documents and tools should be the same in that regard. Are you sure the namespaces match up, and only differ in the last bit with ViewModels / Views?
    Kristian Brodal
    @whuop
    ah, damn it x_X
    been staring myself blind at this, was missing a middle piece of the namespace
    now it found the view, thanks :) Not rendering correctly yet though, but a lot easier to test now ;D
    Kristian Brodal
    @whuop
    do you know of any reason, on the top of your head, that could cause none of my controls or elements to be found with UserControl.FindName? when the name of the elements in the xaml have been set with x:Name. My sceneview UserControl is run, but neither the grid or the DrawingSurface can be found
    i've tried doing it in both the constructor and OnInitialized
    i've tried methods of finding recursively as well, but no luck
    Kristian Brodal
    @whuop
    and according to what im finding, the controls should be accessible inside my user control if they exist in the xaml
    Kristian Brodal
    @whuop
    image.png
    not sure if these messages i get when running it are related, and if so, what would be missing
    Tim Jones
    @tgjones
    InitializeComponent may very well be related to that. Are you running under .NET Core or .NET Framework?
    Kristian Brodal
    @whuop
    .net core
    and visual studio cant find any initializecomponent
    when i read up on that specific thing, it says both x:Class namespace in xaml and the cs part of the view, both need to have the same namespace, which they do
    aha, the xaml had lost its build action =/
    and now it finds initialize component!
    There's a lot of small things that need to align in wpf haha
    Kristian Brodal
    @whuop
    image.png
    i think it worked O_O
    i basically have no idea what im doing in wpf haha, but the different pieces are starting to make sense
    will clean it up a bit later, hook the rest of the stuff up ( had to comment some pieces out to just get it working initially ), and then do a fork if you would be interested in using it
    Kristian Brodal
    @whuop
    gonna try to make it a bit more easy to hook up to your own set up of monogame. If that would be something interesting, or if you would just want i minimal viable renderer that people extend themselves
    Tim Jones
    @tgjones
    I think a minimal MonoGame module, that depends only on MonoGame’s NuGet packages, would be ideal. If there’s a demo it could go in the existing Gemini.Demo, no need for a separate demo application.
    Nice work :smile:
    Kristian Brodal
    @whuop
    Allright =)
    For my own personal use, im setting it up so that a new thread is started as well, that runs a MonoGame.Game instance
    so that i get the usual monogame workflow, and only rendering in that window
    and thanks :)
    Kristian Brodal
    @whuop
    image.png
    Im trying to figure out how to add my own options to this options window
    Got any pointers? Been looking through the github and source
    Tim Jones
    @tgjones
    Have a look at DemoApplicationSettingsViewModel
    Kristian Brodal
    @whuop
    Thanks! :)
    Kristian Brodal
    @whuop
    Is there an easy way to remove the default commands in the menubar? In File -> New etc
    Also, sorry for not submitting the monogame renderer yet, got ill and it has lasted a bit long, so all my time has gone to work coding
    Tim Jones
    @tgjones
    I don’t think there is - that would be nice to add somehow.
    No problem, no rush!
    Hope you feel better.
    Kristian Brodal
    @whuop
    Because currently, the unused commands just yield a null ref. Is there a proposed way of getting rid of them the tedious way, or to repurpose them?
    Argument Exception, not null ref i meant
    Kristian Brodal
    @whuop
    Figured out how to remove them with exclude variants of the definitions :)
    Daniel Mittelstadt
    @DMtsdt
    Hello all
    I'm considering migrating from my own shell to Gemini, but my application includes different modular components that are loaded at runtime from .dlls (using Castle.Windsor and Caliburn.Micro) in order to manage user permissions and update components individually.
    Is that something Gemini can do natively through its modularity features or are they solely there to manage code?
    Kristian Brodal
    @whuop
    @tgjones How is the dark / light theme stuff handled? I would like to react to when it changes and apply the same color scheme to modal windows
    Also, back and working on my editors based on gemini now ;D work put me on some more crucial stuff for 2 months
    i've found the different xamls with the themes, and their definitions, but not sure how to apply it to my controls easily
    Kristian Brodal
    @whuop
    from what i've managed to figure out looking at the source, it's set using DynamicResource, but the dynamic resource keys can't be resolved when i try to use them