[Gambas-Notification] [Git][gambas/gambas][master] 6 commits: Add Paint.FontScale, and make gb.gtk and gb.gtk3 printer drawing behave the same as QT components.

Benoît Minisini gitlab at mg.gitlab.com
Tue Jul 9 19:53:55 CEST 2019



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
798b1d54 by gambas at 2019-07-09T17:35:01Z
Add Paint.FontScale, and make gb.gtk and gb.gtk3 printer drawing behave the same as QT components.

[GB.DRAW]
* NEW: Paint: FontScale is a new property that defines a scale applied to the size of the fonts assigned to the Paint.Font property.
* NEW: Paint: Scale() second argument is now optional, and takes the same value as the first argument if omitted.

[GB.GTK]
* NEW: Paint: Implementation of Paint.FontScale.
* BUG: Printer: All printer events are raised between a single Paint.Begin() / Paint.End().

[GB.GTK3]
* NEW: Paint: Implementation of Paint.FontScale.
* BUG: Printer: All printer events are raised between a single Paint.Begin() / Paint.End().
* BUG: Printer: Print() does now crash anymore.
* BUG: Printer: Font sizes now are the same as with QT components.

[GB.QT4]
* NEW: Paint: Implementation of Paint.FontScale.

[GB.QT5]
* NEW: Paint: Implementation of Paint.FontScale.

- - - - -
63b503ca by gambas at 2019-07-09T17:41:10Z
Make the TreeView arrows a little bit thinner and darker

[GB.GUI.BASE]
* NEW: Make the TreeView arrows a little bit thinner and darker.

- - - - -
f44b12f1 by gambas at 2019-07-09T17:43:15Z
DocumentView: Fix some bugs and add ShowPage and Desaturate properties.

[GB.FORM]
* NEW: DocumentView: The default background color is now a mix of the default text foreground and background colors.
* BUG: DocumentView: Use Paint.Begin() instead of Draw.Begin(), so that preview uses anti-aliasing.
* BUG: DocumentView: Fix some cases of page drawing not correctly triggered.
* NEW: DocumentView: ShowPage is new property that displays the current page and the number of pages inside the preview.
* NEW: DocumentView: Desaturate is a new property that desaturates the preview. It's slow when the zoom is huge.
* NEW: DocumentView: Allow zoom up to 800%.

- - - - -
be96ff02 by gambas at 2019-07-09T17:48:41Z
'gb.form.print' is a new component extends the Printer class with a generic preview and print dialog.

[GB.FORM.PRINT]
* NEW: 'gb.form.print' is a new component extends the Printer class with a generic preview and print dialog.

- - - - -
c5b2b508 by gambas at 2019-07-09T17:49:59Z
Text and code editors now can print their contents.

[DEVELOPMENT ENVIRONMENT]
* NEW: Add support for the new 'gb.form.print' component.
* NEW: Code editor: Add a print button and menu entry that prints the contents of the editor.
* NEW: Text editor: Add a print button and menu entry that prints the contents of the editor.
* NEW: Option dialog: Add an option to define the font used for printing.

- - - - -
7ac42872 by gambas at 2019-07-09T17:53:45Z
Merge branch 'master' of gitlab.com:gambas/gambas

- - - - -


30 changed files:

- app/src/gambas3/.icon.png
- app/src/gambas3/.lang/fr.po
- app/src/gambas3/.project
- app/src/gambas3/.src/Component/CDocumentation.class
- app/src/gambas3/.src/Editor/Code/FEditor.class
- app/src/gambas3/.src/Editor/Code/FEditor.form
- app/src/gambas3/.src/Editor/Code/FTextEditor.class
- app/src/gambas3/.src/Editor/Code/FTextEditor.form
- + app/src/gambas3/.src/Editor/MPrint.module
- app/src/gambas3/.src/FMain.form
- app/src/gambas3/.src/Options/FOption.class
- app/src/gambas3/.src/Options/FOption.form
- app/src/gambas3/.src/Packager/Package.module
- + comp/src/gb.form.print/.component
- + comp/src/gb.form.print/.directory
- + comp/src/gb.form.print/.icon.png
- + comp/src/gb.form.print/.lang/es.po
- + comp/src/gb.form.print/.lang/es_ES.po
- + comp/src/gb.form.print/.lang/fr.po
- + comp/src/gb.form.print/.lang/it.po
- + comp/src/gb.form.print/.lang/nl.po
- + comp/src/gb.form.print/.lang/ru.po
- + comp/src/gb.form.print/.project
- + comp/src/gb.form.print/.src/FPreview.class
- + comp/src/gb.form.print/.src/FPreview.form
- + comp/src/gb.form.print/.src/FPrinting.class
- + comp/src/gb.form.print/.src/FPrinting.form
- + comp/src/gb.form.print/.src/MTest.module
- + comp/src/gb.form.print/.src/Printer.class
- + comp/src/gb.form.print/img/print-full-width.png


View it on GitLab: https://gitlab.com/gambas/gambas/compare/d913a599292b4df741bd92f81a198128e13a4e8e...7ac4287247232ba4f4e5a65a12d566762ab4493f

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/compare/d913a599292b4df741bd92f81a198128e13a4e8e...7ac4287247232ba4f4e5a65a12d566762ab4493f
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/notification/attachments/20190709/27854f3d/attachment.html>


More information about the Notification mailing list