Commit graph

198 commits

Author SHA1 Message Date
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
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
339b4ee63a Remove PopOutManager, PopOutTextTab 2017-08-06 10:58:41 -07:00
John Lewin
e5a28f5070 Add slight shade to buttons 2017-08-04 21:34:33 -07:00
John Lewin
1ec80d8e62 First pass at new menubar 2017-08-04 15:47:43 -07:00
John Lewin
9af153f1fe Use existing button factory, use existing Options in SplitButton factory 2017-08-04 08:49:38 -07:00
John Lewin
932b6aca4b Use existing button factory 2017-08-03 19:00:39 -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
282e82eeb0 Use existing GrayButton factory 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
83a4bcf1b7 Create '+' tab for main content view
- Make RenameItemWindow more generic, reuse for Rename Printer
- Move Delete Printer to printer overflow menu
- Move Rename Printer to printer overflow menu
- Remove PrinterSelector from printer overflow menu
- Remove Add New Printer action from PrinterSelector
- Remove pencil icon/edit printer behavior from PrinterSelector
2017-07-27 14:32:21 -07:00
Lars Brubaker
a92bafd2df Refoctoring 2017-06-26 15:42:58 -07:00
John Lewin
9c7e39ac38 Use LinkButtons in breadcrumb bar 2017-06-19 18:52:10 -07:00
John Lewin
8cccf19323 Remove AppSettings wrap widgets, convert to concise white settings menu 2017-06-15 23:55:01 -07:00
John Lewin
9aaf0f6311 Rename PrinterConnectionAndCommunication 2017-06-13 17:22:49 -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
fc45a60d35 Revise PauseOnLayerDoesPauseOnPrint test
- Now intermittently passing
- Make Layer toggle button and Bedplate Save button automatable
- Save Bedplate before leaving AddDefaultFileToBedplate
- Revise casing on AddDefaultFileToBedplate
2017-06-03 19:10:12 -07:00
John Lewin
565fa3606f Remove and replace DynamicDropDownMenu with DropDownMenu 2017-05-31 13:33:43 -07:00
John Lewin
2d737b679c Switch menus from TupleList<string, Func<bool>> to List<NamedAction>
- Menu actions always returned true and result was ignored
- Remove custom TupleList type, prefer lists with custom types
2017-05-31 12:51:15 -07:00
John Lewin
f9c769998d Migrate View3D>Edit>Display options to ViewControls3D overflow menu 2017-05-22 18:17:35 -07:00
Lars Brubaker
a1e1c48d90 All new 1.7.1 changes 2017-05-19 14:39:57 -07:00
John Lewin
28eb683e48 Modify ButtonFactory to correctly adjust DisabledImage if not specified 2017-03-09 06:27:15 -08:00
Lars Brubaker
8134b3f450 Fixed the Macros window to cancel on user closes with the X windows button.
Put cancel into max length and temp stream
Made close function take a bool if the system did it
Moved To EventHandler<> in GuiWidget
Made a ClosedEventsArgs
2017-02-03 13:06:08 -08:00
Lars Brubaker
9c55f8f982 New default constructor, moved hanchor vanchor
removed cover
2017-02-01 16:39:24 -08:00
Tyler Anderson
793cf08d2e Added ability to unhide passwords 2017-01-30 11:22:18 -08:00
John Lewin
6765f5ec15 Convert public EventHandler fields to events
- Use Action instead of EventHandler
- Convert FunctionToCallOnSave to instance member named RefreshMacros
- Remove empty private setter
- Rename functionToLaunchCreator to Show()
2017-01-24 11:49:13 -08:00
John Lewin
8510ca5b3d Remove duplicate .Click event from ButtonBase 2017-01-17 15:31:08 -08:00
John Lewin
ace89e1e5a Use .Localize extension function 2017-01-04 10:52:06 -08:00
larsbrubaker
1c9af30332 Made the macro and gcode edit windows edit faster 2016-12-03 12:48:19 -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
abf963d729 Refoctoring and cleaning menu class
Made changing menu text color propogate to child text widget
2016-09-14 11:36:01 -07:00
Lars Brubaker
cd27388ad5 Test that printers delete on guest profile 2016-09-07 17:00:17 -07:00
Tyler Anderson
0b4bc4cbbc Switched custom GCode boxes to monospace font 2016-08-10 15:18:03 -07:00
Lars Brubaker
ac7b2ee71b Made the printer list sorted 2016-07-29 11:16:59 -07:00
John Lewin
208d9b334a Rename Draw events 2016-07-24 16:32:04 -07:00
Lars Brubaker
e5c187c687 Show com port wizard on desktop when can't connect
Don't show com port wizard when setting up a printer
Moved onload code (first draw) to ApplicationController
getting android to have the same wizard logic as desktop
Refactored setup wizard
2016-07-21 13:49:22 -07:00
Lars Brubaker
d2d315ff9f Don't try to connect when no printer selected. 2016-07-21 10:18:30 -07:00
John Lewin
c5e4597f7f Ensure .Close runs on UI thread 2016-07-18 10:55:29 -07:00
John Lewin
3a5073a8fc Move event registration and overrides into EditPrinterSettingsPage type
- Remove unused GetSystemWindow helper function
 - Remove used member, resolve compiler warning
 - Rename runningAttentions variable
2016-07-18 10:50:38 -07:00