Skip to content

Instantly share code, notes, and snippets.

View eeevans's full-sized avatar

Edward Evans eeevans

View GitHub Profile
eeevans@Bobiverse:~/source/linuxviewer/build/src/tests/textures$ ./texture_test
WARNING : Neither ./.libcwdrc nor /home/eeevans/.libcwdrc exist.
WARNING : Using default rcfile "/opt/gitache_root/libcwd_r/fc0a34072985ab506e8bd7fdb6a72dd0317478d5c42bafe2127a5520513d707a/share/libcwd/libcwdrc".
RCFILE : /opt/gitache_root/libcwd_r/fc0a34072985ab506e8bd7fdb6a72dd0317478d5c42bafe2127a5520513d707a/share/libcwd/libcwdrc:18: channels_default = off
RCFILE : /opt/gitache_root/libcwd_r/fc0a34072985ab506e8bd7fdb6a72dd0317478d5c42bafe2127a5520513d707a/share/libcwd/libcwdrc:24: channels_toggle = M*,BFD, n*tice
RCFILE : Turned on MALLOC
RCFILE : Turned on BFD
RCFILE : Turned on NOTICE
RCFILE : /opt/gitache_root/libcwd_r/fc0a34072985ab506e8bd7fdb6a72dd0317478d5c42bafe2127a5520513d707a/share/libcwd/libcwdrc:27: channels_on = warning
RCFILE : Turned on WARNING
@eeevans
eeevans / MainWindow.xaml.cs
Created March 25, 2023 04:51
Code behind for adding buttons with FontSize binding
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
namespace Wpf.Binding;
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
@eeevans
eeevans / MainWindow.xaml
Created March 25, 2023 04:53
XAML for window that creates buttons that have a binding for FontSize
<Window x:Class="Wpf.Binding.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Wpf.Binding"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Window.Resources>
<Style TargetType="Button">