Граф коммитов

326 Коммитов

Автор SHA1 Сообщение Дата
Lluis Sanchez 24f4b23407 [GTK] Implement Window.Shown/Hidden events
Also fix bounds calculation issue
2013-02-07 20:47:05 +01:00
Lluis Sanchez 9e82a91d49 [GTK] Fixed several gtk warnings
Which are caused by trying to set the Events
property when the widget is already realized.
2013-02-07 20:44:45 +01:00
Lluis Sanchez efa22260e4 [GTK] Properly render stock and custom icons in ImageView 2013-02-07 20:43:58 +01:00
Lluis Sanchez e3bf8c371f [GTK] Provide a default size for stock icons 2013-02-07 20:43:34 +01:00
Lluis Sanchez 08a6a6c41b Merge branch 'master' into improved_images
Conflicts:
	Xwt/Xwt.csproj
2013-02-07 09:54:29 +01:00
Alex Corrado b652747170 Require backends to actually implement the interface they are registered for 2013-02-06 15:34:30 -05:00
Jeremie Laval c9bb6963ef Add SegmentedButton widget and a basic Gtk backend.
Not sure how interoperable with, say, NSSegmentedControl the current abstraction is. The API will likely be changed.
2013-02-06 17:10:47 +00:00
Alex Corrado ba550e5e26 [Gtk] Allocate an EventBox if we try to set BackgroundColor on NoWindow widgets 2013-02-06 05:27:49 -05:00
Lluis Sanchez e930ce972f Ongoing work on Image API
Some adjustments in the image handler API.
Implement the Mac side of things.
2013-02-04 23:48:56 +01:00
Lluis Sanchez d45dad34e1 Ongoing work to improve the Image API
An image can now have multiple versions with
different resolutions.
2013-02-04 10:48:07 +01:00
Lluis Sanchez 51808194eb Initial support for custom drawn cells 2013-02-02 00:54:39 +01:00
Lluis Sanchez c338f4b1b2 [GTK] Implement the row expanded events 2013-01-31 18:14:08 +01:00
Lluis Sanchez 0e221b593d Add RowExpanding/Expanded events to TreeView 2013-01-31 18:06:36 +01:00
Michael Hutchinson 2d74183a46 [Gtk] Dispose Cairo contexts 2013-01-25 11:46:40 -05:00
Jeremie Laval 5167161729 [GtkBackend] Force image to appear on menu item 2013-01-23 18:08:41 +00:00
Lluis Sanchez e6a0b388d3 Add RowActivated events to ListView and TreeView 2013-01-22 13:35:57 +01:00
Lluis Sanchez c428892a8d Add support for native widget embedding 2013-01-21 13:01:19 +01:00
Lluis Sanchez 075841329e Improved backend registry architecture
Widgets now declare the backend they require using an class
attribute. Backends are now registered using the backend
interface type as key instead of using the frontend type.
Added new method for wrapping existing native widgets
into XWT widgets.
2013-01-21 10:20:26 +01:00
Jeremie Laval e50723e244 Merge branch '0.1' 2013-01-14 16:58:41 +00:00
Jeremie Laval 973ceaa00e [Xwt.Gtk] Fix wrap height calculation when changing Label's text 2013-01-14 16:13:23 +00:00
Lluis Sanchez a53d0439ea Bump the assembly version 2013-01-14 11:37:56 +01:00
Lluis Sanchez ffae4a9cbd Add support for getting screen geometry information 2013-01-14 10:57:39 +01:00
Jérémie Laval cef29d440e Merge branch 'master' into xwt-next 2013-01-03 15:22:44 +01:00
Alan McGovern 8c2667b85e [Xwt] Place dialogs correctly
Automatic placement on mac works correctly now so remove the hack to
replace the window. This should fix placement on both Windows and
Mac so the dialogs are correctly centred.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=9012
2013-01-03 12:56:00 +00:00
Alex Corrado 22f350f7fd Revert "Revert "Remove ResetClip from Drawing API""
This reverts commit b0acfe1cf5.
2013-01-02 14:12:21 -08:00
Jérémie Laval e9036f5921 [Xwt.Gtk] Use GtkEngine.ReplaceChild when setting multiple time .Content on a custom widget 2013-01-02 22:34:36 +01:00
Jérémie Laval b0acfe1cf5 Revert "Remove ResetClip from Drawing API"
This reverts commit 552b2354c9.

Conflicts:
	Xwt.Mac/Xwt.Mac/ContextBackendHandler.cs
2013-01-02 16:48:35 +01:00
Alex Corrado 8cfd7a956c [Xwt.Drawing] Add new CopyPath API and implementations for all backends 2012-12-25 01:02:28 -08:00
Alex Corrado e44e4679f6 Merge branch 'master' into xwt-next
Conflicts:
	Xwt.Gtk/Xwt.CairoBackend/CairoContextBackendHandler.cs
	Xwt.Mac/Xwt.Mac/CanvasBackend.cs
	Xwt.Mac/Xwt.Mac/ContextBackendHandler.cs
	Xwt.WPF/Xwt.WPFBackend/ContextBackendHandler.cs
	Xwt/Xwt.Backends/IContextBackendHandler.cs
	Xwt/Xwt.Drawing/Context.cs
