Changeset 112 for abuse/trunk/src/menu.cpp
- Timestamp:
- Mar 16, 2008, 12:52:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/menu.cpp
r111 r112 90 90 } 91 91 92 void dark_wi get(int x1, int y1, int x2, int y2, int br, int dr, int amount)92 void dark_widget(int x1, int y1, int x2, int y2, int br, int dr, int amount) 93 93 { 94 94 screen->add_dirty(x1,y1,x2,y2); … … 148 148 int tl=strlen(title)*font->width(); 149 149 int tx=screen->width()/2-tl/2; 150 dark_wi get(tx-2,my-font->height()-4,tx+tl+2,my-2,wm->medium_color(),wm->dark_color(),180);150 dark_widget(tx-2,my-font->height()-4,tx+tl+2,my-2,wm->medium_color(),wm->dark_color(),180); 151 151 font->put_string(screen,tx+1,my-font->height()-2,title,wm->bright_color()); 152 152 } 153 153 154 dark_wi get(mx,my,mx+mw-1,my+mh-1,wm->medium_color(),wm->dark_color(),200);154 dark_widget(mx,my,mx+mw-1,my+mh-1,wm->medium_color(),wm->dark_color(),200); 155 155 156 156
Note: See TracChangeset
for help on using the changeset viewer.