Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/StyledTextRenderer.d @ 36:d46287db17ed
rakefile reorg, swt win phobosification
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 24 Mar 2009 08:48:41 +0100 |
parents | 950d84783eac |
children | 536e43f63c81 |
comparison
equal
deleted
inserted
replaced
35:634e4380db78 | 36:d46287db17ed |
---|---|
75 int[] ranges; | 75 int[] ranges; |
76 int styleCount; | 76 int styleCount; |
77 StyleRange[] styles; | 77 StyleRange[] styles; |
78 StyleRange[] stylesSet; | 78 StyleRange[] stylesSet; |
79 int stylesSetCount = 0; | 79 int stylesSetCount = 0; |
80 final static int BULLET_MARGIN = 8; | 80 const static int BULLET_MARGIN = 8; |
81 | 81 |
82 final static bool COMPACT_STYLES = true; | 82 const static bool COMPACT_STYLES = true; |
83 final static bool MERGE_STYLES = true; | 83 const static bool MERGE_STYLES = true; |
84 | 84 |
85 final static int GROW = 32; | 85 const static int GROW = 32; |
86 final static int IDLE_TIME = 50; | 86 const static int IDLE_TIME = 50; |
87 final static int CACHE_SIZE = 128; | 87 const static int CACHE_SIZE = 128; |
88 | 88 |
89 final static int BACKGROUND = 1 << 0; | 89 const static int BACKGROUND = 1 << 0; |
90 final static int ALIGNMENT = 1 << 1; | 90 const static int ALIGNMENT = 1 << 1; |
91 final static int INDENT = 1 << 2; | 91 const static int INDENT = 1 << 2; |
92 final static int JUSTIFY = 1 << 3; | 92 const static int JUSTIFY = 1 << 3; |
93 final static int SEGMENTS = 1 << 5; | 93 const static int SEGMENTS = 1 << 5; |
94 | 94 |
95 static class LineInfo { | 95 static class LineInfo { |
96 int flags; | 96 int flags; |
97 Color background; | 97 Color background; |
98 int alignment; | 98 int alignment; |