summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2006-03-15 22:29:01 +0000
committerGrant Gayed <ggayed>2006-03-15 22:29:01 +0000
commitd94617ab8b474088d65ad912710a4b9e96885306 (patch)
tree80b3188ead2bfbb0f31cea754f149e3c3884680b
parent9cd0d4de6355d4d0066bab43b8e4477623e6c49c (diff)
downloadeclipse.platform.swt-d94617ab8b474088d65ad912710a4b9e96885306.tar.gz
eclipse.platform.swt-d94617ab8b474088d65ad912710a4b9e96885306.tar.xz
eclipse.platform.swt-d94617ab8b474088d65ad912710a4b9e96885306.zip
getFont(columnIndex,false)
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableItem.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableItem.java b/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableItem.java
index 5039f43565..d7f464cacc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableItem.java
@@ -1089,7 +1089,7 @@ boolean paint (GC gc, TableColumn column, boolean backgroundOnly) {
boolean drawFocus = isFocusItem;
boolean drawContent = true;
if (parent.hooks (SWT.EraseItem)) {
- gc.setFont (getFont ());
+ gc.setFont (getFont (columnIndex, false));
if (isSelected && (columnIndex == 0 || (parent.style & SWT.FULL_SELECTION) != 0)) {
gc.setForeground (display.getSystemColor (SWT.COLOR_LIST_SELECTION_TEXT));
gc.setBackground (display.getSystemColor (SWT.COLOR_LIST_SELECTION));
@@ -1225,7 +1225,7 @@ boolean paint (GC gc, TableColumn column, boolean backgroundOnly) {
if (parent.hooks (SWT.PaintItem)) {
int contentWidth = getContentWidth (columnIndex);
int contentX = getContentX (columnIndex);
- gc.setFont (getFont ());
+ gc.setFont (getFont (columnIndex, false));
if (isSelected && (columnIndex == 0 || (parent.style & SWT.FULL_SELECTION) != 0)) {
gc.setForeground (display.getSystemColor (SWT.COLOR_LIST_SELECTION_TEXT));
gc.setBackground (display.getSystemColor (SWT.COLOR_LIST_SELECTION));
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java b/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java
index 3f279bb96a..4343629b2c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java
@@ -1659,7 +1659,7 @@ boolean paint (GC gc, TreeColumn column, boolean backgroundOnly) {
boolean drawFocus = isFocusItem;
boolean drawContent = true;
if (parent.hooks (SWT.EraseItem)) {
- gc.setFont (getFont ());
+ gc.setFont (getFont (columnIndex, false));
if (isSelected && (columnIndex == 0 || (parent.style & SWT.FULL_SELECTION) != 0)) {
gc.setForeground (display.getSystemColor (SWT.COLOR_LIST_SELECTION_TEXT));
gc.setBackground (display.getSystemColor (SWT.COLOR_LIST_SELECTION));
@@ -1831,7 +1831,7 @@ boolean paint (GC gc, TreeColumn column, boolean backgroundOnly) {
if (parent.hooks (SWT.PaintItem)) {
int contentWidth = getContentWidth (columnIndex);
int contentX = getContentX (columnIndex);
- gc.setFont (getFont ());
+ gc.setFont (getFont (columnIndex, false));
if (isSelected && (columnIndex == 0 || (parent.style & SWT.FULL_SELECTION) != 0)) {
gc.setForeground (display.getSystemColor (SWT.COLOR_LIST_SELECTION_TEXT));
gc.setBackground (display.getSystemColor (SWT.COLOR_LIST_SELECTION));