pixelsense

is it possible to run multitouch Flash (AS3) Apps on Microsoft PixelSense (formerly Surface) Table?

旧城冷巷雨未停 提交于 2019-12-25 05:14:10
问题 I'd like to develop a simple multitouch game for a Microsoft PixelSense (formerly Surface) table. So my question is if it's possible to use Flash (ActionScript 3) to create the game or if I have to learn the PixelSense SDK and use Visual Studio - which would cost a lot of time ;) 回答1: Update: Yes, it's possible ;) With the Multitouch capabilities of Flash it's possible to develop for the PixelSense table. 来源: https://stackoverflow.com/questions/11931463/is-it-possible-to-run-multitouch-flash

capture Tag visualizer contact event

為{幸葍}努か 提交于 2019-12-25 04:56:08
问题 I'm developing Microsoft Surface(pixelsense) App using TagVisualizer object I'm looking for a method to capture tagEnter, tagLeave event on other UI elements such as a button. For example in following XAML code I want to capture an event when TagVisualizer enters the boundary of "Button1". <Grid> <s:TagVisualizer Name="MaintagVisualizer" VisualizationAdded="MaintagVisualizer_VisualizationAdded" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center"

Connecting ScatterViewItems with a line

白昼怎懂夜的黑 提交于 2019-12-24 16:37:36
问题 I want to draw lines between ScatterViewItems but it doesn't work with what I already found here. There is a Line, but not connected to the center of the ellipses. Does anybody see my mistake? Here is what I have: <Grid> <s:ScatterView> <s:ScatterViewItem Height="250" Width="500" Background="Transparent" Orientation="0" HorizontalAlignment="Right" Margin="0,70,-764,-70" d:LayoutOverrides="HorizontalAlignment, Width"> <s:ScatterView Height="250" Width="500" Background="BlueViolet"> <s

How to user surfaceslider with touch control

我的梦境 提交于 2019-12-24 10:06:55
问题 I want to use my surfaceslider control inside tagvisualization so that it responds to finger touch when an object is placed, but when I run the program it doesnt moves at all. Can anybody give me pointers (I am new to this sdk). <s:TagVisualization x:Class="ControlsBox.TagVisual" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="http://schemas.microsoft.com/surface/2008" Loaded="TagVisual_Loaded"> <Grid> <!-

MS Surface Tag Visualizer steals contact events

烈酒焚心 提交于 2019-12-24 08:14:49
问题 I'm struggling with the TagVisualizer control on an MS Surface project. In theory the control seems great, allowing you to respond to input from real world physical objects The problem is that the control will cover the entire screen (since I want to capture tags on the entire screen) and as such, no other controls in my app will receive the touch events. (Unless, they are direct ascendants in the visual tree). In my app, I want to have a "layer" type of a approach, where each layer can

How can I use Microsoft Surface SDK with Visual Studio 2012?

半城伤御伤魂 提交于 2019-12-23 02:35:07
问题 I visited Surface SDK and it tells that it requires Visual Studio 2010/Express. I tried to install it with VS 2012 RC but it does not allow. Does surface sdk not support VS 2012 RC ? How can I use it with VS 2012 RC ? 回答1: Install the SDK 2.0 Feb. 2012 Update on a box with Win 7 and Visual Studio 2010. Then create a Surface Project from the Template. Change the Main Surface Window ( I forget the class name. ) to inherit from Window instead of Surface Window if you want it to work on Windows 8

Importing WMF (Windows Metafile) or any other vector file into a silverlight project

大憨熊 提交于 2019-12-22 19:32:28
问题 Is it possible to import WMF (Windows Metafile) or any other vector based file into a silverlight project? 回答1: You may want to have a look at free Silverlight Contrib project at codeplex. It comes with control to display WMF and EMF files. 回答2: You can use Paste2Xaml to convert WMF/EMF to XAML http://www.wpf-graphics.com/Paste2Xaml.aspx And (from the same source) ViewerSvg to convert SVG to XAML http://www.wpf-graphics.com/ViewerSvg.aspx Also, for SVG, InkScape has a XAML export feature and

Inject/simulate WPF routed mouse click events

落花浮王杯 提交于 2019-12-22 11:35:46
问题 I have some straight WPF 3.5 controls handling left mouse clicks that I need to use within a Surface app (SDK 1.0). The problem I am facing is that do not work by default. I am thinking of wrapping each control in a SurfaceContentControl and translating ContactTouchDown or ContactTapGesture events to corresponding MouseDown events. The problem boils down to - how to "inject" or simulate arbitrary routed mouse events? I have tried InputManager.Current.ProcessInput() but didn't get very far.

Drag and Drop in MVVM with ScatterView

自作多情 提交于 2019-12-21 14:06:04
问题 I'm trying to implement drag and drop functionality in a Surface Application that is built using the MVVM pattern. I'm struggling to come up with a means to implement this while adhering to the MVVM pattern. Though I'm trying to do this within a Surface Application I think the solution is general enough to apply to WPF as well. I'm trying to produce the following functionality: User contacts a FrameworkElement within a ScatterViewItem to begin a drag operation (a specific part of the

Drag and Drop in MVVM with ScatterView

淺唱寂寞╮ 提交于 2019-12-21 14:02:54
问题 I'm trying to implement drag and drop functionality in a Surface Application that is built using the MVVM pattern. I'm struggling to come up with a means to implement this while adhering to the MVVM pattern. Though I'm trying to do this within a Surface Application I think the solution is general enough to apply to WPF as well. I'm trying to produce the following functionality: User contacts a FrameworkElement within a ScatterViewItem to begin a drag operation (a specific part of the