| /******************************************************************************* |
| * Copyright (c) 2003, 2008 IBM Corporation and Others |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Junji MAEDA - initial API and implementation |
| *******************************************************************************/ |
| |
| package org.eclipse.actf.visualization.engines.lowvision.character; |
| |
| import org.eclipse.actf.visualization.engines.lowvision.image.ConnectedComponent; |
| import org.eclipse.actf.visualization.engines.lowvision.image.PageComponent; |
| import org.eclipse.actf.visualization.engines.lowvision.image.PageImage; |
| |
| /* |
| * Character (single fg color/multi bg color with underline) |
| */ |
| class CharacterUnderlinedSM extends PageComponent { |
| int foregroundColor; |
| |
| int[][] image; |
| |
| public CharacterUnderlinedSM(PageImage _pi, ConnectedComponent _cc, |
| int _color) { |
| super(CANDIDATE_UNDERLINED_CHARACTER_TYPE, _pi); |
| cc = _cc; |
| foregroundColor = _color; |
| } |
| } |