Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Collections.Specialized; | |
using System.Linq; | |
using Avalonia; | |
using Avalonia.Controls; | |
using Avalonia.Controls.Selection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows; | |
using System.Windows.Media; | |
using System.Windows.Media.Animation; | |
namespace WPFAnimations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void draw(SkCanvas* canvas) { | |
SkPaint paint1; | |
SkPaint paint2; | |
float width = 120.0f; | |
float height = 90.0f; | |
float cw = 15.0f; | |
float ch = 15.0f; |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.ComponentModel; | |
using System.Globalization; | |
using Avalonia; | |
using Avalonia.Collections; | |
using Avalonia.Controls; | |
using Avalonia.Controls.PanAndZoom; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download files: | |
mkdir build/build | |
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/build/build/Build.cs -O ./build/build/Build.cs | |
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/build/build/_build.csproj -O ./build/build/_build.csproj | |
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/.nuke | |
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/build.ps1 | |
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/build.sh | |
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/global.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Styles xmlns="https://github.com/avaloniaui"> | |
<Style Selector="ScrollBar"> | |
<Setter Property="Template"> | |
<ControlTemplate> | |
<Border Background="{DynamicResource ThemeControlMidBrush}"> | |
<Grid RowDefinitions="20,*,20"> | |
<RepeatButton Name="PART_LineUpButton" | |
Classes="repeat" | |
Grid.Row="0" | |
Grid.Column="0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) Wiesław Šoltés. All rights reserved. | |
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | |
using Avalonia; | |
using Avalonia.Controls; | |
using Avalonia.Controls.Presenters; | |
using Avalonia.Controls.Primitives; | |
using Avalonia.Input; | |
using Avalonia.Threading; | |
using Avalonia.VisualTree; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
#include <vector> | |
#include <utility> | |
template <typename T> | |
class IRowEditor | |
{ | |
public: | |
virtual ~IRowEditor() { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
#include <vector> | |
#include <algorithm> | |
#include <iterator> | |
#include <utility> | |
#include <iostream> | |
namespace util | |
{ | |
class Option |
NewerOlder