rabbitism dccb3c029c Refactor and optimize overlay dialog handling and resizing logic
- Remove unused `_moveDragging` variable in `OverlayFeedbackElement.cs`
- Rename private static animations to follow PascalCase in `OverlayDialogHost.Shared.cs`
- Simplify and streamline `ClickMaskToCloseDialog`, `OnPointerMoved`, `OnPointerPressed`, and `OnPointerReleased` methods in `OverlayDialogHost.Dialog.cs`
- Remove redundant null checks and streamline method calls in various files
- Optimize `_moveDragging` logic and pointer event handling in `DialogControlBase.cs`

This commit enhances readability, maintains consistency in naming conventions, and optimizes the code for better performance and clarity.
2024-09-18 02:37:17 +08:00
2024-04-10 14:17:15 +08:00
2023-02-01 01:55:23 +08:00
2024-09-14 13:19:34 +08:00
2024-09-14 14:04:09 +08:00
2024-09-14 12:09:36 +08:00
2024-09-14 13:01:59 +08:00
2024-02-03 23:01:29 +08:00
2023-01-31 00:39:53 +08:00
2024-09-14 15:51:11 +08:00

Ursa

drawing

Ursa is a UI library for building cross-platform UIs with Avalonia UI.

Demo

How to use

  1. Ursa

Add nuget package:

dotnet add package Irihi.Ursa
  1. Ursa.Themes.Semi

To make Ursa controls show up in your application, you need to reference to a theme package designed for Ursa. Ursa.Themes.Semi is a theme package for Ursa inspired by Semi Design. You can add it to your project by following steps.

Add nuget package:

dotnet add package Semi.Avalonia
dotnet add package Irihi.Ursa.Themes.Semi

Include Styles in application:

<Application...
    xmlns:semi="https://irihi.tech/semi"
    xmlns:u-semi="https://irihi.tech/ursa/themes/semi"
    ....>

    <Application.Styles>
        <semi:SemiTheme Locale="zh-CN" />
        <u-semi:SemiTheme Locale="zh-CN"/>
    </Application.Styles>

You can now use Ursa controls in your Avalonia Application.

<Window
    ...
    xmlns:u="https://irihi.tech/ursa"
    ...>
    <StackPanel Margin="20">
        <u:ButtonGroup Classes="Solid Warning">
            <Button Content="Hello" />
            <Button Content="World" />
        </u:ButtonGroup>
        <u:TagInput />
    </StackPanel>
</Window>

Demo

Support

We offer limited free community support for Semi Avalonia and Ursa. Please join our group via FeiShu(Lark)

Support

Description
No description provided
Readme MIT 23 MiB
Languages
C# 100%