Project: titanium
Issue TIMOB-18849: Windows: Working prototype of Native API wrappers
We're taking an approach of generating C++ HAL wrappers for the Windows APIs from the metabase data. We should get a working prototype that could handle something like this: {code:javascript} var Canvas = require('Windows.UI.Xaml.Controls.Canvas'), TextBlock = require('Windows.UI.Xaml.Controls.TextBlock'), Page = require('Windows.UI.Xaml.Controls.Page'), Window = require('Windows.UI.Xaml.Window'); var win = new Canvas(); // Add stuff to the window/canvas! var label = new TextBlock(); label.FontSize = 20; label.Text = "Hello World!"; win.Children.Append(label); var rootFrame = Window.Current.Content; rootFrame.Navigate(Page.typeid); var page = rootFrame.Content; page.Content = win; {code}
Story points: 21