1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 14:08:06 +01:00

- put back wmksize(), wmkrange() and wmkpoint() as functions instead of macros

- fixed some compilation warnings with -Wall
- some code cleanup
This commit is contained in:
dan
2001-04-19 01:04:48 +00:00
parent 03824d5324
commit 648d75c299
21 changed files with 91 additions and 50 deletions

View File

@@ -378,7 +378,6 @@ WMTabViewItem*
WMTabViewItemAtPoint(WMTabView *tPtr, int x, int y)
{
int i;
int offset;
int count = tPtr->visibleTabs;
int first = tPtr->firstVisible;
@@ -526,7 +525,7 @@ static void
recalcTabWidth(TabView *tPtr)
{
int i;
int twidth = W_VIEW(tPtr)->size.width;
/*int twidth = W_VIEW(tPtr)->size.width;*/
int width;
if (tPtr->flags.uniformTabs) {
@@ -679,7 +678,7 @@ paintTabView(TabView *tPtr)
int moreAtLeft;
int moreAtRight;
int selectedIsVisible;
int tx, ty;
int ty;
int twidth, theight;
ty = 2;