Jump to content
The Dark Mod Forums

Customisable Interface


Recommended Posts

On a similar note: Do we still need the splitplane view?

Otherwise the window management would be a bit easier, as there are lot of if clauses involved to determine which window can be toggled and which can not.

 

My personal preference would be to ditch it, but some people like it (I think Crispy preferred it, for instance). With that in mind I think we should keep it unless we can provide an interface which is universally accepted as preferable.

Link to comment
Share on other sites

Whoopsie, just realised that I get a crash after closing one of the newly created xy views. I'm off to investigate this...

 

edit: Damn, the crashing call is hidden somewhere. Orbweaver, could you give me a hint, where the crash is happening? Perhaps it is some GTK-related crash with some widget still referenced?

 

edit2: I think I already have a trace, stay tuned.

Link to comment
Share on other sites

I've learned now that it is bad to return true in an GTK "delete-event" callback. And there were some problems with the XYWnd destructor dereferencing its GLWidget instead of hiding it. This way my destroyOrthOView() method could not destruct them anymore.

Link to comment
Share on other sites

I've learned now that it is bad to return true in an GTK "delete-event" callback. And there were some problems with the XYWnd destructor dereferencing its GLWidget instead of hiding it. This way my destroyOrthOView() method could not destruct them anymore.

 

I've encountered both of those, in one situation or another. Singleton dialogs which should be hidden but get destroyed will give you an error like "GTK_IS_WIDGET failed" next time you try to open them; returning the wrong value from a callback may do all sorts of things if other events should be called but don't anymore.

Link to comment
Share on other sites

The nice thing about the split pane view is that you don't need to faff around with windows as much. None of the views can ever overlap each other, so all you need to worry about is moving the other tool windows out of the way (or you can just close them since they're easily re-opened).

 

I have a couple of friends who wrote their own window manager for Linux that works on a tiling basis (most of the time - you can also "float" windows, so that they behave as they normally do in most windowing systems). They swear by it, and I can see their point. One day I'll probably end up using it myself. :) (Just like one day I'm going to ditch Windows for everyday stuff...)

My games | Public Service Announcement: TDM is not set in the Thief universe. The city in which it takes place is not the City from Thief. The player character is not called Garrett. Any person who contradicts these facts will be subjected to disapproving stares.
Link to comment
Share on other sites

The quad-split one looks the most useful to me. From a personal preference point of view, I can't really see the point of the other two.

 

OTOH, some people may use it - and if you're going to have to support one fixed layout, is it really any more work to support the others? Might as well leave it in.

My games | Public Service Announcement: TDM is not set in the Thief universe. The city in which it takes place is not the City from Thief. The player character is not called Garrett. Any person who contradicts these facts will be subjected to disapproving stares.
Link to comment
Share on other sites

On SVN: the XY view window sizes and positions are now saved into the XMLRegistry and restored on Radiant startup.

 

Still to come: Make the camwindow use the new WindowPosition class and dump the legacy code from window.h.

Link to comment
Share on other sites

  • 2 weeks later...

I committed another fix for the "feature" that caused XYViews to stay on top even if the main window got minimised. The original GtkRadiant code did implement this and I took the relevant part and packed it into the TransientWindow class.

Link to comment
Share on other sites

Now on SVN: the user can edit the shortcut/command associations directly in DarkRadiant:

 

shortcutchooser9ec.th.png

 

Just double click on any of the commands and press the new shortcut. An "overwrite" confirmation dialog is shown if the shortcut is already in use by another command.

Link to comment
Share on other sites

I've added another functionality to the MouseEventManager: if the user is holding down a modifier, the possible mouse events (Zoom, Toggle Selection, etc.) are shown in the lower left status bar, like this:

 

statustextcommandlist0ce.th.jpg

 

I also changed the status bar updater in mainframe.cpp to accept pango markups, so that the status texts can be properly formatted.

Link to comment
Share on other sites

I've committed a first draft of a plugin that should handle the orthoview image overlays. It's not functional yet, should I stop working on it till 0.8.0 is released or should we just omit shipping the dll with the package? It's not relied upon by the main code at the moment.

Link to comment
Share on other sites

I suggest committing into a branch for the time being, so that 0.8.0 can be built from the trunk and the new changes merged in later.

 

If you haven't used a branch before in SVN, it is quite easy - you just choose the "Branch/Tag" menu option (in Eclipse or Tortoise, the dialog is almost identical), then enter a URL underneath the branches/ top-level folder, choose "From Working Copy" and tick the option to "Switch to new branch". Then all of your subsequent commits are made into this branch.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
×
×
  • Create New...