• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

OmegaT の背景に画像を表示します。


Commit MetaInfo

Revision56 (tree)
Time2014-05-26 00:05:44
Authoryu-tang

Log Message

メインウィンドウに背景設定した場合、MATCHES などの個別ペインを透過対象外に指定可能にした
EDITOR は先行対応済み

Change Summary

Incremental Difference

--- trunk/src/jp/sourceforge/users/yutang/omegat/plugin/moenizer/MoeUI.java (revision 55)
+++ trunk/src/jp/sourceforge/users/yutang/omegat/plugin/moenizer/MoeUI.java (revision 56)
@@ -402,7 +402,31 @@
402402 if (c.isShowing() && c.isOpaque()) {
403403 if (exclude.contains(Parts.EDITOR) && c instanceof JTextPane &&
404404 c.equals(getJTextPaneFromInstantStartView())) {
405- // INSTANT_START を除く
405+ // skip INSTANT_START
406+ } else if (exclude.contains(Parts.EDITOR) && c instanceof JEditorPane &&
407+ c.equals(getJEditorPaneFromEditorView())) {
408+ // skip EDITOR
409+ } else if (exclude.contains(Parts.MATCHES) && c instanceof JEditorPane &&
410+ c.equals(getJEditorPane(Parts.MATCHES))) {
411+ // skip MATCHES
412+ } else if (exclude.contains(Parts.GLOSSARY) && c instanceof JEditorPane &&
413+ c.equals(getJEditorPane(Parts.GLOSSARY))) {
414+ // skip GLOSSARY
415+ } else if (exclude.contains(Parts.NOTES) && c instanceof JEditorPane &&
416+ c.equals(getJEditorPane(Parts.NOTES))) {
417+ // skip NOTES
418+ } else if (exclude.contains(Parts.COMMENTS) && c instanceof JEditorPane &&
419+ c.equals(getJEditorPane(Parts.COMMENTS))) {
420+ // skip COMMENTS
421+ } else if (exclude.contains(Parts.MACHINE_TRANSLATE) && c instanceof JEditorPane &&
422+ c.equals(getJEditorPane(Parts.MACHINE_TRANSLATE))) {
423+ // skip MACHINE_TRANSLATE
424+ } else if (exclude.contains(Parts.DICTIONARY) && c instanceof JEditorPane &&
425+ c.equals(getJEditorPane(Parts.DICTIONARY))) {
426+ // skip DICTIONARY
427+ } else if (exclude.contains(Parts.MULTIPLE_TRANS) && c instanceof JEditorPane &&
428+ c.equals(getJEditorPane(Parts.MULTIPLE_TRANS))) {
429+ // skip MULTIPLE_TRANS
406430 } else {
407431 c.setOpaque(false);
408432 }