mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
unfix mac cosmetic fixes on windows.. yay sizing diffs on platforms!
This commit is contained in:
@@ -171,7 +171,8 @@ public class PdeEditorHeader extends JComponent {
|
||||
// disable rename on the first tab
|
||||
renameItem.setEnabled(sketch.current != sketch.code[0]);
|
||||
|
||||
int x = 0; //PdePreferences.GUI_SMALL;
|
||||
//int x = 0; //PdePreferences.GUI_SMALL;
|
||||
int x = (PdeBase.platform == PdeBase.MACOSX) ? 0 : 1;
|
||||
for (int i = 0; i < sketch.codeCount; i++) {
|
||||
PdeCode code = sketch.code[i];
|
||||
|
||||
@@ -364,10 +365,16 @@ public class PdeEditorHeader extends JComponent {
|
||||
}
|
||||
|
||||
public Dimension getMinimumSize() {
|
||||
return new Dimension(300, PdePreferences.GRID_SIZE); // - 1);
|
||||
if (PdeBase.platform == PdeBase.MACOSX) {
|
||||
return new Dimension(300, PdePreferences.GRID_SIZE);
|
||||
}
|
||||
return new Dimension(300, PdePreferences.GRID_SIZE - 1);
|
||||
}
|
||||
|
||||
public Dimension getMaximumSize() {
|
||||
return new Dimension(3000, PdePreferences.GRID_SIZE); // - 1);
|
||||
if (PdeBase.platform == PdeBase.MACOSX) {
|
||||
return new Dimension(3000, PdePreferences.GRID_SIZE);
|
||||
}
|
||||
return new Dimension(3000, PdePreferences.GRID_SIZE - 1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,6 +93,7 @@ _ image(String name) and textFont(String name)
|
||||
_ do we change to font(arial, 12) ?
|
||||
|
||||
scripting
|
||||
_ document the use of "die"
|
||||
_ on exceptions, use die to just kill the applet
|
||||
_ make the file i/o stuff work more cleanly
|
||||
_ if people want to use their own file i/o they can do that too
|
||||
|
||||
@@ -71,6 +71,14 @@ X if more than one class defined, forces it to run externally
|
||||
X (basically any time it sees "class" in the code..
|
||||
X may be subject to errors, but errs on side of just running ext)
|
||||
X runs out of processing data folder
|
||||
X fix for toolbar being one pixel off breaks the windows version
|
||||
X need to only do the fix on the mac.. ugh
|
||||
|
||||
_ "use external editor" is broken
|
||||
_ throws exception on load()
|
||||
|
||||
_ if a data file is in the sketch (not data) folder export breaks
|
||||
_ works fine in the editor, but on export gets a nullpointer ex
|
||||
|
||||
_ macosx is using /Library instead of ~/Library.. get this fixed
|
||||
_ domain version wasn't in the stubs.. grr
|
||||
@@ -90,6 +98,8 @@ _ basic sample audio playback needed for p5
|
||||
|
||||
MESS TO SORT
|
||||
|
||||
_ get an xml library in there
|
||||
|
||||
_ what's up with int() -> toInt() conversion?
|
||||
|
||||
_ use screen manager to run present mode properly
|
||||
|
||||
Reference in New Issue
Block a user