CEnvelope
GetBezier
function anyway (which is probably one of the reasons not to use inheritance). Next I will add an interface to CEnvelopePoint
and then m_vPoints
can probably be private tooCPoint
class inheriting CEditorComponent
with pure virtual methods like SnapToGrid
or UpdatePosition
, RenderPoint
, ... and which handles the logic of calling these). Do you think inheritance is fine in that case?CPoint
class inheriting CEditorComponent
with pure virtual methods like SnapToGrid
or UpdatePosition
, RenderPoint
, ... and which handles the logic of calling these). Do you think inheritance is fine in that case? CPoint
would be a CEditorComponent
CEditorComponentBase
, it's also called CUIElementBase
for the UI elementsCEditorComponentBase
, it's also called CUIElementBase
for the UI elements CEditorObject
?1ccb83b
make IEnvelopePointAccess destructor virtual - Marmare314
1bd3e65
extract CEnvelope into seperate header - Marmare314
073f208
split implementations from CEnvelope class - Marmare314
08b8254
use type enum in CEnvelope - Marmare314
283226e
init member variables of CEnvelope on declaration - Marmare314
95528ca
refactor CEnvelope::FindTopBottom - Marmare314
855ae88
make CEnvelope::Resort private - Marmare314
c2adfc5
make CEnvelope::m_PointsAccess private - Marmare314
48a92f1
Merge pull request #7303 from Marmare314/refactor-env-editor - Robyt3CEditorComponent
and its naming makes it more natural to inherit for envelope points, proof-mode positions etc.
--partition "count:$PARTITION/$TOTAL"
featurecc5ae51
Add suppression for clang-tidy misc-use-anonymous-namespace
- Robyt3
b81fb37
Fix clang-tidy modernize-use-emplace
- Robyt3
63a7063
Fix clang-tidy readability-container-data-pointer
- Robyt3
59f4ae0
Fix clang-tidy clang-analyzer-optin.portability.UnixAPI
- Robyt3
6d71e11
Add suppression for clang-tidy bugprone-suspicious-realloc-usage
- Robyt3
05ddf4a
Fix clang-tidy performance-no-automatic-move
- Robyt3
fb7669e
Fix clang-tidy modernize-use-override
- Robyt3
4e31052
Fix clang-tidy clang-analyzer-deadcode.DeadStores
- Robyt3
5a10ef0
Fix clang-tidy readability-static-accessed-through-instance
- Robyt3
62b9338
Merge pull request #7307 from Robyt3/Clang-Tidy-Cleanup - def-Layers
button switches between the different editor modes (map view, image view, sound view). The simplest solution is to just have 3 buttons:
!screenshot_2023-10-07_00-24-11
Although it is not as pretty as the old button it is a lot more intuitive.
Another option would be to remove the image and sound view and use popups for them instead, which would be acce...