Changeset 655 for abuse/trunk/src/imlib/tools.cpp
- Timestamp:
- May 15, 2011, 6:22:08 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/imlib/tools.cpp
r579 r655 54 54 void tool_picker::draw_item(image *screen, int x, int y, int num, int active) 55 55 { 56 if (!active) 57 screen->bar(x,y,x+iw-1,y+ih-1,wm->black()); 58 else 59 screen->bar(x,y,x+iw-1,y+ih-1,wm->bright_color()); 60 icons[num]->draw(screen,x,y,map); 56 screen->Bar(vec2i(x, y), vec2i(x + iw - 1, y + ih - 1), 57 active ? wm->bright_color() : wm->black()); 58 icons[num]->draw(screen, x, y, map); 61 59 } 62 60
Note: See TracChangeset
for help on using the changeset viewer.