Commit graph

238 commits

Author SHA1 Message Date
John Lewin
ea3fa0bd2c Change MHTextEditWidget anchoring 2018-01-17 12:05:46 -08:00
LarsBrubaker
69d4eb978e Fixe text tests 2018-01-17 10:24:07 -08:00
John Lewin
852432bf4c Remove dead code 2018-01-16 19:01:17 -08:00
John Lewin
fd439fe675 Switch to transparent button backgrounds
- Add TextIconButton for image/text combos
- Add SimpleFlowButton for hover behaviors on Flowlayout types
- Duplicate hover behaviors in PopupMenuButton
- Base SimpleButton on GuiWidget rather than classic button type
- Issue MatterHackers/MCCentral#2671
Evaluate transparent normal fill for toolbar buttons
2018-01-16 19:01:09 -08:00
LarsBrubaker
cc339c6c75 Need Text Edit Widget outer scroll container to be stretch 2018-01-16 15:36:18 -08:00
John Lewin
c088d532d7 Revert "Use TextButton in the simple case"
This reverts commit 2abbab9322.
Revert due to issues with MenuButtonFactory/buttons on white bg
2018-01-12 17:15:21 -08:00
John Lewin
2abbab9322 Use TextButton in the simple case 2018-01-12 10:55:30 -08:00
John Lewin
85981f5108 ToggleSwitch factory should allow caller to specify text/border color
- Issue MatterHackers/MCCentral#2514
Adjust print popup menu for forced white background
2017-12-29 09:11:34 -08:00
John Lewin
b569b070ef Fix collapsed controls
- Issue MatterHackers/MCCentral#2521
Control glitches potentially related to layout engine revisions
2017-12-28 12:41:20 -08:00
LarsBrubaker
aa83024133 Fixed copy to work with groups and multi select
Deleting dead code around InverImageLocation

issue: MatterHackers/MCCentral#2432
Copy does not work if more than one item selected
2017-12-17 11:30:37 -08:00
John Lewin
ebea5a5bdb Remove extra scaling, special styling, for touchscreen
- Issue MatterHackers/MCCentral#2334
Create folder is not open to right size
2017-12-11 21:09:40 -08:00
John Lewin
62caf39367 Remove confusing conditional localize, handle error case in test
- Workaround added to model rather than fixed in caller, like from test
2017-12-04 15:07:56 -08:00
John Lewin
ffc9ade8cb Text owners should localize their text values
- Derived types should localize their own text rather than the base
2017-12-04 15:07:56 -08:00
John Lewin
c0eb7b67b5 Use common menu styling for ViewControls3D overflow menu
- Add new RadioIconButton based on SimpleButton
- Fix layout issues caused by FixBoundsAndChildrenPositions removal
- Issue MatterHackers/MCCentral#2220
ViewControls3D should use theme colors
- Issue MatterHackers/MCCentral#2217
Popup menu uses inconsistent styling
2017-11-09 15:49:18 -08:00
John Lewin
c1b2aeb7d8 Rename Wizard Window/Page -> Dialog Window/Page 2017-11-08 15:56:37 -08:00
John Lewin
9e7ccfe872 Remove unused Creators feature 2017-11-05 07:12:45 -08:00
Lars Brubaker
cfca964294 More Refactoring of RGBA_Bytes 2017-11-01 18:13:47 -07:00
Lars Brubaker
359784877f Unify Vector2 3 and 4 to have upper case field members 2017-10-31 12:53:46 -07:00
Lars Brubaker
8d1fecab8c Changed RGBA_Bytes -> Color 2017-10-31 11:43:25 -07:00
John Lewin
1a1bff86f2 Fix build error 2017-10-18 23:09:14 -07:00
John Lewin
040361a428 Convert StyledMessageBox over to WizardPage 2017-10-18 22:50:57 -07:00
John Lewin
f38cd7fc41 Add ShowMessageBox overload without callback requirement 2017-10-18 19:54:06 -07:00
John Lewin
aa5175b3a2 Add license, use language string keyword 2017-10-18 19:43:33 -07:00
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
7590d71fc3 De-emphasize toggle switch borders 2017-10-01 19:49:31 -07:00
John Lewin
6881e3ed3b Revise ToggleSwitch UIField to match sibling widths
- Issue MatterHackers/MCCentral#2020
Improve UIField sizing and positions
2017-10-01 18:25:12 -07:00
John Lewin
4947ac483c Simplify and unify MHEdit controls
- Issue MatterHackers/MCCentral#2020
Improve control sizing and positions
2017-10-01 14:22:12 -07:00
John Lewin
e7522314ce Extract embedded types to new files 2017-10-01 11:26:44 -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
John Lewin
c9d6b20e16 Optional toggle labels 2017-09-13 06:45:22 -07:00
Lars Brubaker
8854dc467c Working on new group system 2017-09-12 18:39:02 -07:00
Lars Brubaker
611ff4799a Made the bed change on printer change
Started work on a publish to MatterHackers
2017-08-31 15:52:47 -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
e410b4548d Add debugging support to TextImageWidget, remove phantom padding 2017-08-13 14:23:54 -07:00
John Lewin
9915817e16 Remove centerText parameters 2017-08-13 14:17:34 -07:00
John Lewin
1b1be8545a Apply constraints to self rather than child, set padding not margin 2017-08-13 09:47:17 -07:00
John Lewin
1c8e70c7cb Use .BackgroundColor rather than owner render/fill 2017-08-13 09:36:13 -07:00
John Lewin
af44a465bf Refactor TextImageWidget 2017-08-13 09:29:28 -07:00
John Lewin
b2387bf18c Remove centerText constructor parameter 2017-08-13 09:24:02 -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