all repos — fluxbox @ 5c047ad1c3983aee5fd2513016189bd9ab63c857

custom fork of the fluxbox windowmanager

virtual update, fixed round courners bug
fluxgen fluxgen
commit

5c047ad1c3983aee5fd2513016189bd9ab63c857

parent

ad7c2d846dc46ad59d797bce04ca5280e4769842

2 files changed, 9 insertions(+), 2 deletions(-)

jump to
M src/FbMenu.ccsrc/FbMenu.cc

@@ -19,7 +19,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: FbMenu.cc,v 1.2 2003/12/10 23:08:03 fluxgen Exp $ +// $Id: FbMenu.cc,v 1.3 2004/04/18 18:53:55 fluxgen Exp $ #include "FbMenu.hh"

@@ -39,7 +39,13 @@ FbMenu::~FbMenu() {

} +void FbMenu::update(int index) { + FbTk::Menu::update(index); + m_shape->update(); +} + void FbMenu::clearWindow() { + FbTk::Menu::clearWindow(); m_shape->update(); }
M src/FbMenu.hhsrc/FbMenu.hh

@@ -19,7 +19,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: FbMenu.hh,v 1.3 2003/12/10 23:08:03 fluxgen Exp $ +// $Id: FbMenu.hh,v 1.4 2004/04/18 18:53:55 fluxgen Exp $ #ifndef FBMENU_HH #define FBMENU_HH

@@ -36,6 +36,7 @@ public:

FbMenu(MenuTheme &tm, FbTk::ImageControl &imgctrl, FbTk::XLayer &layer); ~FbMenu(); + void update(int index = -1); void clearWindow(); void raise() { m_layeritem.raise(); } void lower() { m_layeritem.lower(); }