July 31, 2009 General » Re: Properties: a.b.c = 3 | |||
|---|---|---|---|
| |||
...I believe. widget.clientRectangle.width=10; widget.getRectangle(Rects.clientRectangle).width=10; Should the meaning... | |||
July 31, 2009 General » Re: overloading functions against function templates | |||
|---|---|---|---|
| |||
...Point { int x, y; }
class Size { int width, height; }
void foo (Point P) { ... }
void foo... | |||
July 30, 2009 General » Re: Properties: a.b.c = 3 | |||
|---|---|---|---|
| |||
...the first case, if you modify sizeAsAStructField.width, it's ok and should compile, because... | |||
July 30, 2009 General » Re: Properties: a.b.c = 3 | |||
|---|---|---|---|
| |||
...in this case: widget.sizeAsAStructField.width = 10; // Works widget.sizeAsAStructProp.width = 10; // Doesn't work... | |||
July 30, 2009 General » Re: Properties: a.b.c = 3 | |||
|---|---|---|---|
| |||
...int width;
public int height;
public Rect(int width, int height)
{
this.width = width;
this... | |||
July 30, 2009 General » Re: Properties: a.b.c = 3 | |||
|---|---|---|---|
| |||
...wrote: Rect has 4 values (x, y, width, height), otherwise, the example doesn't make... | |||
July 30, 2009 General » Re: Properties: a.b.c = 3 | |||
|---|---|---|---|
| |||
...in this thread is perfect -- setting the width and height individually may re-render the... | |||
July 27, 2009 General » Re: Reddit: why aren't people using D? | |||
|---|---|---|---|
| |||
...to remember that there is no () after width WHY? Do you have just one reason... | |||
July 27, 2009 General » Re: Reddit: why aren't people using D? | |||
|---|---|---|---|
| |||
...DRY away:
int _width;
int width
{
get { return _width; }
set(v) { _width = v; }
}
And immediately... | |||
July 27, 2009 General » Re: new DIP5: Properties 2 | |||
|---|---|---|---|
| |||
...this be illegal?
int width
{
float opGet();
}
or even this?
float width
{
void opSet(int... | |||
Copyright © 1999-2021 by the D Language Foundation