mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fixes editor header stuff, also 1.4-only prefs line, plus Info.plist
This commit is contained in:
@@ -146,10 +146,11 @@ public class PdeEditorHeader extends JComponent {
|
||||
Graphics g = offscreen.getGraphics();
|
||||
if (font == null) {
|
||||
font = PdePreferences.getFont("header.text.font");
|
||||
g.setFont(font);
|
||||
metrics = g.getFontMetrics();
|
||||
fontAscent = metrics.getAscent();
|
||||
}
|
||||
g.setFont(font); // need to set this each time through
|
||||
metrics = g.getFontMetrics();
|
||||
fontAscent = metrics.getAscent();
|
||||
//}
|
||||
|
||||
//Graphics2D g2 = (Graphics2D) g;
|
||||
//g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
|
||||
|
||||
@@ -296,14 +296,14 @@ public class PdePreferences extends JComponent {
|
||||
pain.add(textarea);
|
||||
*/
|
||||
label = new JLabel("More preferences can be edited directly in the file");
|
||||
label.setForeground(Color.GRAY);
|
||||
label.setForeground(Color.gray);
|
||||
pain.add(label);
|
||||
d = label.getPreferredSize();
|
||||
label.setBounds(left, top, d.width, d.height);
|
||||
top += d.height; // + GUI_SMALL;
|
||||
|
||||
label = new JLabel(preferencesFile.getAbsolutePath());
|
||||
label.setForeground(Color.GRAY);
|
||||
label.setForeground(Color.gray);
|
||||
pain.add(label);
|
||||
d = label.getPreferredSize();
|
||||
label.setBounds(left, top, d.width, d.height);
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>CFBundleName</key>
|
||||
<string>finch</string>
|
||||
<string>Processing</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>10.2</string>
|
||||
<key>CFBundleAllowMixedLocalizations</key>
|
||||
@@ -44,7 +44,7 @@
|
||||
<string>true</string>
|
||||
<key>com.apple.hwaccel</key>
|
||||
<string>true</string>
|
||||
<key>com.apple.macos.use-file-dialog-packages</key>
|
||||
<key>apple.awt.use-file-dialog-packages</key>
|
||||
<string>false</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
@@ -219,15 +219,17 @@ X http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs
|
||||
X history is not implemented in this version
|
||||
|
||||
X update build instructions for cvs
|
||||
|
||||
_ macosx
|
||||
_ check to see if new linemetrics stuff is working better (it's not)
|
||||
_ enable the "use screen menubar" stuff (finch?)
|
||||
_ check to see if it's running ok with new java update
|
||||
X macosx
|
||||
X check to see if new linemetrics stuff is working better (it's not)
|
||||
X redo setFont() in PdeEditorHeader
|
||||
X enable the "use screen menubar" stuff (finch?)
|
||||
X check to see if it's running ok with new java update
|
||||
X update to new shell runner (old mrj guy was ancient)
|
||||
|
||||
with casey
|
||||
_ figure out what to include for examples/libraries
|
||||
_ let's not call it 'expert', let's just say w/o java
|
||||
_ "draw" is not highlighted as a keyword
|
||||
|
||||
|
||||
......................................................................
|
||||
|
||||
Reference in New Issue
Block a user