ncarrillo
b01ad4b17c
Merge branch 'fix-cairo-transform' into feat-cairo-textalignment
11 years ago
ncarrillo
4d4946e0c3
Fixed clipping/transform issue when saving and restoring contexts out of order
11 years ago
ncarrillo
2cd1ff5fcd
Implemented RenderTargetBitmap support for Cairo
Make Render Tests run for Cairo
Implemented RenderTargetBitmap support for Cairo
Reverted virtual on save
Reverted changes to Program.cs
11 years ago
Steven Kirk
177b624e79
Merge pull request #41 from ncarrillo/feat-cairo-fontweight
Implemented FontWeight for Cairo/Pango
11 years ago
Steven Kirk
c766a13105
Merge branch 'ncarrillo-feat-cairo-rendertests'
11 years ago
ncarrillo
74b1640460
Implemented FontWeight for Cairo/Pango
11 years ago
Nelson Carrillo
f4e3aefbd4
Make Render Tests run for Cairo
Adds RenderTargetBitmap to Cairo
Oops.
11 years ago
Steven Kirk
535f8c38f1
Moved pointer over state to MouseDevice.
11 years ago
Steven Kirk
c1b1339286
Make focus adorner styleable.
11 years ago
Steven Kirk
eb8bdc4c55
Don't focus disabled controls on shift-tab.
11 years ago
Steven Kirk
b8db5c2b75
Lose focus when control removed from visual tree.
11 years ago
Steven Kirk
3efc8e8920
Improved tab focus handling a bit.
11 years ago
Steven Kirk
6fa126f827
Show keyboard focus adorner.
11 years ago
Steven Kirk
bad9aae1a5
Stylecop fixes.
11 years ago
Steven Kirk
e0cbfc3a2d
Added support for dashed pens.
11 years ago
Steven Kirk
783211c964
Added Visual.ZIndex.
And set ZIndex of adorner layer to top-most.
11 years ago
Steven Kirk
fcb746a1c4
Initial implementation of adorners.
Adorn elements when moused over in DevTools. Still a fair few things
missing including:
- Need to track position of adorned elements and move the adorner if
they move.
- Adorner is shown beneath AdornerDecorator contents. Need to implement
Z-index to allow it to be shown above.
11 years ago
Steven Kirk
557fb4d215
Added IsHitTestVisible property.
11 years ago
Steven Kirk
c27ddbb17c
Removed ActualSize property - use Bounds instead.
11 years ago
Steven Kirk
43e645de6a
Fix Rect.Equals.
11 years ago
Steven Kirk
4299e7e046
Make TextBox handle text input.
Instead of TextPresenter - this fixes the problem of focus that we were
working around in TextBox.OnGotFocus before.
11 years ago
Steven Kirk
78a80b2b75
Moved Tab key handling to InputElement.
11 years ago
Steven Kirk
dd1142e03e
Updated link to XAML work in progress.
Closes #37 .
11 years ago
Steven Kirk
b50157fcbf
Fix mono test app compilation.
11 years ago
Steven Kirk
b116d94c3a
Added Button.IsDefault
11 years ago
Steven Kirk
53d804572d
Added TextBlock.FontWeight.
Closes #31 .
11 years ago
Steven Kirk
265c6105ec
Make italic text work again.
Fixes #26 .
11 years ago
Steven Kirk
ae1fd0561e
Fix DataContext for ContentControl.
11 years ago
Steven Kirk
209e7a10df
Fix DataContext property for items controls.
11 years ago
Steven Kirk
e8b574a6be
Uncommented out code.
11 years ago
Steven Kirk
f2aa9fdd84
Moved DataTemplateExtensions to Templates n.s.
11 years ago
Steven Kirk
64c360641a
Fix scroll presenter child sizing.
Fixes #34 .
11 years ago
Steven Kirk
5bcd8ecd91
Added Padding to TemplatedControl.
11 years ago
Steven Kirk
3c591482a9
Added hacky tab keyboard navigation.
This is a temporary workaround to #30 - it's very hacky:
- Tab key handling is built into TextBox - all other controls don't
work. It needs to be moved into InputElement.
- It only traverses siblings.
- Setting focus to template children is a hack.
- Many more problems.
11 years ago
Steven Kirk
bedd894f29
Correctly handle TextPresenter focus events.
Fixes #27 .
11 years ago
Steven Kirk
5e5692c259
Oops!
Actually subscribe to the command.CanExecuteChanged event.
11 years ago
Steven Kirk
188f4c6b78
Set DataContext when materializing data templates.
- Rename ApplyDataTemplate to MaterializeDataTemplate.
- Use MaterializeDataTemplate in ContentPresenter.
- Make DataContext property inherit.
Cherry-picked from GitHubClient branch.
Conflicts:
Perspex.Controls/Control.cs
11 years ago
Steven Kirk
ef5531ec06
Don't crash when TextBox.Text == null.
11 years ago
Steven Kirk
70ae10b077
Added UserControl.
11 years ago
Steven Kirk
83043a85fa
Updated NuGet pkgs.
11 years ago
Steven Kirk
0ff7eb95f9
Removed empty .nuget folder.
11 years ago
Steven Kirk
af3697b907
Allow Windows to be shown as dialogs.
11 years ago
Steven Kirk
0ee5f80980
Fixed indentation.
11 years ago
Steven Kirk
e0d9804acf
Clear items when Items changes.
This allows us to work with lazily-evaluated IEnumerables.
11 years ago
Steven Kirk
09092afe75
Use ICommand from System.Windows.Input.
11 years ago
Steven Kirk
9b59a954b2
Added IStyleable.StyleKey.
Most controls want to be styled based on their type, however windows
derived from Window will usually want to be styled as Window. Added an
IStyleable.StyleKey property to select the type that a control is styled
on.
11 years ago
Steven Kirk
18ca92eccd
Share animation timer.
Previously every new subscription was creating a new timer. Using
Publish().RefCount() makes all subscriptions share the same one.
11 years ago
Steven Kirk
d59402d7c4
Added link to blog.
11 years ago
Steven Kirk
a72e8e243d
Added ICommand and use it in Button.
11 years ago
Steven Kirk
f0eb17aec6
Added Matrix.ToString.
11 years ago