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

Latest DrawingIsland changes #338

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open

Commits on May 2, 2024

  1. Create updated DrawingIsland sample using public WASDK 1.5

    Update the DrawingIsland sample using public WASDK 1.5 APIs.
    jeffstall committed May 2, 2024
    Configuration menu
    Copy the full SHA
    9b3b9af View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Create CsWinRT version (not working)

    Renamed C++ version into CppTest and created parallel C# / NET CsTest version.
    
    The Cs version is not working correctly with CsWinRT and .NET 8 yet. To get the C++ projects to successfully build, unload the Cs projects from the VS solution:
    - DrawingCsTestApp
    - DrawingCsTestPackage
    - DrawingIslandCsProjection
    jeffstall committed May 3, 2024
    Configuration menu
    Copy the full SHA
    b5bb471 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2024

  1. Fix CsWinRT

    Thanks to Manodasan, this fixes the CsWinRT support. :-)
    jeffstall committed May 4, 2024
    Configuration menu
    Copy the full SHA
    dd6a99c View commit details
    Browse the repository at this point in the history
  2. Clean up #if BLOCKs

    Resolve most #if/#endif blocks for either support or not.
    Remaining:
    - Mica on Win11
    - Improve Accessibility
    jeffstall committed May 4, 2024
    Configuration menu
    Copy the full SHA
    e1cf3b7 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. Clean up samples

    Move feature areas into sub-structs to partition. (Will continue this more.)
    Fix word-wrapping at 100 columns.
    jeffstall committed May 5, 2024
    Configuration menu
    Copy the full SHA
    f5ab261 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. More clean-up

    Members are now in a more readable order, members that are not used have been removed, and everything is better partitioned.
    jeffstall committed May 6, 2024
    Configuration menu
    Copy the full SHA
    8691006 View commit details
    Browse the repository at this point in the history
  2. Remove WASDK experimental 1.2 example

    The experimental sample has now been completely superseded by the new WASDK 1.5 public DrawingIsland sample that shows both C++ and C# callers.
    jeffstall committed May 6, 2024
    Configuration menu
    Copy the full SHA
    b5c4dbb View commit details
    Browse the repository at this point in the history
  3. Refactor UIA (#337)

    * Refactor UIA
    
    * Update UIA when visual ordering changes
    
    * Fix keyboard input and support UIA removal of all children
    
    ---------
    
    Co-authored-by: adpa-ms
    adpa-ms authored May 6, 2024
    Configuration menu
    Copy the full SHA
    2bd0571 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1faffb9 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. User/niklasb/drawingisland text2 (#339)

    * Add TextElement and TextRenderer classes.
    
    * Hook up the text element to the drawing island.
    
    * Rename VisualElement to VisualItem.
    
    * Add a margin around text.
    
    * Address code review feedback.
    niklasb-ms authored May 7, 2024
    Configuration menu
    Copy the full SHA
    90fed17 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97cd5fb View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. User/getrou/lottieisland (#340)

    * Show how to consume LottieIsland
    
    * Changed LottieIsland to be based of command line argument
    
    * Rename LottieIslandScenario
    
    * Respond to Jeff's PR feedback
    
    ---------
    
    Co-authored-by: Jeffrey Stall <[email protected]>
    getrou and jeffstall authored May 8, 2024
    Configuration menu
    Copy the full SHA
    536f973 View commit details
    Browse the repository at this point in the history
  2. Minor clean-up

    jeffstall committed May 8, 2024
    Configuration menu
    Copy the full SHA
    7fcecc3 View commit details
    Browse the repository at this point in the history
  3. Added simple SceneNode 3D support

    Ported from SceneGraph Samples.
    jeffstall committed May 8, 2024
    Configuration menu
    Copy the full SHA
    c609c5d View commit details
    Browse the repository at this point in the history
  4. UIA cleanup (#343)

    Co-authored-by: Adib Parkar <[email protected]>
    adpa-ms and Adib Parkar authored May 8, 2024
    Configuration menu
    Copy the full SHA
    486dff5 View commit details
    Browse the repository at this point in the history
  5. Add proper island cleanup flow to DrawingIsland sample app (#344)

    Co-authored-by: Adib Parkar <[email protected]>
    adpa-ms and Adib Parkar authored May 8, 2024
    Configuration menu
    Copy the full SHA
    6f0fe43 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Remove unnecessary explicit Close (#347)

    Co-authored-by: Adib Parkar <[email protected]>
    adpa-ms and Adib Parkar authored May 9, 2024
    Configuration menu
    Copy the full SHA
    09926e1 View commit details
    Browse the repository at this point in the history
  2. Update DrawIsland sample's SceneNode scenario to load helmet model (#346

    )
    
    Co-authored-by: Andy Chen (ABC) <[email protected]>
    achen144 and Andy Chen (ABC) authored May 9, 2024
    Configuration menu
    Copy the full SHA
    87696c7 View commit details
    Browse the repository at this point in the history
  3. Clean up SceneNode samples after Helmet

    Restore Duck and rename Helmet.
    
    Rewrite Helmet loading code:
    1. Share common memory buffer code.
    2. Execute file loading / bitmap decoding parallel.
    3. Make more common functions to improve readability.
    jeffstall committed May 9, 2024
    Configuration menu
    Copy the full SHA
    ddf19ec View commit details
    Browse the repository at this point in the history
  4. Add Mica (Win11) and Acrylic (Win10) backdrops (#348)

    Co-authored-by: Adib Parkar <[email protected]>
    adpa-ms and Adib Parkar authored May 9, 2024
    Configuration menu
    Copy the full SHA
    95c5f93 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9393b7f View commit details
    Browse the repository at this point in the history
  6. Fix Cs projects to require RS5

    The Cs projects run down-level to RS5. They should not require Win11.
    jeffstall committed May 9, 2024
    Configuration menu
    Copy the full SHA
    a65dfb9 View commit details
    Browse the repository at this point in the history
  7. Handle device-lost for text in DrawingIslands sample. (#351)

    * Add RecreateGraphicsDevice method.
    
    * Implement TextRenderer::RecreateDirect2DDevice.
    
    * Catch device-removed exceptions.
    
    * Add DeviceLostHelper class.
    
    * Handle device lost event.
    
    * DeviceLostHelper cleanup.
    niklasb-ms authored May 9, 2024
    Configuration menu
    Copy the full SHA
    3ed8ed4 View commit details
    Browse the repository at this point in the history
  8. Fix merge

    - Niklas and Adib created conflict with UIA refactoring.
    - Aligned sample "main" steps for Cs and Cpp.
    jeffstall committed May 9, 2024
    Configuration menu
    Copy the full SHA
    0e07f71 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    eddebd6 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Improve text sharpness in DrawingIsland sample (#354)

    * Snap pixels on text surface brush and visual.
    
    * Disable stretching and alignment in Text's surface brush
    
    * Set visual to size of text surface to disable stretch/alignment
    
    * Correctly set a text item visual's size to match the surface size.
    
    ---------
    
    Co-authored-by: achen144 <[email protected]>
    niklasb-ms and achen144 authored May 10, 2024
    Configuration menu
    Copy the full SHA
    13b288a View commit details
    Browse the repository at this point in the history

Commits on May 11, 2024

  1. Configuration menu
    Copy the full SHA
    3124ee4 View commit details
    Browse the repository at this point in the history
  2. Use #region to help demo

    jeffstall committed May 11, 2024
    Configuration menu
    Copy the full SHA
    6b15e7b View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    ae4dd24 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. //build start

    jeffstall committed May 14, 2024
    Configuration menu
    Copy the full SHA
    cb39eb7 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Prepare for //build

    jeffstall committed May 15, 2024
    Configuration menu
    Copy the full SHA
    a993848 View commit details
    Browse the repository at this point in the history