diff options
author | Sebastian Geerken <devnull@localhost> | 2014-05-29 23:30:00 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-05-29 23:30:00 +0200 |
commit | f9ce17839903ef10002f19a0c758dfeb828ae11a (patch) | |
tree | fd233d84a28d7214418624c548ad76ec6af39944 /dw/ui.cc | |
parent | e1b61ef1378520a68cb288b6b3c322f70f2a6a41 (diff) |
Removed size hints.
Diffstat (limited to 'dw/ui.cc')
-rw-r--r-- | dw/ui.cc | 72 |
1 files changed, 0 insertions, 72 deletions
@@ -88,36 +88,6 @@ bool Embed::buttonPressImpl (core::EventButton *event) return handled; } -void Embed::setWidth (int width) -{ - DBG_OBJ_MSGF ("resize", 0, "<b>setWidth</b> (%d)", width); - DBG_OBJ_MSG_START (); - - resource->setWidth (width); - - DBG_OBJ_MSG_END (); -} - -void Embed::setAscent (int ascent) -{ - DBG_OBJ_MSGF ("resize", 0, "<b>setAscent</b> (%d)", ascent); - DBG_OBJ_MSG_START (); - - resource->setAscent (ascent); - - DBG_OBJ_MSG_END (); -} - -void Embed::setDescent (int descent) -{ - DBG_OBJ_MSGF ("resize", 0, "<b>setDescent</b> (%d)", descent); - DBG_OBJ_MSG_START (); - - resource->setDescent (descent); - - DBG_OBJ_MSG_END (); -} - void Embed::setDisplayed (bool displayed) { resource->setDisplayed (displayed); @@ -223,18 +193,6 @@ void Resource::sizeAllocate (Allocation *allocation) { } -void Resource::setWidth (int width) -{ -} - -void Resource::setAscent (int ascent) -{ -} - -void Resource::setDescent (int descent) -{ -} - void Resource::setDisplayed (bool displayed) { } @@ -368,36 +326,6 @@ void ComplexButtonResource::sizeAllocate (Allocation *allocation) { } -void ComplexButtonResource::setWidth (int width) -{ - DBG_OBJ_MSGF ("resize", 0, "<b>setWidth</b> (%d)", width); - DBG_OBJ_MSG_START (); - - childWidget->setWidth (width - 2 * reliefXThickness ()); - - DBG_OBJ_MSG_END (); -} - -void ComplexButtonResource::setAscent (int ascent) -{ - DBG_OBJ_MSGF ("resize", 0, "<b>setAscent</b> (%d)", ascent); - DBG_OBJ_MSG_START (); - - childWidget->setAscent (ascent - reliefYThickness ()); - - DBG_OBJ_MSG_END (); -} - -void ComplexButtonResource::setDescent (int descent) -{ - DBG_OBJ_MSGF ("resize", 0, "<b>setDescent</b> (%d)", descent); - DBG_OBJ_MSG_START (); - - childWidget->setDescent (descent - reliefYThickness ()); - - DBG_OBJ_MSG_END (); -} - Iterator *ComplexButtonResource::iterator (Content::Type mask, bool atEnd) { /** |