mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-10 06:31:41 +00:00
The open source, cross platform level editor for idtech games
b292b8db59
Thank you to Markus Fischer who provided some example code on how to use the "new" method of GTK file dialogs. I then did a lot of research into how to shape his code into exactly what I wanted. This is an incomplete change in that I have not cleaned up the code such as removing unused local variables and unused functions yet. However, I wanted to commit this now because it really works beautifully (the GTK file dialog that is). - In CFileType, m_pstrGTKMasks now contains string like "quake3 maps (*.map)" instead of like "quake3 maps <*.map>". Nobody else is using this code except in gtkmisc.cpp so it's a safe change. - Removing all FILEDLG_DBG blocks in gtkmisc.cpp. It really clutters up the code and since it's completely overhauled, it's OK to remove. - Instead of the "old" way of gtk_file_selection_new(), now using gtk_file_chooser_dialog_new() instead. Thx to Markus Fischer for examples. - Actually adding GTK file dialog filters. It works really nice! :-) - Now using the same file extension logic on Windows file dialogs and GTK file dialogs. - Improved file extension logic. "No file extension specified in file to be saved. Attempt to save anyways?" Tested on Win7 and Linux. More related changes on the way. THIS SHOULD BE MERGED INTO TRUNK. git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@355 8a3a26a2-13c4-0310-b231-cf6edde360e5 |
||
---|---|---|
contrib | ||
docs/manual | ||
Doxygen_files | ||
include | ||
install | ||
libs | ||
plugins | ||
po | ||
radiant | ||
radiant.xcode | ||
tools | ||
BSD | ||
ChangeLog | ||
CHANGES-MACOS | ||
compile_ibuild_win32.bat | ||
COMPILING | ||
config.py | ||
CONTRIBUTOR_AGREEMENT | ||
CONTRIBUTORS | ||
DarwinCompileInfo.rtf | ||
DoxyConfig | ||
Doxyfile | ||
gen.readme | ||
gen.vcproj | ||
gendox | ||
GPL | ||
GtkRadiant.prj | ||
install.py | ||
LGPL | ||
LICENSE | ||
makeversion.py | ||
osx_setup.py | ||
radiant.pot | ||
radiant.sln | ||
radiant_VC9.sln | ||
README | ||
README.doxygen | ||
run_python.bat | ||
SConscript.lib | ||
SConscript.module | ||
SConscript.q3map2 | ||
SConscript.radiant | ||
SConstruct | ||
TODO | ||
TRANSLATING | ||
uncrustify.cfg | ||
utils.py |
Terms and Conditions of Use ------- GTKRadiant contains software developed by Id Software, Loki Software and third party contributors. All portions of GTKRadiant which are licensed by Id Software are subject to the terms of its LIMITED USE SOFTWARE LICENSE AGREEMENT, a copy of which is included with GTKRadiant. If you did not receive a LIMITED USE SOFTWARE LICENSE AGREEMENT, please contact Id Software immediately at info@idsoftware.com. All portions of GTKRadiant which have been developed by Loki Software and/or third party contributors are licensed under the terms set forth below. ------- Copyright (c) 1999-2000, Loki Software, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Loki Software nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. No license is hereby granted to any trademarks, tradenames or logos. THIS SOFTWARE IS PROVIDED BY LOKI AND THE CONTRIBUTORS "AS IS." ANY AND ALL WARRANTUES, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRENGEMENT ARE HEREBY DISCLAIMED. IN NO EVENT SHALL LOKI OR THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT LIMITATION, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------