Avalonia based Editor for Romhackers

Brushes.cs 476B

1234567891011121314151617181920
  1. using Avalonia.Media;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace Editopia.Editor.Design
  6. {
  7. public class Brushes
  8. {
  9. private ImageBrush _mainBackgroundBrush = new ImageBrush(new Avalonia.Media.Imaging.Bitmap("resm:Editopia.Editor.Assets.background_acc.png"));
  10. public IImageBrush ThemeBackgroundBrush
  11. {
  12. get
  13. {
  14. return _mainBackgroundBrush;
  15. }
  16. }
  17. }
  18. }