[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][gambas/gambas][master] 8 commits: SwitchButton: Some look tweaks.



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


Commits:
bf2f4e23 by Benoît Minisini at 2025-05-02T00:27:12+02:00
SwitchButton: Some look tweaks.

[GB.FORM]
* NEW: SwitchButton: Some look tweaks.

- - - - -
e5f21d57 by Benoît Minisini at 2025-05-02T23:58:09+02:00
'Paint.Rectangle()' takes three new optional parameters that allow to define the radius of each border indepently.

[GB.DRAW]
* NEW: 'Paint.Rectangle()' takes three new optional parameters that allow to define the radius of each border indepently.

- - - - -
b5e4ac60 by Benoît Minisini at 2025-05-02T23:59:27+02:00
Remove 'Panel', 'HBox', 'VBox', 'HPanel' and 'VPanel' implementation. Support for the new style drawing properties.

[GB.GTK]
* NEW: UserControl: Add '_NoBackground' property to prevent the control from automatically drawing its background color.
* NEW: UserContainer: Add '_NoBackground' property to prevent the control from automatically drawing its background color.
* NEW: Application: The 'Change' property is now writable. Writing it raises the 'Change' event everywhere.
* NEW: 'Change' events now automatically refresh the control they are sent to.
* NEW: Application: Remove the 'Animations', 'Shadows', 'Theme' properties.
* NEW: Remove 'Panel', 'HBox', 'VBox', 'HPanel' and 'VPanel' controls.
* BUG: Control background is now drawn according to the possible 'NoBackground' properties as expected.

[GB.GTK3]
* NEW: UserControl: Add '_NoBackground' property to prevent the control from automatically drawing its background color.
* NEW: UserContainer: Add '_NoBackground' property to prevent the control from automatically drawing its background color.
* NEW: Application: The 'Change' property is now writable. Writing it raises the 'Change' event everywhere.
* NEW: Application: Remove the 'Animations', 'Shadows', 'Theme' properties.
* NEW: 'Change' events now automatically refresh the control they are sent to.
* NEW: Remove 'Panel', 'HBox', 'VBox', 'HPanel' and 'VPanel' controls.
* BUG: Control background is now drawn according to the possible 'NoBackground' properties as expected.

[GB.QT4]
* NEW: UserControl: Add '_NoBackground' property to prevent the control from automatically drawing its background color.
* NEW: UserContainer: Add '_NoBackground' property to prevent the control from automatically drawing its background color.
* NEW: Application: The 'Change' property is now writable. Writing it raises the 'Change' event everywhere.
* NEW: Application: Remove the 'Animations', 'Shadows', 'Theme' properties.
* NEW: 'Change' events now automatically refresh the control they are sent to.
* NEW: Remove 'Panel', 'HBox', 'VBox', 'HPanel' and 'VPanel' controls.
* BUG: Control background is now drawn according to the possible 'NoBackground' properties as expected.

[GB.QT5]
* NEW: UserControl: Add '_NoBackground' property to prevent the control from automatically drawing its background color.
* NEW: UserContainer: Add '_NoBackground' property to prevent the control from automatically drawing its background color.
* NEW: Application: The 'Change' property is now writable. Writing it raises the 'Change' event everywhere.
* NEW: Application: Remove the 'Animations', 'Shadows', 'Theme' properties.
* NEW: 'Change' events now automatically refresh the control they are sent to.
* NEW: Remove 'Panel', 'HBox', 'VBox', 'HPanel' and 'VPanel' controls.
* BUG: Control background is now drawn according to the possible 'NoBackground' properties as expected.

[GB.QT6]
* NEW: UserControl: Add '_NoBackground' property to prevent the control from automatically drawing its background color.
* NEW: UserContainer: Add '_NoBackground' property to prevent the control from automatically drawing its background color.
* NEW: Application: The 'Change' property is now writable. Writing it raises the 'Change' event everywhere.
* NEW: Application: Remove the 'Animations', 'Shadows', 'Theme' properties.
* NEW: 'Change' events now automatically refresh the control they are sent to.
* NEW: Remove 'Panel', 'HBox', 'VBox', 'HPanel' and 'VPanel' controls.
* BUG: Control background is now drawn according to the possible 'NoBackground' properties as expected.

- - - - -
00f35b56 by Benoît Minisini at 2025-05-03T00:19:34+02:00
New Style properties and methods for drawing backgrounds and selection frames. Use it in many controls. Implement 'Panel', 'HBox,' 'VBox', 'HPanel' and 'VPanel' containers in Gambas.

