Cristian Maglie
1a7eaaf8b2
Fix always-on-top notification popup
2016-03-31 18:49:44 +02:00
Ivan Esparza
bbf909fd4f
Changed color of version text in About box
2016-03-22 12:28:33 -07:00
agdl
057bf6391d
This fixes #4572
2016-02-29 09:26:40 +01:00
Cristian Maglie
b02ce54387
Removed leftover stub for testing NotificationPopup dialog
2016-02-01 10:18:41 +01:00
Cristian Maglie
8e4ce4cfd1
Serial monitor font is scaled too
2016-02-01 10:14:19 +01:00
Cristian Maglie
5642c291d7
Fixed default initial editor size
2016-01-26 17:11:53 +01:00
Cristian Maglie
639d991dad
Some small cosmetics
2016-01-26 17:11:53 +01:00
Cristian Maglie
57c6d096f6
Notification pop-up is now correctly scaled
2016-01-26 16:48:14 +01:00
Cristian Maglie
4659c6f985
Auto-scale editor and console fonts as well
2016-01-26 16:48:14 +01:00
Cristian Maglie
59ec660c9b
Fixed minimum size for a bunch of GUI elements
2016-01-26 12:10:12 +01:00
Cristian Maglie
f23577499f
Split pane is now sized correctly
2016-01-26 12:10:12 +01:00
Cristian Maglie
9215c06676
Installers windows are now correctly scaled.
2016-01-26 12:10:12 +01:00
Cristian Maglie
2f0b0db5ba
Set maximum scale to 400%
2016-01-26 12:09:57 +01:00
Cristian Maglie
409f3161c8
Added GUI scaling in preference panel.
2016-01-26 12:09:57 +01:00
Cristian Maglie
08ad60032f
Fix for some font rendering problems on linux
2016-01-26 12:09:57 +01:00
Cristian Maglie
3928b6a04f
Fixed a small mess in EditorHeader
2016-01-26 12:09:57 +01:00
Cristian Maglie
d920c06699
Now the IDE use vectorial images whenever possible
...
The caller of Theme.getThemeImage(...) now pass only the name of
the needed resource and the theme folder is searche in the following
order:
- name.svg
- name.png (if svg is not available)
- name@2x.png (if none of the above are available or if 1x png is
too low resolution for the current scaling factor)
2016-01-26 12:09:57 +01:00
Cristian Maglie
e2fec88f5f
Added some missing Theme.scale(..)
...
Now toolbar and header are correctly rendered
2016-01-26 12:09:56 +01:00
Cristian Maglie
967153fe87
Factored out scaling formula into an helper method
...
Also use a default value of 100 in case "gui.scalePercent" is not set.
2016-01-26 12:09:56 +01:00
Cristian Maglie
f239f5b5ab
Moving getLibImage and getThemeImage into Theme class
2016-01-26 12:09:56 +01:00
Cristian Maglie
f1fc862575
Added hi-res toolbar images
...
Hi-resolution images are saved with the "@2x.png" suffix, the image
loader will select the best image available based on the user selected
scaling.
Missing hi-res images can be added later together with lo-res images.
2016-01-26 12:09:56 +01:00
Cristian Maglie
5637130818
Converted toolbar icons to png
2016-01-26 12:09:55 +01:00
Cristian Maglie
08d35106c2
Add scaling for themed fonts and graphics (hires displays) (Paul Stoffregen)
2016-01-26 12:09:55 +01:00
Cristian Maglie
c3d2bbdb86
Merge branch 'save-on-close'
2016-01-25 17:57:21 +01:00
Cristian Maglie
0bceb93b7c
When closing the last sketch, the window position is saved as default
...
This allows the use-case with users editing one sketch at a time, that
seems to be the most common scenario:
1. User position the editor as desired
2. User close the IDE
3. User opens the IDE by double clicking on another .ino file
4. The IDE is opened again at the same position
See #4432
2016-01-22 18:08:49 +01:00
Cristian Maglie
61f11f60e1
Factored out logic to retrieve editor placement
...
The check for "resolution-changed" is performed when an editor
location is retrieved from preferences. This commit rationalize
access to PreferencesData and prepares for the next improvement.
2016-01-22 18:06:09 +01:00
Cristian Maglie
f5f478ced6
Factored out method to save sketch location
2016-01-22 18:06:08 +01:00
Cristian Maglie
c98c18089d
Save window position when closing app from "x" button or Alt+F4
...
Fix #4404
Fix #4218
2016-01-22 18:06:08 +01:00
Cristian Maglie
2c089044c8
Small cosmetics
2016-01-22 18:06:08 +01:00
Matthijs Kooijman
3d47995915
Remove unused imports
...
This silences some java warnings.
2016-01-21 17:18:55 +01:00
Cristian Maglie
9e5dc5ce3b
Merge branch 'renaming' of https://github.com/matthijskooijman/Arduino
2016-01-19 13:53:50 +01:00
Hasso Tepper
d05b375810
Fix some incorrect I18n.format()/tr() usage
2016-01-18 09:47:05 +02:00
Cristian Maglie
870171a69e
Fix bug in serial plotter for negative values
...
Fix #4365
Fix #4292
2016-01-08 12:16:09 +01:00
Cristian Maglie
232f434ca8
Updated translations for translators
2016-01-05 12:54:17 +01:00
Cristian Maglie
d1455a070d
Added Thai language
2016-01-05 12:25:18 +01:00
Hasso Tepper
d2277fc1c7
Convert message to single string to ease a translation
2016-01-04 20:08:03 +02:00
Hasso Tepper
531248a474
Make editor statusline text translatable
2016-01-03 23:41:40 +02:00
Cristian Maglie
16c4701802
Rename Contributed*TableCell to Contributed*TableCellJPanel
2015-12-29 16:01:34 +01:00
Cristian Maglie
a7e22e1958
Some minor cosmetics
2015-12-29 16:01:34 +01:00
Cristian Maglie
2b9483b6e6
Extract ContributionIndexTableModel as outer class
2015-12-29 16:01:34 +01:00
Cristian Maglie
d598f0cfa7
Removed unused LibraryManagerUI.getContribModel() method
2015-12-29 16:01:34 +01:00
Cristian Maglie
91f18dff24
Factored out ContributedLibraryTableCell.update(...) method
2015-12-29 16:01:34 +01:00
Cristian Maglie
71eb3c3ab2
Removed useless DESCRIPTION_COL constant
2015-12-29 16:01:34 +01:00
Cristian Maglie
47fcf318b1
Removed unused parameters in *TableCell.update(..) method
2015-12-29 16:01:33 +01:00
Cristian Maglie
76068c92b4
*TableCellEditor now extends JPanel
2015-12-29 16:01:33 +01:00
Cristian Maglie
015f658d1e
Factored out TableCell setEnable() code
2015-12-29 16:01:33 +01:00
Cristian Maglie
c1387ed316
Removed weird hack for refreshing table cells
2015-12-29 16:01:33 +01:00
Cristian Maglie
4725584a49
ContributedPlatformCell* now follows swing cell model abstraction
...
This commit completes the refactoring
2015-12-29 16:01:33 +01:00
Cristian Maglie
6370a74632
Split TableCellRenderes from TableCellEditors
...
This rationalization helps to better follow the swing abstractions
of table models and increase separation of concerns.
(WIP: ContributedPlatforms needs a similar refactoring that will be
done in the next commits)
2015-12-29 16:01:33 +01:00
Cristian Maglie
fd04767269
Renamed ContributedLibraryTableCell to ContributedLibraryTableCellRenderer
...
This is in preparation for the next refactoring.
2015-12-29 16:01:33 +01:00