Skip to content

Commit

Permalink
widget: Convert the transport menus from W_TABFORMs to ListTabWidgets.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyp committed Mar 11, 2013
1 parent 4194dbf commit 43b62d5
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 330 deletions.
6 changes: 0 additions & 6 deletions src/design.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,9 @@ char StringBuffer[STRING_BUFFER_SIZE];
/* Design screen positions */
#define DESIGN_Y (59 + D_H) //the top left y value for all forms on the design screen

#define DES_TABTHICKNESS 0
#define DES_MAJORSIZE 40
#define DES_MINORSIZE 11
#define DES_TABBUTGAP 2
#define DES_TABBUTWIDTH 60
#define DES_TABBUTHEIGHT 46
#define DES_TAB_LEFTOFFSET OBJ_TABOFFSET
#define DES_TAB_WIDTH OBJ_TABWIDTH
#define DES_TAB_HEIGHT OBJ_TABHEIGHT

#define DES_LEFTFORMX RET_X
#define DES_LEFTFORMY DESIGN_Y
Expand Down
7 changes: 0 additions & 7 deletions src/intimage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,6 @@ TABDEF StandardTab = {
IMAGE_TABSELECTED, // Major tab currently selected.
};

TABDEF SmallTab = {
IMAGE_TAB1_SM, // Major tab normal.
IMAGE_TAB1DOWN_SM, // Major tab clicked.
IMAGE_TABHILIGHT_SM, // Major tab hilighted by mouse.
IMAGE_TAB1SELECTED_SM, // Major tab currently selected.
};

// Read bitmaps used by the interface.
//
bool imageInitBitmaps(void)
Expand Down
1 change: 0 additions & 1 deletion src/intimage.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ extern IMAGEFILE *IntImages; //< All the 2d graphics for the user interface.

// A few useful defined tabs.
extern TABDEF StandardTab;
extern TABDEF SmallTab;

bool imageInitBitmaps(void);

Expand Down
Loading

0 comments on commit 43b62d5

Please sign in to comment.