// draw pointers
gc.setBackground(pointerColor);
gc.fillPolygon(new int[] { up_coord, y, up_coord + pointer_width, y - pointer_height, up_coord - pointer_width, y - pointer_height});
int y2 = y + bar_height;
gc.fillPolygon(new int[] { down_coord, y2, down_coord + pointer_width, y2 + pointer_height, down_coord - pointer_width, y2 + pointer_height});
gc.dispose();
}
private SelectedPointer getSelectedPointer(int x,int y) {
int up_coord = getUpCoord();
int down_coord = getDownCoord();