wangqr
333f928019
Save state of "show original"
...
Fix wangqr/Aegisub#41
2020-05-17 23:36:52 -04:00
wangqr
b92a2593cb
Expand all widgets in SubsEditBox to get a consistent height
2020-04-10 09:51:08 -04:00
wangqr
c1dca9cb1f
Remove icon size option from Windows
...
Windows now always use the default size, with correct HiDPI handling
2020-04-10 00:04:06 -04:00
wangqr
3394f22a93
Expand layer SpinCtrl a little
...
to compensate wxMac bug with GetSizeFromText
2020-03-10 01:16:28 -04:00
wangqr
3556c9629e
Remove IME handling code for Scintilla
...
The code was for wxCocoa, which is a dead implementation of wxWidgets. wxOSX/Cocoa does not need this hack anymore. And the code is causing linking errors due to using private structures in wxCocoa.
Revert fffb138b81
2020-03-08 01:48:58 -05:00
wangqr
20fc9043e8
Don't shrink the size of layer SpinCtrl on GTK3
2019-11-21 23:04:51 -05:00
wangqr
1bda6052b6
Use GetSizeFromText instead of GetSizeFromTextSize(GetTextExtent)
2019-11-07 16:06:53 -05:00
wangqr
46474e0319
Set the height of sub box to the same as secondary_editor
...
The secondary_editor is a wxTextCtrl, whose height is calculated from 2 rows of text. Using this height gives better consistency on screens with different DPIs, instead of using hard coded value like 50px
2019-08-24 01:12:16 -04:00
wangqr
50544cf749
Set the height of sub box back to 50px
...
Revert the change made in ad15c53fb1
.
As a temporary solution for wangqr/Aegisub#4 .
2019-08-18 22:25:50 -04:00
wangqr
b7c640d061
Fix High DPI issue on GTK
...
* Use icon size in the config
2019-05-17 13:58:14 -04:00
wangqr
ba54e8d12f
Fix build warnings
2019-05-11 21:36:34 -04:00
wangqr
ad15c53fb1
Add DPI awareness
...
* Removed most hard coded wxSize
* Sub edit box now have DPI aware icons
2018-12-08 01:20:08 -05:00
Thomas Goyne
0e8bc44539
Work around more places where VC++ generates null pointers-to-members
2016-04-09 08:36:50 -07:00
Thomas Goyne
8823476275
Work around bad codegen from VC++2015 update 2
2016-04-08 11:24:11 -07:00
Thomas Goyne
f811f7e363
Select the "Time" radio on startup
2015-11-29 20:11:14 -08:00
Thomas Goyne
42429d4930
Remove incorrect sizer flags
2015-05-31 11:49:29 -07:00
Thomas Goyne
2269dbcfe0
Reuse previously calculated string widths
2015-02-07 14:56:48 -08:00
Thomas Goyne
a6b1639320
Extract some bits that don't need to be templated from templates
...
Cuts compile time by about 10% and shrinks the final binary a little.
2014-12-28 16:46:38 -08:00
Thomas Goyne
ac7161cd08
Revert 50dfa1cd42
for wxGTK
...
wxGTK has the opposite problem as OS X: GetValue returns the new value,
but the change event has the old value.
2014-06-08 08:00:11 -07:00
Thomas Goyne
50dfa1cd42
Fix issues with selected line styles with the keyboard on OS X
...
Opening the style list dropdown and switching between values with the
arrow keys doesn't update the value returned from ctrl->GetValue() on
OS X, but the event contains the correct value so use that instread.
2014-06-05 08:35:50 -07:00
Thomas Goyne
fffb138b81
Add IME support on OS X
...
Closes #1247 , #1672 , #1695 .
2014-06-04 14:29:37 -07:00
Thomas Goyne
37c02ae127
Replace wxString::Format with agi::format
...
It's modestly faster, significantly more type-safe, and doesn't assert
when there's too few arguments, which causes problems for plural forms.
Closes #1733 .
2014-05-30 11:53:14 -07:00
Thomas Goyne
20a7ec786f
Use initializer lists rather than std::make_pair
2014-05-26 09:34:18 -07:00
Thomas Goyne
09e325a1c3
Clean up unused includes
2014-05-23 07:28:24 -07:00
Thomas Goyne
19e8f19e52
Redesign project file handling
...
Add a new Project class which is responsible for everything related to
opening and closing audio, video, subtitles, timecodes and keyframes.
This pulls almost everything not directly related to playing audio/video
out of the audio and video controllers, pulls more crap out of
FrameMain, and happens to make things a little simpler in the process.
2014-05-22 09:29:12 -07:00
Thomas Goyne
571c9d9b7a
Don't hardcode the size of buttons with translatable labels. Closes #1750 .
2014-05-07 10:43:01 -07:00
Thomas Goyne
a00e5dc967
Update which style the Edit button edits when the line's style is changed
2014-05-05 18:42:06 -07:00
Thomas Goyne
f261688b11
Don't ignore the contents of override blocks when counting characters for selection preserving
2014-05-05 06:27:37 -07:00
Thomas Goyne
3983719e3f
Add an Edit button next to the style list dropdown. Closes #1746 .
2014-05-04 12:53:22 -07:00
Thomas Goyne
d4fbe3040d
Preserve the insertion point (but not selection) when switching between lines
2014-04-25 08:00:45 -07:00
Thomas Goyne
3ed99b5cb2
Make SubsEditBox::PopulateList less pointlessly slow
2014-04-20 07:01:49 -07:00
Thomas Goyne
6c6f60eb98
Add an option to ignore punctuation for the character counter
2014-04-18 20:11:38 -07:00
Thomas Goyne
cff3c0a3df
Don't repopulate the actor/effect fields when the active line changes
...
Speeds up switching lines on a totally arbitrary test file that doesn't
even use very many actors or effects by ~20%.
2014-04-18 20:11:38 -07:00
Thomas Goyne
8aea747b88
Update the character counter synchronously
...
It's not longer even vaguely in the realm of slow enough to justify
dumping off on a background thread.
2014-04-18 20:11:38 -07:00
Thomas Goyne
af32733797
Move character count stuff to libaegisub
2014-04-18 20:11:38 -07:00
Thomas Goyne
df42fdb2d2
Restore the text selection and cursor position on undo
2014-04-17 11:46:28 -07:00
Thomas Goyne
1d5292fdee
Kill config.h and just force-include acconf.h in non-pch builds
2014-04-16 08:11:37 -07:00
Thomas Goyne
3528e49286
Make the duration field not completely wrong in frame mode
2014-04-15 11:09:25 -07:00
Thomas Goyne
523d858374
Extract SelectionController from BaseGrid
2014-03-25 17:06:47 -07:00
Thomas Goyne
33a4a056a4
Move everything up a level since the root dir no longer has stuff
2014-03-11 12:14:57 -07:00