Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMSUSD-877 Update the look of the Layer Editor. #3643

Merged
merged 4 commits into from
Mar 8, 2024

Conversation

pierrebai-adsk
Copy link
Collaborator

  • Make the action buttons only be drawn when active or when the mouse is over the layer item in the layer editor.
  • Change all the layer item action icons with the new provided images.
  • Make the text, icons all be draw muted when the item is disabled.
  • Use different images for on/off and hover.
  • Don't draw a background rectangle under the action icons.
  • Make each layer item row be 24 pixels high.
  • Adjust action icon centering for narrower rows.
  • Use same code to paint edit target and action icons.
  • Show the mouse cursor with the context menu marker in the layer editor.
  • Move save count badge to the left of the save button and adjust its rendering.
  • Remove the 1-pixel offset when an layer item is selected.
  • Pass multiple data needed to draw an item in struct to simplify calls.
  • Adjust the offset of the disable striped background so that it aligns between rows.
  • Adjust the striped background positioning taking into consideration the position of the item and its indentation.
  • Adjust background color of the layer editor.
  • Add hover highlight of the layer row.
  • Update striped background.
  • Fixed the problems that some tooltips were not showing.
  • Simplified the tooltip handling code..
  • Elide the name of layers with ellipsis when too long to fit.

@pierrebai-adsk pierrebai-adsk added adsk Related to Autodesk plugin enhancement New feature or request labels Feb 29, 2024
@pierrebai-adsk pierrebai-adsk force-pushed the bailp/EMSUSD-877/lock-mute-on-hover branch from 115b9ad to ca4ed47 Compare February 29, 2024 14:40
@pierrebai-adsk pierrebai-adsk self-assigned this Feb 29, 2024
- Make the action buttons only be drawn when active or when the mouse is over the layer item in the layer editor.
- Change all the layer item action icons with the new provided images.
- Make the text, icons all be draw muted when the item is disabled.
- Use different images for on/off and hover.
- Don't draw a background rectangle under the action icons.
- Make each layer item row be 24 pixels high.
- Adjust action icon centering for narrower rows.
- Use same code to paint edit target and action icons.
- Show the mouse cursor with the context menu marker in the layer editor.
- Move save count badge to the left of the save button and adjust its rendering.
- Remove the 1-pixel offset when an layer item is selected.
- Pass multiple data needed to draw an item in struct to simplify calls.
- Adjust the offset of the disable striped background so that it aligns between rows.
- Adjust the striped background positioning taking into consideration the position of the item and its indentation.
- Adjust background color of the layer editor.
- Add hover highlight of the layer row.
- Update striped background.
- Fixed the problems that some tooltips were not showing.
- Simplified the tooltip handling code..
- Elide the name of layers with ellipsis when too long to fit.
Copy link
Collaborator

@AramAzhari-adsk AramAzhari-adsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small change.
The rest LGTM.

Great work!

lib/usd/ui/layerEditor/layerTreeItemDelegate.cpp Outdated Show resolved Hide resolved
AramAzhari-adsk
AramAzhari-adsk previously approved these changes Mar 1, 2024
AramAzhari-adsk
AramAzhari-adsk previously approved these changes Mar 1, 2024
@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Mar 1, 2024
@seando-adsk seando-adsk merged commit 54b2575 into dev Mar 8, 2024
12 of 13 checks passed
@seando-adsk seando-adsk deleted the bailp/EMSUSD-877/lock-mute-on-hover branch March 8, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adsk Related to Autodesk plugin enhancement New feature or request ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants