| 1 | /* Copyright 2003 Kjetil S. Matheussen |
| 2 | |
| 3 | This program is free software; you can redistribute it and/or |
| 4 | modify it under the terms of the GNU General Public License |
| 5 | as published by the Free Software Foundation; either version 2 |
| 6 | of the License, or (at your option) any later version. |
| 7 | |
| 8 | This program is distributed in the hope that it will be useful, |
| 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | GNU General Public License for more details. |
| 12 | |
| 13 | You should have received a copy of the GNU General Public License |
| 14 | along with this program; if not, write to the Free Software |
| 15 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
| 16 | |
| 17 | |
| 18 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_ConfigSystemFont(void); |
| 19 | //extern LANGSPEC char *GFX_SelectEditFont(struct Tracker_Windows *tvisual); |
| 20 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_ResetFontSize(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual); |
| 21 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_IncFontSize(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual, int pixels); |
| 22 | |
| 23 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_SetDefaultFont(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual); |
| 24 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_SetDefaultSystemFont(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual); |
| 25 | |
| 26 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_SetStatusBar(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual,const char *title); |
| 27 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_SetWindowTitle(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual,const char *title); |
| 28 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void SetNormalPointer(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual); |
| 29 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void SetResizePointer(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual); |
| 30 | |
| 31 | // Note that For the ReqType functions, tvisual might be NULL. The reasons is that it can be called when loading, or when starting up. |
| 32 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! ReqTypecxx . . $ ReqType# GFX_OpenReq(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual,int width,int height,const char *title); |
| 33 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_CloseReq(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual,ReqTypecxx . . $ ReqType# reqtype); |
| 34 | |
| 35 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_WriteString(ReqTypecxx . . $ ReqType# reqtype,const char *text); |
| 36 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_ReadString(ReqTypecxx . . $ ReqType# reqtype,char *buffer,int bufferlength); |
| 37 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! int GFX_ReqTypeMenu( |
| 38 | struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual, |
| 39 | ReqTypecxx . . $ ReqType# reqtype, |
| 40 | const char *seltext, |
| 41 | vector_tcxx . . $ vector_t# *v |
| 42 | ); |
| 43 | |
| 44 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! int GFX_GetInteger(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual,ReqTypecxx . . $ ReqType# reqtype,char *text,int min,int max); |
| 45 | |
| 46 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! float GFX_GetFloat(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual,ReqTypecxx . . $ ReqType# reqtype,char *text,float min,float max); |
| 47 | |
| 48 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! char *GFX_GetString(struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual,ReqTypecxx . . $ ReqType# reqtype,char *text); |
| 49 | |
| 50 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! int GFX_Menu( |
| 51 | struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual, |
| 52 | ReqTypecxx . . $ ReqType# reqtype, |
| 53 | const char *seltext, |
| 54 | vector_tcxx . . $ vector_t# *v |
| 55 | ); |
| 56 | |
| 57 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! const char *GFX_GetLoadFileName( |
| 58 | struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual, |
| 59 | ReqTypecxx . . $ ReqType# reqtype, |
| 60 | char *seltext, |
| 61 | char *dir |
| 62 | ); |
| 63 | |
| 64 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! const char *GFX_GetSaveFileName( |
| 65 | struct Tracker_Windowscxx . . $ Tracker_Windows# *tvisual, |
| 66 | ReqTypecxx . . $ ReqType# reqtype, |
| 67 | char *seltext, |
| 68 | char *dir |
| 69 | ); |
| 70 | |
| 71 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_OS_UpdateKeyOctave(void); |
| 72 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void OS_GFX_NumUndosHaveChanged(int num_undos, bool redos_are_available); |
| 73 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void OS_GFX_SetVolume(int value); |
| 74 | |
| 75 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_update_instrument_patch_gui(struct Patchcxx . . $ Patch# *patch); |
| 76 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_remove_patch_gui(struct Patchcxx . . $ Patch# *patch); // Also deletes the audio object itself. (yes, it's messy) |
| 77 | |
| 78 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! float *OS_SLIDER_obtain_automation_value_pointer(struct Patchcxx . . $ Patch# *patch,int effect_num); |
| 79 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! int *OS_SLIDER_obtain_automation_color_pointer(struct Patchcxx . . $ Patch# *patch,int effect_num); |
| 80 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void OS_SLIDER_release_automation_pointers(struct Patchcxx . . $ Patch# *patch,int effect_num); |
| 81 | |
| 82 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! float *GFX_OS_get_system_volume_peak_pointers(int num_channels); |
| 83 | |
| 84 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_update_all_instrument_widgets(void); |
| 85 | |
| 86 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void GFX_PP_Update(struct Patchcxx . . $ Patch# *patch); |
| 87 | |
| 88 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! const char *OS_get_resolved_file_path(const char *path); |
| 89 | extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void OS_VST_config(struct Tracker_Windowscxx . . $ Tracker_Windows# *window); |