Maciej Suminski
d1578e4e1a
Fixed cvpcb build.
12 years ago
Maciej Suminski
1de8eba49e
Added functions for refreshing the layer set occupied by a VIEW_ITEM.
12 years ago
Maciej Suminski
a991cb4470
Changed the way of refreshing canvases (both standard & GAL).
12 years ago
Maciej Suminski
2c03bf4109
Removed TA_ActivateTool (now tools are invoked by sending TA_Action event, with the tool name as string parameter).
Developed TOOL_Action class & added ActionManager. Hot keys registered by tools are processed.
Selection & move tool can be invoked by a hot key.
12 years ago
Maciej Suminski
9b16651607
Added limits for VIEW scale values & panning area.
12 years ago
Maciej Suminski
56c78d44bf
Moved Type() method from EDA_ITEM to VIEW_ITEM.
12 years ago
tomasz.wlostowski@cern.ch
88ee288465
VIEW_CONTROLS: added ForceCursorPosition() and ShowCursor() methods
12 years ago
tomasz.wlostowski@cern.ch
dea793209d
VIEW: added GetTopLayer() method
12 years ago
Maciej Suminski
ab21124b71
Reenabled snapping for tools.
12 years ago
Maciej Suminski
e00c8e92cb
Removed VIEW_LAYER.isDirty flag.
12 years ago
Maciej Suminski
42860b5d02
Changed VIEW::PrepareTargets() to more appropriate name VIEW::ClearTargets(). Added SELECTION layer to always-on-top list.
12 years ago
tomasz.wlostowski@cern.ch
f85bf48a4b
EDA_DRAW_PANEL_GAL: redraw stuff in a single place, with "coalescing"
Redraws can be requested way too often than it is required. This commit adds redraw timeout:
- if the view became dirty and there has been no redraw for longer than certain time, it is redrawed immediately
- otherwise, we wait for the next frame
This in general improves smoothness of rendering.
12 years ago
Maciej Suminski
b04de0cada
Fixed memory leaks in containers.
12 years ago
Maciej Suminski
f179183dea
Removed some dead code.
12 years ago
tomasz.wlostowski@cern.ch
b73474bda6
VIEW_GROUP: added FreeItems() method
12 years ago
Maciej Suminski
d0749a3a52
Small refactoring.
12 years ago
Maciej Suminski
dbbe628b8c
Modified interfaces for [WX_]VIEW_CONTROLS.
12 years ago
Maciej Suminski
31f7ecc16a
First version of the move tool.
12 years ago
Maciej Suminski
8658d90663
Some more spots where the GAL refresh was required.
12 years ago
Maciej Suminski
ab4cb862b0
Solved refreshing issues.
12 years ago
Maciej Suminski
bf3690d841
More effective way of updating bounding boxes. IsCached() method made public. Removed some of unused fields from the layer description structure.
12 years ago
Maciej Suminski
8e88a621ba
Corrected behaviour of drag panning while autopanning is enabled.
12 years ago
Maciej Suminski
fef50dd81e
Changed way of naming VIEW_ITEM update flags to be more explicit.
VIEW_ITEMs save the layer numbers they use, it allowed to speed up removal of items.
12 years ago
Maciej Suminski
d0fc362ec6
Fixed warning.
12 years ago
Maciej Suminski
6fe086ab6d
Added cursor snapping.
12 years ago
Maciej Suminski
215f35e237
Added mouse cursor drawing.
Added flipping mode.
12 years ago
Maciej Suminski
3962464190
Fixed linking errors for apps other than pcbnew.
12 years ago
Maciej Suminski
b03f97b991
Removed some unnecessary stuff and added some comments to WX_VIEW_CONTROLS.
12 years ago
Maciej Suminski
961a8c2eca
Added autopanning functionality to WX_VIEW_CONTROLS.
12 years ago
Maciej Suminski
89a138c09e
Added handling keyboard events for the Tool framework.
12 years ago
Maciej Suminski
5adba827a6
Added VIEW_GROUP for grouping items to be displayed on a single layer.
12 years ago
Maciej Suminski
43ae1cb98d
Smarter way of the overlay rendering (overlay is always refreshed, while cached&noncached targets only if the viewport or items have changed).
12 years ago
Maciej Suminski
e87eea7abc
Reformatting.
12 years ago
Maciej Suminski
e697a2c41c
Functions for direct item drawing.
12 years ago
Maciej Suminski
80901c69cf
Reformatting.
12 years ago
Maciej Suminski
8c37e70889
Different approach to item recaching.
12 years ago
Maciej Suminski
ee80c7f674
Some more reformatting and adding copyright notices.
12 years ago
Maciej Suminski
62ea71fcae
Fixed layers caching settings. Added some comments.
12 years ago
Maciej Suminski
f193e389ec
Moved highlighted flag from VIEW_ITEM to EDA_ITEM. Added brightened and selected flag to EDA_ITEM.
12 years ago
Maciej Suminski
8753bef2fa
Moved VIEW_ITEM::ViewGetRequiredLayers() functionality to the VIEW class. Now required layers are set per layer basis instead of per item.
12 years ago
tomasz.
09182d814d
View: various fixes, added VIEW::IsDirty()
12 years ago
Maciej Suminski
bd182aad9f
Fixed top layer pads netnames issue.
12 years ago
Maciej Suminski
618a5f0e75
OpenGL multitarget rendering (compositing).
12 years ago
Maciej Suminski
4d7db7171c
Fixed comments.
12 years ago
Maciej Suminski
c5ca075e24
Added an interface for highlighting.
12 years ago
Maciej Suminski
cbec733deb
Refactored code responsible for high contrast mode. Now it allows to have more than one layer on the top.
Selecting layer using the dropdown list on the toolbar influences the layer displayed in high contrast mode.
12 years ago
Maciej Suminski
5a0869f2e2
Added 'required layers' option for drawn items.
12 years ago
Maciej Suminski
e29a829a70
Added implementation of level of details per layer and item type pairs basis (items on every layer have a possibility to define the minimum VIEW scale to be shown).
13 years ago
Maciej Suminski
9c4e02379a
Added the 'cached' parameter for VIEW_LAYER. The parameter decides if items drawn on the layer should be cached or drawn in immediate mode.
Removed m_useGroups from VIEW, as now groups are enabled per layer.
13 years ago
Maciej Suminski
58de62aacc
High contrast mode with showing the selected layer on the top.
13 years ago