[GB.GUI.BASE]
* NEW: Application: Implement 'Theme', 'Animations' and 'Shadows' properties in Gambas.
* NEW: Add support for background and selection drawn with the Style class in many controls.
* NEW: Implement 'Panel', 'HBox,' 'VBox', 'HPanel' and 'VPanel' containers in Gambas.
* NEW: Panel: Draw background with the Style class when the Border property is set to 'Border.Raised', 'Border.Sunken' or 'Border.Etched'.
* NEW: ScrollArea: Draw background with the Style class.
* NEW: ScrollView: Use extra padding when the new background drawing system requires it.
* NEW: ScrollArea: Add 'DefaultBackground' property.
* NEW: Slider: Use a button a little bit smaller.
* NEW: Spring: Do not inherit Panel anymore.
* NEW: Style: Add 'BorderShape', 'BorderSize' and 'BorderRadius' properties.
* NEW: Style: Add 'SelectionShape' property.
* NEW: Style: Add constants for the different shape types.
* NEW: Style: Add 'PaintBackground()' method for drawing a background according to the previous properties.
* NEW: Style: Add 'ClipBackground()' method for creating a background clip region according to the previous properties.
* NEW: Style: Add 'PaintSelection()' method for drawing a selection frame according to the previous properties.

- - - - -
ec3d4029 by Benoît Minisini at 2025-05-03T00:20:08+02:00
Toolbar: Support for Spring controls now they do not inherit Panel anymore.

[DEVELOPMENT ENVIRONMENT]
* BUG: Toolbar: Support for Spring controls now they do not inherit Panel anymore.

- - - - -
dd578bc9 by Benoît Minisini at 2025-05-03T00:22:00+02:00
Support for new background drawing system in many controls.

[GB.FORM]
* NEW: Support for new background drawing system in many controls.
* NEW: IconPanel: Highlight the background of the button panel when the 'Border' property is unset.

- - - - -
19367fa4 by Benoît Minisini at 2025-05-03T00:23:25+02:00
TextEditor: Fix a possible crash while drawing, that may have triggered because of the new background drawing system.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix a possible crash while drawing, that may have triggered because of the new background drawing system.

- - - - -
bf1b8b08 by Benoît Minisini at 2025-05-03T00:26:03+02:00
Start redesiging GUI with the new background drawing system. Add options for choosing the background and the selection types.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Start redesiging GUI with the new background drawing system.
* NEW: Option dialog: Add options for choosing the background and the selection types.

- - - - -


92 changed files:

