Rev 7780 | Rev 7813 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7780 | Rev 7781 | ||
---|---|---|---|
Line 109... | Line 109... | ||
109 | active_menu = MENU_DIR; |
109 | active_menu = MENU_DIR; |
110 | } else { |
110 | } else { |
111 | text = #file_actions; |
111 | text = #file_actions; |
112 | active_menu = MENU_FILE; |
112 | active_menu = MENU_FILE; |
113 | } |
113 | } |
114 | open_lmenu(mouse.x+Form.left+5, mouse.y+Form.top+3+skin_height, 1, 0, text); |
114 | open_lmenu(mouse.x+Form.left+5, mouse.y+Form.top+3+skin_height, MENU_ALIGN_TOP_LEFT, NULL, text); |
115 | } |
115 | } |
Line 116... | Line 116... | ||
116 | 116 | ||
117 | bool GetMenuClick() |
117 | bool GetMenuClick() |
118 | { |
118 | { |
119 | dword click_id; |
119 | dword click_id; |
120 | if (active_menu) && (click_id = get_menu_click()) { |
120 | if (active_menu) && (click_id = get_menu_click()) { |
121 | EventMenuClick(click_id); |
121 | EventMenuClick(click_id); |
122 | return false; |
122 | return false; |
123 | } |
123 | } |
124 | return true; |
- | |
125 | - | ||
126 | 124 | return true; |