Commit graph

1846 commits

Author SHA1 Message Date
John Lewin
158fbfe647 Move GuideAssets list to ApplicationController
- Issue MatterHackers/MCCentral#3302
Put help json document on site feed and update it from there
2018-05-16 12:06:53 -07:00
John Lewin
cc49238e0b Add scrollable widget around GCodeDetails
- Issue MatterHackers/MCCentral#3361
GCode details window is not scrollable
2018-05-16 12:06:53 -07:00
Lars Brubaker
eb5ebf30a8 Make the switch for slice or drag show that the button was clicked 2018-05-16 11:37:44 -07:00
Lars Brubaker
1f663cc78e Make sure we check if there is wheel data before using it. 2018-05-16 09:20:32 -07:00
LarsBrubaker
d4dba5c7e7 Better logic around showing tree view
Text object apply mantains data better (and now untility function)
2018-05-16 07:48:36 -07:00
Lars Brubaker
6bccaaa716 Starting work on part tree view 2018-05-15 17:45:28 -07:00
Lars Brubaker
fbd4f9e219 Improved GlyphTranslator
Added true type fonts
Refactored VertexStorage data types
Shortened FlagsAndComamand enum names
2018-05-15 15:06:40 -07:00
John Lewin
0ab83d9a92 More consistent GCode SectionWidget styling 2018-05-15 08:42:56 -07:00
John Lewin
50f871e59b Closer match sibling styling 2018-05-15 08:42:00 -07:00
John Lewin
b110de1de3 Use single instance 2018-05-15 07:58:54 -07:00
John Lewin
41abf42ce1 Use common row style layout for GCode details
- Issue MatterHackers/MCCentral#3375
Consider more consistent display style
2018-05-15 07:56:21 -07:00
John Lewin
121b7324f0 Use theme colors 2018-05-14 12:21:57 -07:00
John Lewin
7d8bb2d964 Decouple thumb generation for ListView control
- Issue MatterHackers/MCCentral#3357
ListView ActiveContainer_Changed fires far more than expected

- Issue MatterHackers/MCCentral#3363
Start page -> Part icon -> Click does not load workspace
2018-05-11 18:41:50 -07:00
Lars Brubaker
611874275e Cleaning up some bad code around small gcode data 2018-05-11 16:59:22 -07:00
LarsBrubaker
47335b7219 improve gcode layer display:
issue: MatterHackers/MCCentral#3331
Index out of range exception when loading mostly empty GCode file

issue: MatterHackers/MCCentral#3332
more layer info
2018-05-11 14:40:56 -07:00
John Lewin
dd6c105fd3 Switch from GCode to Model view on drag over
- Issue MatterHackers/MatterControl#3148
After deleting obj in GCode view, model stays visually (kinda confusing?)
2018-05-10 17:21:59 -07:00
John Lewin
664b736f66 Disallow model selection in GCode views
- Issue MatterHackers/MatterControl#3148
After deleting obj in GCode view, model stays visually (kinda confusing?)
2018-05-10 17:14:54 -07:00
LarsBrubaker
c3ffe541be Refactoring selection bounds to be in world space
refactoring changing signatures
2018-05-10 10:20:39 -07:00
John Lewin
95a82a3093 Cleanup 2018-05-10 08:37:55 -07:00
John Lewin
6dcbd60fc0 Remove Invalidate from OnDraw call
- Issue MatterHackers/MCCentral#3347
Invalidate should not be invoked from Draw
2018-05-10 08:37:55 -07:00
John Lewin
b8d5b00ad3 Compute rather than move for selection render
- Issue MatterHackers/MCCentral#3344
Won't close if there is a selection on the bed

