diff options
author | rathnor <rathnor> | 2003-12-23 01:55:07 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-12-23 01:55:07 (GMT) |
commit | ea184b3566bfee3f720763edf4e11cd27e9cd1d0 (patch) | |
tree | 193bb9f6fc150ed128b5a5b8fa008d1c05432ad9 /src/Container.hh | |
parent | 3e41157a3532537a859cbbeb2d6adf367de25f96 (diff) | |
download | fluxbox-ea184b3566bfee3f720763edf4e11cd27e9cd1d0.zip fluxbox-ea184b3566bfee3f720763edf4e11cd27e9cd1d0.tar.bz2 |
fix rendering of icon buttons when they are slightly larger because of
rounding
Diffstat (limited to 'src/Container.hh')
-rw-r--r-- | src/Container.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Container.hh b/src/Container.hh index f620d3a..6880aa3 100644 --- a/src/Container.hh +++ b/src/Container.hh | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: Container.hh,v 1.4 2003/12/12 14:35:34 fluxgen Exp $ | 23 | // $Id: Container.hh,v 1.5 2003/12/23 01:55:07 rathnor Exp $ |
24 | 24 | ||
25 | #ifndef CONTAINER_HH | 25 | #ifndef CONTAINER_HH |
26 | #define CONTAINER_HH | 26 | #define CONTAINER_HH |
@@ -55,6 +55,8 @@ public: | |||
55 | void setMaxSizePerClient(unsigned int size); | 55 | void setMaxSizePerClient(unsigned int size); |
56 | void setAlignment(Alignment a); | 56 | void setAlignment(Alignment a); |
57 | 57 | ||
58 | Item back() { return m_item_list.back(); } | ||
59 | |||
58 | /// force update | 60 | /// force update |
59 | inline void update() { repositionItems(); } | 61 | inline void update() { repositionItems(); } |
60 | /// so we can add items without having an graphic update for each item | 62 | /// so we can add items without having an graphic update for each item |