mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
removing old resize images, no longer necessary.. also tweak code for new setup (issue #730)
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 73 B |
@@ -34,8 +34,6 @@ public class EditorLineStatus extends JComponent {
|
||||
// JEditTextArea textarea;
|
||||
int start = -1, stop;
|
||||
|
||||
Image resize;
|
||||
|
||||
Color foreground;
|
||||
Color background;
|
||||
Font font;
|
||||
@@ -62,10 +60,6 @@ public class EditorLineStatus extends JComponent {
|
||||
font = mode.getFont("linestatus.font");
|
||||
foreground = mode.getColor("linestatus.color");
|
||||
high = mode.getInteger("linestatus.height");
|
||||
|
||||
if (Base.isMacOS()) {
|
||||
resize = mode.loadImage("theme/resize.gif");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -101,10 +95,6 @@ public class EditorLineStatus extends JComponent {
|
||||
g.setColor(foreground);
|
||||
int baseline = (high + g.getFontMetrics().getAscent()) / 2;
|
||||
g.drawString(text, 6, baseline);
|
||||
|
||||
if (Base.isMacOS()) {
|
||||
g.drawImage(resize, size.width - 20, 0, this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -548,9 +548,10 @@ public abstract class Mode {
|
||||
});
|
||||
|
||||
tree.setBorder(new EmptyBorder(5, 5, 5, 5));
|
||||
JScrollPane treeView = new JScrollPane(tree);
|
||||
treeView.setPreferredSize(new Dimension(250, 450));
|
||||
examplesFrame.add(treeView);
|
||||
JScrollPane treePane = new JScrollPane(tree);
|
||||
treePane.setPreferredSize(new Dimension(250, 450));
|
||||
treePane.setBorder(new EmptyBorder(0, 0, 0, 0));
|
||||
examplesFrame.getContentPane().add(treePane);
|
||||
examplesFrame.pack();
|
||||
}
|
||||
// Space for the editor plus a li'l gap
|
||||
|
||||
+17
-3
@@ -7,11 +7,24 @@
|
||||
<condition property="linux"><os family="unix" /></condition>
|
||||
|
||||
<condition property="platform"
|
||||
value="macosx"><os family="mac" /></condition>
|
||||
value="macosx"><os family="mac" /> </condition>
|
||||
<condition property="platform"
|
||||
value="windows"><os family="windows" /></condition>
|
||||
value="windows"><os family="windows" /> </condition>
|
||||
<condition property="platform"
|
||||
value="linux"><os family="unix" /></condition>
|
||||
value="linux"><os family="unix" /> </condition>
|
||||
|
||||
<condition property="target.path"
|
||||
value="macosx/work/Processing.app/Contents/Resources/Java">
|
||||
<os family="mac" />
|
||||
</condition>
|
||||
|
||||
<condition property="target.path" value="linux/work">
|
||||
<os family="unix" />
|
||||
</condition>
|
||||
|
||||
<condition property="target.path" value="windows/work">
|
||||
<os family="windows" />
|
||||
</condition>
|
||||
|
||||
<!-- Libraries required for running processing -->
|
||||
<fileset dir=".." id="runtime.jars">
|
||||
@@ -44,6 +57,7 @@
|
||||
<!-- ensure that the android-core.zip file has been built -->
|
||||
<available file="${target.path}/modes/android/android-core.zip"
|
||||
property="android-core-present" />
|
||||
<!--<echo message="${target.path}/modes/android/android-core.zip" />-->
|
||||
<fail unless="android-core-present"
|
||||
message="android-core.zip was not built, but is required for dist. Install the Android tools, set ANDROID_SDK, and try again." />
|
||||
</target>
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
<string>true</string>
|
||||
|
||||
<key>apple.awt.showGrowBox</key>
|
||||
<string>false</string>
|
||||
<string>true</string>
|
||||
<key>com.apple.smallTabs</key>
|
||||
<string>true</string>
|
||||
<key>apple.awt.Antialiasing</key>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 92 B |
Binary file not shown.
|
Before Width: | Height: | Size: 92 B |
@@ -17,6 +17,8 @@ X make examples window respond to ESC
|
||||
X and double-click events to expand/collapse nodes
|
||||
X examples window placed off-screen when PDE window is maximized
|
||||
X http://code.google.com/p/processing/issues/detail?id=669
|
||||
X Resize box on OS X is not present in Examples box
|
||||
X http://code.google.com/p/processing/issues/detail?id=730
|
||||
|
||||
cleanup
|
||||
X how is autoformat doing? good now
|
||||
@@ -37,6 +39,7 @@ o prevent people from setting the font size too small in the editor
|
||||
o how do we figure out what "too small" is?
|
||||
X -> everyone thinks this is funny
|
||||
|
||||
required for 0198 release
|
||||
_ automatically insert the 'import processing.opengl' when P3D used
|
||||
_ add support for automatically including OpenGL when asking for P3D
|
||||
_ when using P3D and not realizing that it's really OpenGL...
|
||||
@@ -51,8 +54,6 @@ _ http://code.google.com/p/processing/issues/detail?id=688
|
||||
_ write quicktime uncompressed (w/o qtjava)
|
||||
_ http://www.randelshofer.ch/blog/2010/10/writing-quicktime-movies-in-pure-java/
|
||||
|
||||
_ Resize box on OS X is not present in Examples box
|
||||
_ http://code.google.com/p/processing/issues/detail?id=730
|
||||
|
||||
pnode: look more closely at json and xml compatibility
|
||||
|
||||
|
||||
Reference in New Issue
Block a user