mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
Removed the PositionedRectangle class (this has been superseded by the RelativeRectangle class. If you still need PositionedRectangle in your code, just grab a copy of the class from the last revision and put it directly into your codebase). Changed the BorderSize class to be templated like Point, Line, Rectangle, etc - if you've used a BorderSize anywhere, just replace "BorderSize" with "BorderSize<int>" to get it compiling again. Updated Graphics::drawDashedLine to take a Line object.
This commit is contained in:
parent
837f4c8d81
commit
e7f4dac9f9
54 changed files with 914 additions and 1808 deletions
|
|
@ -1040,9 +1040,9 @@ public:
|
|||
return child == None;
|
||||
}
|
||||
|
||||
const BorderSize getFrameSize() const
|
||||
const BorderSize<int> getFrameSize() const
|
||||
{
|
||||
return BorderSize();
|
||||
return BorderSize<int>();
|
||||
}
|
||||
|
||||
bool setAlwaysOnTop (bool alwaysOnTop)
|
||||
|
|
@ -1876,7 +1876,7 @@ private:
|
|||
bool fullScreen, mapped;
|
||||
Visual* visual;
|
||||
int depth;
|
||||
BorderSize windowBorder;
|
||||
BorderSize<int> windowBorder;
|
||||
|
||||
struct MotifWmHints
|
||||
{
|
||||
|
|
@ -2291,7 +2291,7 @@ private:
|
|||
{
|
||||
if ((styleFlags & windowHasTitleBar) == 0)
|
||||
{
|
||||
windowBorder = BorderSize (0);
|
||||
windowBorder = BorderSize<int> (0);
|
||||
}
|
||||
else if (windowBorder.getTopAndBottom() == 0 && windowBorder.getLeftAndRight() == 0)
|
||||
{
|
||||
|
|
@ -2312,8 +2312,8 @@ private:
|
|||
const unsigned long* const sizes = (const unsigned long*) data;
|
||||
|
||||
if (actualFormat == 32)
|
||||
windowBorder = BorderSize ((int) sizes[2], (int) sizes[0],
|
||||
(int) sizes[3], (int) sizes[1]);
|
||||
windowBorder = BorderSize<int> ((int) sizes[2], (int) sizes[0],
|
||||
(int) sizes[3], (int) sizes[1]);
|
||||
|
||||
XFree (data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue