source: abuse/trunk/src/imlib/filesel.hpp @ 106

Last change on this file since 106 was 106, checked in by Sam Hocevar, 11 years ago
  • Rename the "eh" variable to "wm" because it's a window manager, not an event handler.
  • No longer pass the window manager to functions, there's only one.

Inspired by Win32 Abuse changelog for January 28, 2001:

  • Starting work on singleton code; will get rid of all

references to an arbitrary window_manager* because
there's only going to be one, and it's not ever
going to change.

File size: 556 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *
5 *  This software was released into the Public Domain. As with most public
6 *  domain software, no warranty is made or implied by Crack dot Com or
7 *  Jonathan Clark.
8 */
9
10#ifndef __FSELECT_HPP_
11#define __FSELECT_HPP_
12
13#include "jwindow.hpp"
14
15jwindow *file_dialog(char const *prompt, char const *def,
16                     int ok_id, char const *ok_name, int cancel_id,
17                     char const *cancel_name, char const *FILENAME_str,
18                     int filename_id);
19
20#endif
21
22
23
24
Note: See TracBrowser for help on using the repository browser.