Commit graph

70 commits

Author SHA1 Message Date
John Lewin
3d38ad0e5a Fix misaligned overlays
- Issue MatterHackers/MCCentral#2067
Overlays improperly positioned
2017-10-15 00:40:03 -07:00
John Lewin
1e8190eaa6 Make ButtonFactory helper proxies private, accessible through .Options 2017-10-15 00:22:47 -07:00
John Lewin
6c9f7c8922 Reduce complexity of ButtonFactory, use ImageBuffers vs String or Buffer 2017-10-15 00:00:20 -07:00
John Lewin
145ef1ad63 Move theme image adjustment functionality into StaticData.LoadIcon 2017-10-14 23:32:04 -07:00
John Lewin
6e6b0b951b Use minimal view widget for Slice popup button 2017-09-25 22:11:02 -07:00
John Lewin
5a856f6d8f Fix button position/size - use consistent type for icon actions 2017-09-25 13:48:30 -07:00
Lars Brubaker
8854dc467c Working on new group system 2017-09-12 18:39:02 -07:00
John Lewin
3a9833697d Platform providers
- New Provider model
- Remove WindowsFileDialogs project
- Remove PlatformAbstract assembly, use AggContext
- Rename OsInformation to OperatingSystem
2017-08-22 13:42:34 -07:00
John Lewin
a2002a4043 Flatten factory options, use constructor syntax for cloning 2017-08-17 18:03:54 -07:00
John Lewin
580312f05d Move Undo operations to ViewControls3D 2017-08-14 12:38:50 -07:00
John Lewin
3dfe7fb7e2 Add Disabled icon 2017-08-14 10:47:59 -07:00
John Lewin
db09cf7473 Remove extra parameter, latest agg-sharp 2017-08-14 09:06:15 -07:00
John Lewin
85518a3954 Revise GetThemedEditButton for reuse, rewrite to adjust alpha vs hsl
- Rename GetThemedEditButton to GenerateIconButton
- Extract hard-coded icon to callers and add ImageBuffer parameter
- Prevent washed out whites in mixed color images by adjusting alpha
- Reuse new GenerateIconButton helper for Undo/Redo buttons
2017-08-14 05:49:22 -07:00
John Lewin
9915817e16 Remove centerText parameters 2017-08-13 14:17:34 -07:00
John Lewin
d39e640ee5 Extract TextImageWidget to new file 2017-08-13 09:21:04 -07:00
John Lewin
064a7a64f9 Remove unused implementations 2017-08-12 23:08:40 -07:00
John Lewin
7eba42c150 Remove redundant GenerateTooltipButton implementations 2017-08-12 23:02:27 -07:00
Lars Brubaker
f7d4163125 Refactoring VAnchor and HAnchore names
Making more debug info for show bounds
2017-08-07 15:47:27 -07:00
John Lewin
e5a28f5070 Add slight shade to buttons 2017-08-04 21:34:33 -07:00
John Lewin
5193f79f23 Remove per widget manipulation of factory options
- Allow per .Generate() fixedWidth overrides
- Remove 'Set' buttons
2017-08-03 19:00:38 -07:00
John Lewin
2c8c1ea697 Revise button factory option construction 2017-08-03 19:00:37 -07:00
John Lewin
4abea0ab0c Extract button factory options to new class 2017-08-03 19:00:37 -07:00
John Lewin
564b7cc651 Use icons for terminal, eeprom, undo and redo printer actions
- Use placeholder images until custom MC assets are made
- Add attribution for placeholder images
- Remove disabled prototyping code
2017-06-04 14:46:31 -07:00
John Lewin
28eb683e48 Modify ButtonFactory to correctly adjust DisabledImage if not specified 2017-03-09 06:27:15 -08:00
Lars Brubaker
8b72131769 Fixed down arrows on edit model page
MatterHackers/MCCentral#538
Lost down arrow for edit options on 3D view
2016-10-06 10:59:51 -07:00
Lars Brubaker
20a83a9f78 Make sure we make copies of images that we are modifying in image button creation.
Trying to make eula draw faster
Keep rotated objects on the bed.
2016-07-07 10:28:51 -07:00
Lars Brubaker
9b42fac41a Import merge from .printer starting to work.
Ability to center model windows
2016-06-20 15:45:17 -07:00
Lars Brubaker
8f94679671 A bit more work on printer editing. 2016-05-15 11:52:40 -07:00
Lars Brubaker
5a908c7973 Working on edit button for printer 2016-05-13 11:37:22 -07:00
Lars Brubaker
6237997de5 Fixed the arrow icons to render correctly. 2016-05-10 14:53:40 -07:00
Lars Brubaker
039314862b Merge branch 'master' of https://github.com/MatterHackers/MatterControl 2016-05-10 12:16:09 -07:00
Lars Brubaker
e4713d2715 Fixing pencil colors. 2016-05-10 11:42:40 -07:00
John Lewin
8ca7fdf5b8 Create extension method for InvertLightness 2016-05-10 11:13:10 -07:00
Lars Brubaker
1b20092248 Made the com menu rebuild when opened.
Fixed more color setting and new icons
2016-05-09 18:07:35 -07:00
larsbrubaker
4e7b68e1c0 Made all the icons black rather than white on transparent. 2016-05-07 20:06:43 -07:00
larsbrubaker
371561a6f7 Working to make the icons scale better on high res screens. 2016-05-07 17:18:05 -07:00
Lars Brubaker
b51b38b249 Moved TextWidget.GlobalPointSizeScaleRatio -> GuiWidget.DeviceScale
Significantly improved the layout consistency when enlarging the device scale.
Created a DeviceMargin and DevicePadding on GuiWidget
Deleted dead code
Made many images have default larger disk sizes and scale in memory.
Made the menus have horizontal spacers rather than dashed lines
2016-05-06 17:56:27 -07:00
Lars Brubaker
1ba768f9ef Fixed the colors on the pencil icon 2016-05-02 14:20:51 -07:00
Lars Brubaker
1afeb5166a Removed some redundant icons
Made touch scale the edit pencil icon.
2015-12-29 16:41:51 -08:00
Lars Brubaker
02a5d6993d Made the leveling page easier to use on touch
made the message box easier to use on touch
fixed spelling errors.
2015-10-19 15:59:42 -07:00
Lars Brubaker
abe8bbd2b8 Took out the help text widget and the message action row (replaced by tool tips) 2015-08-21 13:29:24 -07:00
Lars Brubaker
b8f61ae1e5 Made more code use tool tips.
Wrote more tool tips.
2015-08-10 10:15:28 -07:00
Lars Brubaker
591528ee91 Ran code maid against this code. 2015-04-08 15:20:10 -07:00
Kevin Pope
fe8769c1c2 Added image spacing attribute to button factory. 2015-01-06 19:05:18 -08:00
Lars Brubaker
ab4c46dcc6 Made more stuff render through graphics2D Rectangle as it is faster. 2015-01-02 18:06:01 -08:00
larsbrubaker
5697cbae2d Fixed problems introduced when directly creating from images. 2014-12-28 13:58:16 -08:00
larsbrubaker
0a97cf0a1d Started work on z height turning controls. 2014-12-27 08:19:48 -08:00
John Lewin
28159053ab Add LoadIcon helper function 2014-12-04 12:22:35 -08:00
John Lewin
eba756966b Initial StaticData platform abstraction 2014-12-04 12:22:34 -08:00
Gregory Diaz
58a3d34938 Finished up work for Printer Connection Window and PrinterList Items. 2014-10-29 12:34:01 -07:00