idek
This commit is contained in:
parent
8ba36e12d4
commit
3133ae8457
2 changed files with 2 additions and 4 deletions
|
@ -26,9 +26,8 @@ public class Context {
|
||||||
|
|
||||||
public static void draw(int x, int y)
|
public static void draw(int x, int y)
|
||||||
{
|
{
|
||||||
//g = bufferedImage.createGraphics();
|
|
||||||
|
|
||||||
int size = Window.sizeSlider.getValue();
|
int size = Window.sizeSlider.getValue();
|
||||||
|
|
||||||
Color c = new Color(rng.nextInt(256), rng.nextInt(256), rng.nextInt(256), Window.opacitySlider.getValue());
|
Color c = new Color(rng.nextInt(256), rng.nextInt(256), rng.nextInt(256), Window.opacitySlider.getValue());
|
||||||
|
|
||||||
g.setColor(c);
|
g.setColor(c);
|
||||||
|
|
|
@ -4,7 +4,6 @@ public class Painter {
|
||||||
private static String title = "Painter";
|
private static String title = "Painter";
|
||||||
public static boolean isRunning;
|
public static boolean isRunning;
|
||||||
|
|
||||||
|
|
||||||
public static void init()
|
public static void init()
|
||||||
{
|
{
|
||||||
Window w = new Window(title);
|
Window w = new Window(title);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue