added border width
fluxgen fluxgen
2 files changed,
4 insertions(+),
3 deletions(-)
M
src/ClockTool.hh
→
src/ClockTool.hh
@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: ClockTool.hh,v 1.1 2003/08/11 14:32:39 fluxgen Exp $ +// $Id: ClockTool.hh,v 1.2 2003/08/13 09:35:38 fluxgen Exp $ #ifndef CLOCKTOOL_HH #define CLOCKTOOL_HH@@ -57,7 +57,7 @@ void show();
void hide(); unsigned int width() const; unsigned int height() const; - + unsigned int borderWidth() const; private: void updateTime(); void update(FbTk::Subject *subj);
M
src/ToolbarItem.hh
→
src/ToolbarItem.hh
@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: ToolbarItem.hh,v 1.1 2003/08/11 15:44:12 fluxgen Exp $ +// $Id: ToolbarItem.hh,v 1.2 2003/08/13 09:36:12 fluxgen Exp $ #ifndef TOOLBARITEM_HH #define TOOLBARITEM_HH@@ -46,6 +46,7 @@ virtual void show() = 0;
virtual void hide() = 0; virtual unsigned int width() const = 0; virtual unsigned int height() const = 0; + virtual unsigned int borderWidth() const = 0; void setType(Type type) { m_type = type; } Type type() const { return m_type; }