Update readme.md with some Visual Studio instructions.
Readme: Added Gtk# instruction for building in Visual Studio
This reverts commit 87ddd51. We're trying to see if we can get Debian building and Windows running to work at the same time
Not sure if there's any sensible place to put a global variable for this?
The SimpleEffectDialog can now use the translations from an add-in, instead of always looking for them in Pinta's translation template.
[Fix for #1190899] - Clicking outside canvas with Move Selected Pixels and Gradient tools.
…or Gradient tool selected should have no effect
Previously, you would need to restart Pinta after installing a custom brush add-in.
Every brush needs to implement this differently, so it doesn't make sense to have a default implementation.
The text tool now stores the original selection from when the editing of that piece of text started. This ensures that the text doesn't suddenly disappear or reappear if the selection changes before the text gets finalized.
In addition to the bug in the report, this also fixes bugs where the selection would "teleport" to the new location if you clicked somewhere else in the text.
This makes positioning text much easier.
The bounding rectangle returned by Pango is much larger than what we need, and the code previously tried to make some adjustments. However, that didn't work very well, especially with large font sizes. Now, we just set the height to be the # of lines times the cursor height, which works very well.
This will allow file format importers to properly create dialogs if needed.
There were a few issues when this effect was ported from Paint.NET: - The radius needs to be computed based on the total area being drawn to. - The center offset was computed incorectly. - The offset parameter needs to be Cairo.PointD so that it is an offset.
- The context, stroke colour, and image surface are now passed into the DoMouseMove method. This removes the dependency on the PaintBrushTool class and allows the code to move into Pinta.Core. - This should make writing addins with custom brushes a bit simpler, as classes can just inherit from BasePaintBrush.
- Allow formats to be write-only. This might be useful for some types of addins, such as an ascii art exporter. - Added some documentation for the constructor's parameters. - Removed the Name property, which did not serve any useful purpose.
These weren't actually being used anywhere.
This should be helpful for people building addins. - Disabled warning 1591, which resulted in thousands of warnings about every undocumented public member. - Cleaned up a bunch of out-of-date documentation that was caught by the compiler.
This makes the dialog more robust when using file format addins, and also makes it easier to develop file format addins in cases where the format doesn't provide an easy way to load a scaled version of the image.