~hjd/widelands/optimizations

« back to all changes in this revision

Viewing changes to src/wui/waresqueuedisplay.h

  • Committer: Shevonar
  • Date: 2011-10-02 16:59:59 UTC
  • mto: This revision was merged to the branch mainline in revision 6008.
  • Revision ID: shevonar-20111002165959-64rk41nvrusl98vm
code and pics clean-ups

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
}
41
41
 
42
42
/**
43
 
 * This passive class displays the status of a WaresQueue.
 
43
 * This passive class displays the status of a WaresQueue
 
44
 * and shows priority buttons that can be manipulated.
44
45
 * It updates itself automatically through think().
45
46
 */
46
47
struct WaresQueueDisplay : public UI::Panel {
48
49
                CellWidth = WARE_MENU_PIC_WIDTH,
49
50
                Border = 4,
50
51
                Height = WARE_MENU_PIC_HEIGHT + 2 * Border,
 
52
                PriorityButtonSize = 10
51
53
        };
52
54
 
53
55
public:
84
86
        void radiogroup_changed(int32_t);
85
87
};
86
88
 
87
 
 
88
 
UI::Panel * create_wares_queue_display
89
 
        (UI::Panel * parent,
90
 
         Interactive_GameBase & igb,
91
 
         Widelands::Building & b,
92
 
         Widelands::WaresQueue * const wq,
93
 
         int32_t width);
94
 
 
95
89
#endif // _WARESQUEUEDISPLAY_H_