mirror of https://github.com/odrling/Aegisub
8e491a9ecc
Some example uses: -- ~special snowflake~ OK/Cancel aegisub.dialog.display(config, {ok='Accept', cancel='Cancel'}) -- On OS X the 'Help' button will be just a left-aligned ? aegisub.dialog.display(config, {ok='OK', cancel='Cancel', help='Help'}) -- Each button in its own subtable to preserve passed order -- Unnecessary when using only IDed buttons since the passed order will -- be ignored in favor of the platform-standard order aegisub.dialog.display(config, {{ok='Accept'}, {cancel='Cancel'}, {help='Help'}, 'Another Button'}) In some cases the passed labels will be ignored in favor of the platform-standard labels. Available IDs: ok yes save apply close no cancel help context_help Note that many combinations of button IDs do not make sense and may have strange effects. Buttons with an ID of 'cancel' return false, as if ESC was pressed. A button with an ID of 'close' results in that button being triggered on ESC rather than cancel. Buttons with an ID of 'ok', 'yes' and 'save' are set as the default affirmative button for the dialog. Closes #1609. |
||
---|---|---|
.nuget | ||
aegisub | ||
contrib | ||
deps | ||
docs | ||
.gitignore | ||
.gitmodules | ||
Aegisub.sln | ||
README.md |
README.md
Aegisub
For binaries and general information see the homepage.
The bug tracker can be found at http://devel.aegisub.org.
Support is available on the forums or on IRC.
Building Aegisub
Windows
Prerequisites:
- Visual Studio 2012. Express edition might work.
- A recent Windows SDK
- A recent DirectX SDK
- A MSYS install with git and c99conv. Note that mingw is not required.
There are a few optional dependencies:
- msgfmt, to build the translations
- WinRAR, to build the portable installer
- InnoSetup, to build the regular installer
All other dependencies are either stored in the repository or are included as submodules.
Building:
- Clone Aegisub's repository recursively to fetch it and all submodules:
git clone --recursive git@github.com:Aegisub/Aegisub.git
- Disable autocrlf for ffmpeg, as its build system manages to not support Windows newlines:
cd aegisub/deps/ffmpeg && config --local core.autocrlf && git rm --cached -r . && git reset --hard
- Open Aegisub.sln
- Build the "! Update Dependencies" project
- Open the properties for the Aegisub project and set the location of MSYS in Configuration Properties > Aegisub > Library paths
- Build Aegisub
- Copy the contents of an existing Aegisub install into the aegisub/aegisub/bin directory (not strictly required, but you'll be missing a lot of functionality otherwise).
There's a pile of other files such as dictionaries, VSFilter and avisynth
For actual development work you will probably want to mostly use the "Debug-MinDep" configuration (which disables building most of the projects), as the dependency checking is pretty slow.
License
All source files in this repository are licensed under either 3-clause BSD or ISC licenses. In practice, Aegisub binaries are usually GPL licensed due to the dependencies.