/**
- *
+ * Pair Tag
*
* Copyright (C) 2013 Samsung Electronics Co., Ltd. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
- * of the License, or ( at your option ) any later version.
+ * of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
- * of the License, or ( at your option ) any later version.
+ * of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
import org.eclipse.swt.widgets.Canvas;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Listener;
import org.tizen.emulator.skin.log.SkinLogger;
/* shaft */
canvasShaft = new Canvas(composite, SWT.NONE);
+ canvasShaft.setBackground(parent.getBackground());
dataShaft.widthShaft = width;
dataShaft.heightShaft = heightScrollBar - (height * 2);
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
- * of the License, or ( at your option ) any later version.
+ * of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
public boolean expandHorizontal = false;
public boolean expandVertical = false;
- private int value;
-
+ /**
+ * Constructor
+ */
public CustomScrolledComposite(Composite parent, int style,
Image[] imagesArrowUp, Image[] imagesArrowDown,
Image imageThumb, Image imageShaft) {
this.imagesArrowDown = imagesArrowDown;
this.imageThumb = imageThumb;
this.imageShaft = imageShaft;
-
- value = 0;
}
public CustomScrollBar getScrollBar() {
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
- * of the License, or ( at your option ) any later version.
+ * of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
return;
}
+ logger.info("layouting");
+
CustomScrolledComposite sc = (CustomScrolledComposite)composite;
if (sc.content == null) {
return;