Changeset 172:0459ffa88f7d
- Timestamp:
- 02/23/08 12:35:46
(8 months ago)
- Author:
- Frank Benoit <benoit@tionex.de>
- branch:
- default
- Message:
more != in TextStyle?
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r171 |
r172 |
|
| 118 | 118 | TextStyle style = cast(TextStyle)object; |
|---|
| 119 | 119 | if (foreground !is null) { |
|---|
| 120 | | if ( foreground != style.foreground ) return false; |
|---|
| | 120 | if ( foreground !is style.foreground ) return false; |
|---|
| 121 | 121 | } else if (style.foreground !is null) return false; |
|---|
| 122 | 122 | if (background !is null) { |
|---|
| 123 | | if ( background != style.background ) return false; |
|---|
| | 123 | if ( background !is style.background ) return false; |
|---|
| 124 | 124 | } else if (style.background !is null) return false; |
|---|
| 125 | 125 | if (font !is null) { |
|---|
| 126 | | if (font != style.font) return false; |
|---|
| | 126 | if (font !is style.font) return false; |
|---|
| 127 | 127 | } else if (style.font !is null) return false; |
|---|
| 128 | 128 | if (metrics !is null || style.metrics !is null) return false; |
|---|
| … | … | |
| 187 | 187 | buffer ~= "striked out"; |
|---|
| 188 | 188 | } |
|---|
| 189 | | if (rise != 0) { |
|---|
| | 189 | if (rise !is 0) { |
|---|
| 190 | 190 | if (buffer.length > startLength) buffer ~= ", "; |
|---|
| 191 | 191 | buffer ~= "rise="; |
|---|