- app/src/gambas3/.lang/fr.po
- app/src/gambas3/.src/Debug/FDebugConfig.form
- app/src/gambas3/.src/Editor/Form/CControl.class
- app/src/gambas3/.src/Editor/Form/FForm.class
- app/src/gambas3/.src/Editor/Form/FForm.form
- app/src/gambas3/.src/Editor/Form/FToolBox.class
- app/src/gambas3/.src/Exported/EnvChooser/EnvChooser.class
- app/src/gambas3/.src/FSave.form
- app/src/gambas3/.src/Family/Form/CFamilyForm.class
- app/src/gambas3/.src/Help/FHelpShortcut.form
- app/src/gambas3/.src/Options/CBackground.class
- app/src/gambas3/.src/Options/FOption.class
- app/src/gambas3/.src/Options/FOption.form
- app/src/gambas3/.src/Packager/FMakeInstall.class
- app/src/gambas3/.src/Project.module
- app/src/gambas3/.src/Project/CProjectList.class
- app/src/gambas3/.src/Project/Component/FComponentChooser.form
- app/src/gambas3/.src/Project/FProjectProperty.form
- app/src/gambas3/.src/Project/ProjectBox.class
- comp/src/gb.form.editor/.src/TextEditor.class
- comp/src/gb.form.editor/.src/TextEditorMode_Javascript.class
- comp/src/gb.form.mdi/.src/ToolBar/FToolBar.class
- comp/src/gb.form.mdi/.src/ToolBar/FToolBar.form
- comp/src/gb.form/.project
- comp/src/gb.form/.src/Button/SwitchButton.class
- comp/src/gb.form/.src/Completion.class
- comp/src/gb.form/.src/File/Chooser/FDirChooser.form
- comp/src/gb.form/.src/File/FileView.class
- comp/src/gb.form/.src/File/Properties/FFileProperties.class
- comp/src/gb.form/.src/IconPanel/IconPanel.class
- comp/src/gb.form/.src/ListEditor/FListEditor.form
- comp/src/gb.form/.src/TabPanel/TabPanel.class
- comp/src/gb.form/.src/TabPanel/_TabPanelButton.class
- comp/src/gb.form/.src/Test/FTestDirView.form
- comp/src/gb.form/.src/Test/FIconPanel.class → comp/src/gb.form/.src/Test/FTestIconPanel.class
- comp/src/gb.form/.src/Test/FIconPanel.form → comp/src/gb.form/.src/Test/FTestIconPanel.form
- comp/src/gb.form/.src/Test/FTestTabPanel.form
- comp/src/gb.form/.src/Test/Form1.form
- comp/src/gb.gui.base/.project
- comp/src/gb.gui.base/.src/Application.class
- comp/src/gb.gui.base/.src/ComboBox/FComboBoxPopup.class
- comp/src/gb.gui.base/.src/GridView/GridView.class
- + comp/src/gb.gui.base/.src/HBox.class
- + comp/src/gb.gui.base/.src/HPanel.class
- comp/src/gb.gui.base/.src/IconView/IconView.class
- comp/src/gb.gui.base/.src/IconView/_IconView_Item.class
- comp/src/gb.gui.base/.src/ListBox/ListBox.class
- comp/src/gb.gui.base/.src/Message/FMessage.class
- comp/src/gb.gui.base/.src/Message/FMessage.form
- + comp/src/gb.gui.base/.src/Panel.class
- comp/src/gb.gui.base/.src/ScrollArea.class
- comp/src/gb.gui.base/.src/ScrollView.class
- comp/src/gb.gui.base/.src/Slider.class
- comp/src/gb.gui.base/.src/Spring.class
- comp/src/gb.gui.base/.src/Style.class
- comp/src/gb.gui.base/.src/Test/FScrollArea.form
- + comp/src/gb.gui.base/.src/Test/FTestBackground.class
- + comp/src/gb.gui.base/.src/Test/FTestBackground.form
- comp/src/gb.gui.base/.src/Test/FTestCombo.class
- comp/src/gb.gui.base/.src/Test/FTestCombo.form
- comp/src/gb.gui.base/.src/Test/FTestFrame.form
- comp/src/gb.gui.base/.src/Test/FTestGridView.class
- comp/src/gb.gui.base/.src/Test/FTestGridView.form
- comp/src/gb.gui.base/.src/Test/FTestIconView.class
- comp/src/gb.gui.base/.src/Test/FTestIconView.form
- comp/src/gb.gui.base/.src/Test/FListBox.class → comp/src/gb.gui.base/.src/Test/FTestListBox.class
- comp/src/gb.gui.base/.src/Test/FListBox.form → comp/src/gb.gui.base/.src/Test/FTestListBox.form
- comp/src/gb.gui.base/.src/Test/FTestMouseWheel.form
- comp/src/gb.gui.base/.src/Test/FTestTreeView.class
- comp/src/gb.gui.base/.src/Test/FTestTreeView.form
- + comp/src/gb.gui.base/.src/VBox.class
- + comp/src/gb.gui.base/.src/VPanel.class
- comp/src/gb.gui.base/.src/_Gui.class
- gb.gtk/src/CContainer.cpp
- gb.gtk/src/CDrawingArea.cpp
- gb.gtk/src/CScreen.cpp
- gb.gtk/src/CScreen.h
- gb.gtk/src/gcontrol.cpp
- gb.gtk/src/gdesktop.cpp
- gb.gtk/src/gdrawingarea.cpp
- gb.gtk/src/main.cpp
- gb.gtk3/src/main.cpp
- gb.qt4/share/gb.form.const.h
- gb.qt4/src/CContainer.cpp
- gb.qt4/src/CDrawingArea.cpp
- gb.qt4/src/CPanel.cpp
- gb.qt4/src/CScreen.cpp
- gb.qt4/src/CScreen.h
- gb.qt4/src/main.cpp
- gb.qt5/src/main.cpp
- gb.qt6/src/main.cpp
- main/lib/draw/cpaint.c


View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/6aeaabf7a4a797f7880f63f1b09373eb6d9036fe...bf1b8b082a8095af5a155c8264a97fb604c8803a

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/6aeaabf7a4a797f7880f63f1b09373eb6d9036fe...bf1b8b082a8095af5a155c8264a97fb604c8803a
You're receiving this email because of your account on gitlab.com.