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/IconbarTool.hh | |
parent | 3e41157a3532537a859cbbeb2d6adf367de25f96 (diff) | |
download | fluxbox_pavel-ea184b3566bfee3f720763edf4e11cd27e9cd1d0.zip fluxbox_pavel-ea184b3566bfee3f720763edf4e11cd27e9cd1d0.tar.bz2 |
fix rendering of icon buttons when they are slightly larger because of
rounding
Diffstat (limited to 'src/IconbarTool.hh')
-rw-r--r-- | src/IconbarTool.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/IconbarTool.hh b/src/IconbarTool.hh index 0f2574e..bfcac34 100644 --- a/src/IconbarTool.hh +++ b/src/IconbarTool.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: IconbarTool.hh,v 1.12 2003/12/19 14:57:44 fluxgen Exp $ | 23 | // $Id: IconbarTool.hh,v 1.13 2003/12/23 01:55:07 rathnor Exp $ |
24 | 24 | ||
25 | #ifndef ICONBARTOOL_HH | 25 | #ifndef ICONBARTOOL_HH |
26 | #define ICONBARTOOL_HH | 26 | #define ICONBARTOOL_HH |
@@ -107,6 +107,8 @@ private: | |||
107 | const IconbarTheme &m_theme; | 107 | const IconbarTheme &m_theme; |
108 | // cached pixmaps | 108 | // cached pixmaps |
109 | Pixmap m_focused_pm, m_unfocused_pm; | 109 | Pixmap m_focused_pm, m_unfocused_pm; |
110 | // some are a fraction bigger due to rounding | ||
111 | Pixmap m_focused_err_pm, m_unfocused_err_pm; | ||
110 | Pixmap m_empty_pm; ///< pixmap for empty container | 112 | Pixmap m_empty_pm; ///< pixmap for empty container |
111 | 113 | ||
112 | 114 | ||