mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
tool for working on ui updates (probably temporary)
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0"?>
|
||||
<project name="Theme Engine" default="build">
|
||||
|
||||
<property name="jar.path" location="tool/ThemeEngine.jar" />
|
||||
<property name="app.bin.path" location="../../../../app/bin" />
|
||||
<property name="core.bin.path" location="../../../../core/bin" />
|
||||
|
||||
<target name="clean" description="Clean the build directories">
|
||||
<delete dir="bin" />
|
||||
<delete file="${jar.path}" />
|
||||
</target>
|
||||
|
||||
<target name="compile" description="Compile sources">
|
||||
<mkdir dir="bin" />
|
||||
<javac target="11"
|
||||
source="11"
|
||||
srcdir="src"
|
||||
destdir="bin"
|
||||
encoding="UTF-8"
|
||||
includeAntRuntime="false"
|
||||
nowarn="true">
|
||||
<classpath>
|
||||
<pathelement location="${app.bin.path}" />
|
||||
<pathelement location="${core.bin.path}" />
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="build" depends="compile" description="Build Movie Maker Tool">
|
||||
<mkdir dir="tool" />
|
||||
<jar basedir="bin" destfile="${jar.path}" />
|
||||
</target>
|
||||
|
||||
<target name="run" depends="build" description="Run standalone for development">
|
||||
<java classname="processing.app.tools.ThemeEngine" fork="true">
|
||||
<classpath>
|
||||
<pathelement location="${jar.path}" />
|
||||
<pathelement location="${app.bin.path}" />
|
||||
<pathelement location="${core.bin.path}" />
|
||||
</classpath>
|
||||
</java>
|
||||
</target>
|
||||
</project>
|
||||
@@ -0,0 +1,36 @@
|
||||
package processing.app.tools;
|
||||
|
||||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import java.io.*;
|
||||
import java.util.Arrays;
|
||||
import java.util.prefs.Preferences;
|
||||
|
||||
import javax.swing.*;
|
||||
import javax.swing.border.EmptyBorder;
|
||||
import javax.swing.filechooser.FileSystemView;
|
||||
|
||||
import processing.app.Base;
|
||||
import processing.app.Language;
|
||||
|
||||
import processing.app.Platform;
|
||||
|
||||
|
||||
public class ThemeEngine implements Tool {
|
||||
Base base;
|
||||
|
||||
public String getMenuTitle() {
|
||||
//return Language.text("theme_engine");
|
||||
return "Theme Engine";
|
||||
}
|
||||
|
||||
|
||||
public void init(Base base) {
|
||||
this.base = base;
|
||||
}
|
||||
|
||||
|
||||
public void run() {
|
||||
//setVisible(true);
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Reference in New Issue
Block a user