Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

UITK rewrite#29

Merged
Falki-git merged 90 commits intoMicrologist:mainfrom
Falki-git:uitk-rewrite
Jun 28, 2023
Merged

UITK rewrite#29
Falki-git merged 90 commits intoMicrologist:mainfrom
Falki-git:uitk-rewrite

Conversation

@Falki-git
Copy link
Collaborator

@Falki-git Falki-git commented Jun 6, 2023

Windows:

  • Popped-out window
  • Docked window
  • MainGui window
    Settings window not needed
  • Edit windows window
  • Flight Stage info window
  • OAB Stage info window
  • OAB Celestial bodies selection
    OAB window settings (torque) not needed

Unity controls:

  • BaseEntryControl
  • TimeEntryControl
  • LatLonEntryControl
  • SeparatorEntryControl

Controllers:

  • Flight scene
  • OAB scene

Other:

  • OnEntryValueChanged event
  • OnUnitChanged event
  • Make window draggable
  • Clamp to screen
  • Saving window positions and states
  • Better Settings & Close buttons
  • Locking windows (background alpha = 0, buttons hidden)
  • Fix namespaces
  • Introduce timer for double clicking within EditWindows
  • Center OAB Body header label
  • ALT+E as keyboard shortcut for opening UI

Maybe in another release:

  • Hide maneuver window when no active maneuver
  • Hide target window when no active target

Most probably in another release:

  • Window snapping
  • Revert and Save buttons for EditWindows
  • Maneuver window header & footer
  • Make windows resizable
  • Maybe add configurable window scaling
  • Themes support
  • Layout reset
  • Entry description
  • Editable StageInfo window

Falki-git added 5 commits June 5, 2023 01:08
- Create BaseEntryControl (Unity Editor control)
- Create first draft of PoppedOutWindow as a POC
Also:
- move TimeEntryControl to a new file
- minor adjustments to .uss
Also minor adjusting of styles
- docked window uxml will actually be used for docked and poppedout window (will rename later)
- poppedoutwindow uxml will not be used
- now uses K2D2 close and settings icon
- add new popout icon
@Falki-git
Copy link
Collaborator Author

Docked windows 20230609

- Add StageInfoEntryControl
- Add StageInfoHeader.uxml (template to be inserted into header of EntryWindow)
@Falki-git
Copy link
Collaborator Author

StageInfo window 20230609

- add entry type (basictext, time, lat/lon, stage, separator); needed for data refreshing
- add events: unit change, time value change, lat/lon change
- add time and lat/lon parsers to support uitk way of rendering values
- add FlightScene Controller
- add MainGuiController
- add EntryWindowController
- add Uxmls.cs (loads assetbundle)
- move all Enums to a separate file (utilities -> enums.cs)
- temporary launch new uitk MainGui from the load layout event
@Falki-git
Copy link
Collaborator Author

Connected to ME's inner workings_20231010

- add StageInfoEntries Builder (builds stage info stages and handles value changes)
- add Header & Footer to EntryWindowController
- center MainGui when it's created
@Falki-git
Copy link
Collaborator Author

StageInfo window

@Falki-git Falki-git marked this pull request as ready for review June 28, 2023 12:22
@Falki-git Falki-git merged commit d888592 into Micrologist:main Jun 28, 2023
@Falki-git Falki-git deleted the uitk-rewrite branch December 23, 2023 17:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant