Skip to content

Instantly share code, notes, and snippets.

View tmyt's full-sized avatar
🏠
Working from home

Yutaka TSUMORI tmyt

🏠
Working from home
View GitHub Profile

Aristea 1.2.2 既知の不具合

現在以下の不具合が確認されています。これらの不具合は、次のバージョンですべて修正されます。

  • ステータス受信時にアプリがクラッシュすることがあります
  • アプリの状態を復元する際にアプリがクラッシュすることがあります

以下の不具合は1.2.4で修正される予定です

  • 特定のフィルタ式を入力した場合にアプリがクラッシュします
  • 一部ローカライズされていない部分があります
/*
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading;
*/
var R = require('nanka-module');
var client = new R();
// get/set
client.set('a', 100);
client.get('a', R.print);
// co使ってこう書きたい
// yield client.set('a', 100);
// yield client.get('a');
public class ScrollBarValueProxy : DependencyObject
{
public event EventHandler<double> ValueChanged;
public static readonly DependencyProperty ValueProperty = DependencyProperty.Register(
"Value", typeof(double), typeof(ScrollBarValueProxy), new PropertyMetadata(default(double), OnValueChanged));
public double Value
{
get { return (double)GetValue(ValueProperty); }
<!--
This XAML and ExtendedListView 0.0.5.2, I got this exception.
--
System.ArgumentException: Value does not fall within the expected range.
at Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize)
--
-->
<Page
x:Class="App52.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tmyt
tmyt / header.hpp
Last active August 29, 2015 14:19 — forked from runceel/header.hpp
extern "C"
{
struct PluginVector3
{
double x;
double y;
double z;
};
__declspec (dllexport) HRESULT Initialize();

Windows Store Apps のアイコンサイズ一覧

各項目はscale=80, 100, 140, 180 の順番

マージンつけたほうがいい感じ

画像データがそのままアイコンになる

Logo (タイル画像:中)

  • 120x120

strange behavior occurs below conditions.

  • ExtendedListView.SelectionMode=Multiple
  • Select single item
  • Insert an item to above selection.
; scale windows store apps visual assets to each scale factor.
(define (uwp-scale-image-duplicate-scale-export inSaveTo inBaseName inImage inWidth inHeight inScaleFactor)
(define w (/ (* inWidth inScaleFactor) 100))
(define h (/ (* inHeight inScaleFactor) 100))
(define img (car (gimp-image-duplicate inImage)))
(define layer (car (vector->list (car (cdr (gimp-image-get-layers img))))))
(define outFile (string-append inSaveTo "/" inBaseName ".scale-" (number->string inScaleFactor) ".png"))
(gimp-image-scale img w h)
(file-png-save2 1 img layer outFile outFile 0 9 1 0 0 0 0 0 0)