Roy-043
53ff79215c
Gui: MarkerBitmaps fix DIAMOND_FILLED_20_20
...
Also made DIAMOND_FILLED_25_25 sharper.
See: https://github.com/FreeCAD/FreeCAD/pull/11524#issuecomment-1847906082
2023-12-11 18:23:41 +01:00
Syres916
b00cca788d
[Gui] Add HourGlass markers including larger sizes
2023-11-28 23:55:10 +01:00
wmayer
ec02ef0126
Gui: use MarkerBitmaps::getSupportedSizes to get available sizes
2023-11-25 18:37:26 +01:00
Syres916
0046e625f0
[Gui] Add 20, 25 and 30px marker sizes
2023-11-25 12:36:33 +01:00
wmayer
888a33917d
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
wmayer
e09d8aaba6
Gui: modernize C++: use range-based for loop
2023-08-14 19:42:18 +02:00
wmayer
4d4267481f
Gui: modernize C++: use override
2023-08-04 17:09:53 +02:00
luz paz
818e2b2841
Gui: fix trailing whitespace
2022-12-02 19:18:54 -06:00
marioalexis
ff1b4eff05
Gui: Replace C cast
2022-09-18 11:06:51 -05:00
berniev
ae53c9b0a4
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
wmayer
23961706be
Gui: modernize C++: replace 'typedef' with 'using'
2022-08-29 14:09:18 +02:00
wmayer
fd5558f295
Fix several clazy issue:
...
* Using copy-ctor but class SbMatrix/SbViewportRegion has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
2022-07-24 19:38:59 +02:00
andrea
7886d3cbf4
Remove unused code into GUI
2022-07-17 03:53:11 +02:00
Chris Hennes
5df3dbae6f
Gui: PR6497 move return statement to new line
2022-03-29 12:33:50 -05:00
Uwe
66dd0f62a5
[Gui] So headers: remove some unused includes
...
- also sort out some headers for precompiled headers
2022-03-14 15:13:13 +01:00
Uwe
07c28ad22a
[Gui] Inventor: remove unused includes
...
-also move some includes to precompiled header
2022-03-06 03:28:50 +01:00
wmayer
dd57f124fe
Gui: modernize C++11
...
* remove redundant void-arg
* use nullptr
2022-02-03 11:15:46 +01:00
Benjamin Nauck
cb3e059ab5
[Gui] Make inventor markers symmetric
...
These changes makes the round markers symmetric horizontally, vertically
and on the diagonal.
2021-01-28 14:54:05 +01:00
Zheng, Lei
dcc04f35d0
Gui: reset model transformation scaling in SoAutoZoomTranslation
2020-05-13 13:21:58 +02:00
luz.paz
04ba2872f0
src/Gui: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all `src/Gui` files
2019-12-25 11:39:17 +01:00
wmayer
9fa56345cf
core system
...
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
Zheng, Lei
fc87332709
Gui: Placement/DatumCS view provider changes
...
* Add always zoom invariant and always on top rendering to
ViewProviderDatumCS
* Add a new utility class AxisOrigin for more efficient axis rendering.
Also exposed to python.
* Change ViewProviderPlacement to use AxisOrigin for rendering.
A single instance of AxisOrigin is shared by all
ViewProviderPlacement. Selection context is used to distinguish among
different instances.
2019-08-17 15:08:34 +02:00
JimStar
6a5ad383ab
Extended global marker size to be used for other modes
2018-07-11 21:22:28 -03:00
JimStar
5a7a765ed6
Implemented a global setting for marker size and support of it for snapping in "Draft" workbench. In future this setting can be used for other markers too, to be able to set them all to comfortable size by just one global setting.
...
Before that (e.g. on MacBook Pro) it was very hard to see the microscopic selection-circle hidden behind much bigger cursor arrow when trying to snap e.g. a line to some vertex. Now this setting can be used for such displays to increase the marker size and make it clearly visible behind the cursor.
The already existing "sketcher marker size" property is intended to be used for sketcher only, so it's not suitable for global setup of all the markers' sizes uniformly...
2018-07-05 19:05:19 -03:00
wmayer
906e548912
fix bug in SmSwitchboard::doAction
2018-01-26 16:47:56 +01:00
wmayer
c831d66589
add SwitchBoard node class
2017-05-01 17:42:03 +02:00
Kunda
de2392eb18
source typo fixes pt5
...
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
wmayer
1e6dcabefc
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02:00
wmayer
d7f36ecc11
cleanup SoAutoZoomTranslation
2016-08-12 17:55:53 +02:00
jriegel
57d4edab07
implementing Plane visual
2016-04-12 18:11:44 +02:00
jriegel
7a76df4013
implementing PlacementObject
2016-04-12 18:11:44 +02:00
jriegel
2052563b70
duplicate zoom node to Gui and add doc tool module
2016-04-12 18:11:44 +02:00
wmayer
f7bdebf0f7
+ add missing header
2016-03-08 00:36:17 +01:00
wmayer
466a4e6d4d
+ issue #0001203 : Allow User to Adjust Size of Constraint Points
2016-03-08 00:31:50 +01:00
wmayer
ed2eeffd67
+ fixes #0002268 : Segmentation Fault when using sketcher
2015-09-17 13:31:10 +02:00
wmayer
4accb68bb1
+ fix method ViewProviderDocumentObject::getActiveView()
...
+ fix SoAutoZoomTranslation and SoZoomTranslation to get correct scaling factor
(do not rely on active view because this can be the wrong one and thus delivers wrong results)
2015-09-16 11:32:35 +02:00
Stefan Tröger
512a2b94d2
Adaption of FreeCAD to QuarterWidget
...
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer interface
2014-09-23 10:11:11 +02:00
wmayer
3fe720f3bc
+ Replace math.h with cmath
2014-01-05 11:25:40 +01:00
jriegel
fe76712e9f
Add all base system changes from the Assembly branch
2013-02-10 20:02:33 +01:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00