- Issue MatterHackers/MCCentral#3347
Invalidate should not be invoked from Draw
2018-05-10 08:37:54 -07:00
Lars Brubaker
f39d2116ee Made the selection much faster and consistent 2018-05-09 16:41:45 -07:00
John Lewin
7fadf07589 Change ZOffset to LayerTop 2018-05-09 15:27:31 -07:00
Lars Brubaker
9678fe7561 Don't show internals of !persistable objects 2018-05-09 12:30:49 -07:00
John Lewin
f6ce9431b6 Move state from widget to model and revise persistence/init
- Issue MatterHackers/MCCentral#3305
View style state not synced on load
2018-05-09 08:41:29 -07:00
John Lewin
6441440764 Improve readability, add uncommitted change 2018-05-09 07:50:50 -07:00
John Lewin
50ec91ea2f Ensure drag-drop GCode is disallowed on part tabs
- Issue MatterHackers/MCCentral#3318
Drag-drop GCode to part tab should not be allowed
2018-05-09 07:35:42 -07:00
John Lewin
7731b0b4fd Revise naming for clarity 2018-05-08 17:24:14 -07:00
John Lewin
4707907901 Only rebuild printer tab if printer changed
- Issue MatterHackers/MCCentral#3327
Avoid unnecessary printer tab close and reload
2018-05-08 17:24:14 -07:00
Lars Brubaker
c2d2509195 Got the per layer info to show up in gcode view
Fixed bugs with gcode parsing
Moved classes into separate files
2018-05-08 15:19:29 -07:00
John Lewin
e882387187 Make AddTab virtual 2018-05-08 13:14:29 -07:00
John Lewin
eae0a57393 Ensure correct tab position on add 2018-05-08 12:49:19 -07:00
John Lewin
4bc195ab7a Ensure Printer tab icons honor scaling factor
- Issue MatterHackers/MCCentral#3324
2018-05-08 09:00:33 -07:00
John Lewin
3e600cfd6e Ensure single printer tab only, add support for AddTab(widget, index)
- Issue MatterHackers/MCCentral#3303
Don't open the same printer 2x when selecting a different plate
2018-05-08 08:53:37 -07:00
John Lewin
511362bcf4 Adjust Materials selector for consistency and ColorButton alignment
- Issue MatterHackers/MCCentral#3285
Need to align none
2018-05-07 19:22:21 -07:00
John Lewin
a1a0805ef8 Bring bed colors closer to each other across Model/GCode3D/GCode2D
- Issue MatterHackers/MCCentral#3320
2018-05-07 19:22:21 -07:00
John Lewin
45b8c06827 Switch back to Model view on ClearPlate
- Issue MatterHackers/MCCentral#3284
clearing the bed does not switch back on the 3D view after dragging on GCode
2018-05-07 19:22:21 -07:00
John Lewin
9a43326fd5 Switch to GCode view on load if is GCode content 2018-05-07 19:22:21 -07:00
John Lewin
e46737072e Never intentionally null ContentStore 2018-05-07 19:22:21 -07:00
John Lewin
37c131adac Remove hard-coded PlatingHistory binding, reuse current reference 2018-05-07 19:22:20 -07:00
John Lewin
7fa6736e4b Remove this prefix on local member 2018-05-07 19:22:20 -07:00
John Lewin
d1be142934 Persist expansion state of progress widgets
- Issue MatterHackers/MCCentral#3202
remember full / compact state of 3D progress indicator
2018-05-07 13:12:32 -07:00
John Lewin
ff833f230e Revise naming to reflect behavior 2018-05-07 09:47:50 -07:00
John Lewin
ff20c4e48e Remove redundant validation 2018-05-07 09:47:50 -07:00
John Lewin
dbee0e428f Use initializer syntax 2018-05-07 09:47:49 -07:00
John Lewin
9aa8bb80b1 Remove helper method 2018-05-07 09:47:49 -07:00
John Lewin
03838baef0 Use PNG for X icon
- Issue MatterHackers/MCCentral#3278
X is not same black as checkmark (switch it to an icon in the icon folder)
2018-05-05 08:36:02 -07:00
Lars Brubaker
ce5ad5f687 Updated animation callback
Working on fixed string
2018-05-04 13:48:06 -07:00
John Lewin
3f81c5e83d Add persistence mechanism for Part tabs
- Issue MatterHackers/MCCentral#3162
Tabs need new persistence mechanism to survive ReloadAll
2018-05-03 23:00:02 -07:00
John Lewin
0038c3c251 Use Round values when enforcing integer bounds 2018-05-03 14:14:38 -07:00