mirror of
https://github.com/euphy/polargraphcontroller
synced 2025-01-09 19:55:16 +01:00
Can change picture frame without having an image loaded. v1.4.2.
This commit is contained in:
parent
a8e5e50743
commit
e3a6cea6cd
@ -51,7 +51,7 @@ import java.awt.event.*;
|
|||||||
|
|
||||||
int majorVersionNo = 1;
|
int majorVersionNo = 1;
|
||||||
int minorVersionNo = 4;
|
int minorVersionNo = 4;
|
||||||
int buildNo = 0;
|
int buildNo = 2;
|
||||||
|
|
||||||
String programTitle = "Polargraph Controller v" + majorVersionNo + "." + minorVersionNo + " build " + buildNo;
|
String programTitle = "Polargraph Controller v" + majorVersionNo + "." + minorVersionNo + " build " + buildNo;
|
||||||
ControlP5 cp5;
|
ControlP5 cp5;
|
||||||
@ -1183,11 +1183,11 @@ void saveNewPropertiesFileWithFileChooser()
|
|||||||
|
|
||||||
void setPictureFrameDimensionsToBox()
|
void setPictureFrameDimensionsToBox()
|
||||||
{
|
{
|
||||||
if (getDisplayMachine().pixelsCanBeExtracted() && isBoxSpecified())
|
// if (getDisplayMachine().pixelsCanBeExtracted() && isBoxSpecified())
|
||||||
{
|
// {
|
||||||
Rectangle r = new Rectangle(getDisplayMachine().inSteps(getBoxVector1()), getDisplayMachine().inSteps(getBoxVectorSize()));
|
Rectangle r = new Rectangle(getDisplayMachine().inSteps(getBoxVector1()), getDisplayMachine().inSteps(getBoxVectorSize()));
|
||||||
getDisplayMachine().setPictureFrame(r);
|
getDisplayMachine().setPictureFrame(r);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
void setBoxToPictureframeDimensions()
|
void setBoxToPictureframeDimensions()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user