2012-12-24 22:48:26 -08:00
Alex Corrado 552b2354c9 Remove ResetClip from Drawing API
The previous Mac backend implementation was incomplete and added
overhead to drawing operations-- CoreGraphics doesn't have any
facility for expanding the clipping region except via Save/Restore.
Since all backends include the clipping region in the save state,
let's just stick to a Save/Restore for this functionality.
2012-12-23 19:12:46 -08:00
Lluis Sanchez 56d1c322f3 Merge branch 'master' into xwt-next
Conflicts:
	Xwt/Xwt.csproj
2012-12-21 11:32:20 +01:00
Lluis Sanchez 986a15d361 Added workaround for sizing bug 2012-12-21 11:29:13 +01:00
Lluis Sanchez 84f541b516 Track api changes 2012-12-13 12:38:47 +01:00
Lluis Sanchez c2be1e1de5 Bump the version number 2012-12-13 12:34:54 +01:00
Hywel Thomas a9779043cf [API] Remove ResetTransform from Drawing API and update Backends, Samples, etc
ResetTransform cannot be safely implemented in Mac CoreGraphics.
The same functionality is available using a Save/Restore pair, so it can be removed.
An unfortunate case of the Backend wagging the API!
2012-12-13 12:33:56 +01:00
Lluis Sanchez 44e1b8a3ce Fix widget layout issue
Don't reallocate widgets which don't yet
have a parent. Added method for determining
if a widget has a native parent.
2012-12-13 12:30:56 +01:00
Lluis Sanchez eb0466d150 Bump the version number 2012-12-13 12:20:04 +01:00
Lluis Sanchez 9cb8174814 Merge pull request #135 from hwthomas/master
[API] Remove ResetTransform from Drawing API
2012-12-11 07:01:01 -08:00
Hywel Thomas 35babb6591 [API] Remove ResetTransform from Drawing API and update Backends, Samples, etc
ResetTransform cannot be safely implemented in Mac CoreGraphics.
The same functionality is available using a Save/Restore pair, so it can be removed.
An unfortunate case of the Backend wagging the API!
2012-12-11 10:54:03 +00:00
Lluis Sanchez 3bd1888880 Fix widget layout issue
Don't reallocate widgets which don't yet
have a parent. Added method for determining
if a widget has a native parent.
2012-12-10 18:39:18 +01:00
Alex Corrado d1a1d59d23 Rename Path to DrawingPath to eliminate any possible name conflicts with System.IO.Path 2012-12-05 13:20:46 -05:00
Alex Corrado ad7643225e Revert "Add Xwt.Drawing.Path API with Gtk, WPF, and Mac implementations and a sample"
Keep master stable and have this in a branch for now.
This reverts commit 2e2f04610e.
2012-12-05 11:42:29 -05:00
Lluis Sanchez 4e9ebac950 Track api changes 2012-12-05 17:18:19 +01:00
Lluis Sanchez 4e3a8d12a4 Merge branch 'master' into multi-toolkit-lluis
Conflicts:
	Xwt.Gtk/Xwt.CairoBackend/CairoContextBackendHandler.cs
	Xwt.Gtk/Xwt.GtkBackend/GtkEngine.cs
	Xwt.Mac/Xwt.Mac.csproj
	Xwt.Mac/Xwt.Mac/CanvasBackend.cs
	Xwt.Mac/Xwt.Mac/ContextBackendHandler.cs
	Xwt.Mac/Xwt.Mac/MacEngine.cs
	Xwt.Mac/Xwt.Mac/TextLayoutBackendHandler.cs
	Xwt/Xwt.Backends/IContextBackendHandler.cs
	Xwt/Xwt.Drawing/Context.cs
	Xwt/Xwt.Drawing/Font.cs
	Xwt/Xwt.csproj
2012-12-05 17:17:31 +01:00
Lluis Sanchez d3719d9afa [GTK] Fix drawing issue in Canvas 2012-12-05 12:20:05 +01:00
Alex Corrado 2e2f04610e Add Xwt.Drawing.Path API with Gtk, WPF, and Mac implementations and a sample
This causes Context to now extend from a new Path class, which contains
all the drawing path methods (Arc, Rectangle, CurveTo, etc.) and adds new
hit testing methods.
2012-12-04 19:09:42 -05:00
Alan McGovern 85c506bed4 [Gtk] Protect against a null reference exception
Sometimes ImplicitMinSize is called when the Child is null which
causes a null reference exception. I don't know exactly what triggers
it as it's quite rare.
2012-12-03 13:45:14 +00:00
Lluis Sanchez 17b0051973 Moved Toolkit to root Xwt namespace 2012-11-23 13:00:42 +01:00
Lluis Sanchez 6f230ceb61 Rename ToolkitEngine to Toolkit 2012-11-23 12:53:26 +01:00
Lluis Sanchez 05bbe76d48 More API changes 2012-11-23 12:50:20 +01:00