diff options
| author | peb <unknown> | 2005-02-18 18:21:06 +0000 |
|---|---|---|
| committer | peb <unknown> | 2005-02-18 18:21:06 +0000 |
| commit | 9568d7a844ba6a1872a8e8f6ef002860057e62ab (patch) | |
| tree | 9e25c6ed62e48101a2782d5fb8dcba68462dc613 /src/GF/Fudgets | |
| parent | 1c4f025320900897ae3acdab6982f7d595b98dd1 (diff) | |
"Committed_by_peb"
Diffstat (limited to 'src/GF/Fudgets')
| -rw-r--r-- | src/GF/Fudgets/ArchEdit.hs | 6 | ||||
| -rw-r--r-- | src/GF/Fudgets/CommandF.hs | 6 | ||||
| -rw-r--r-- | src/GF/Fudgets/EventF.hs | 19 | ||||
| -rw-r--r-- | src/GF/Fudgets/FudgetOps.hs | 16 | ||||
| -rw-r--r-- | src/GF/Fudgets/UnicodeF.hs | 12 |
5 files changed, 29 insertions, 30 deletions
diff --git a/src/GF/Fudgets/ArchEdit.hs b/src/GF/Fudgets/ArchEdit.hs index 9d8e905e0..74b31b5a9 100644 --- a/src/GF/Fudgets/ArchEdit.hs +++ b/src/GF/Fudgets/ArchEdit.hs @@ -5,9 +5,9 @@ -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date $ --- > CVS $Author $ --- > CVS $Revision $ +-- > CVS $Date: 2005/02/18 19:21:10 $ +-- > CVS $Author: peb $ +-- > CVS $Revision: 1.3 $ -- -- (Description of the module) ----------------------------------------------------------------------------- diff --git a/src/GF/Fudgets/CommandF.hs b/src/GF/Fudgets/CommandF.hs index 69dcac051..568e82856 100644 --- a/src/GF/Fudgets/CommandF.hs +++ b/src/GF/Fudgets/CommandF.hs @@ -5,9 +5,9 @@ -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date $ --- > CVS $Author $ --- > CVS $Revision $ +-- > CVS $Date: 2005/02/18 19:21:20 $ +-- > CVS $Author: peb $ +-- > CVS $Revision: 1.4 $ -- -- (Description of the module) ----------------------------------------------------------------------------- diff --git a/src/GF/Fudgets/EventF.hs b/src/GF/Fudgets/EventF.hs index 9c2ba19ee..f517ab22e 100644 --- a/src/GF/Fudgets/EventF.hs +++ b/src/GF/Fudgets/EventF.hs @@ -1,13 +1,13 @@ ---------------------------------------------------------------------- -- | --- Module : (Module) --- Maintainer : (Maintainer) +-- Module : EventF +-- Maintainer : AR -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date $ --- > CVS $Author $ --- > CVS $Revision $ +-- > CVS $Date: 2005/02/18 19:21:14 $ +-- > CVS $Author: peb $ +-- > CVS $Revision: 1.3 $ -- -- (Description of the module) ----------------------------------------------------------------------------- @@ -15,12 +15,13 @@ module EventF where import AllFudgets --- The first string is the name of the key (e.g., "Down" for the down arrow key) +-- | The first string is the name of the key (e.g., "Down" for the down arrow key) +-- -- The modifiers list shift, control and alt keys that were active while the -- key was pressed. +-- -- The last string is the text produced by the key (for keys that produce -- printable characters, empty for control keys). - type KeyPress = ((String,[Modifiers]),String) keyboardF :: F i o -> F i (Either KeyPress o) @@ -34,10 +35,10 @@ keyboardF fud = idRightSP (concatMapSP post) >^^=< oeventF mask fud EnterWindowMask, LeaveWindowMask -- because of CTT implementation ] --- Output events: +-- | Output events: oeventF em fud = eventF em (idLeftF fud) --- Feed events to argument fudget: +-- | Feed events to argument fudget: eventF eventmask = serCompLeftToRightF . groupF startcmds eventK where startcmds = [XCmd $ ChangeWindowAttributes [CWEventMask eventmask], diff --git a/src/GF/Fudgets/FudgetOps.hs b/src/GF/Fudgets/FudgetOps.hs index 2c1847105..ac50d3e77 100644 --- a/src/GF/Fudgets/FudgetOps.hs +++ b/src/GF/Fudgets/FudgetOps.hs @@ -1,23 +1,21 @@ ---------------------------------------------------------------------- -- | --- Module : (Module) --- Maintainer : (Maintainer) +-- Module : FudgetOps +-- Maintainer : AR -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date $ --- > CVS $Author $ --- > CVS $Revision $ +-- > CVS $Date: 2005/02/18 19:21:14 $ +-- > CVS $Author: peb $ +-- > CVS $Revision: 1.3 $ -- --- (Description of the module) +-- auxiliary Fudgets for GF syntax editor ----------------------------------------------------------------------------- module FudgetOps where import Fudgets --- auxiliary Fudgets for GF syntax editor - -- save and display showAndSaveF fud = (writeFileF >+< textWindowF) >==< saveF fud @@ -35,7 +33,7 @@ saveSP contents = getSP $ \msg -> case msg of textWindowF = writeOutputF --- to replace stringInputF by a pop-up slot behind a button +-- | to replace stringInputF by a pop-up slot behind a button popupStringInputF :: String -> String -> String -> F String String popupStringInputF label deflt msg = mapF snd diff --git a/src/GF/Fudgets/UnicodeF.hs b/src/GF/Fudgets/UnicodeF.hs index cd307d4ae..23ba29a2b 100644 --- a/src/GF/Fudgets/UnicodeF.hs +++ b/src/GF/Fudgets/UnicodeF.hs @@ -1,18 +1,18 @@ ---------------------------------------------------------------------- -- | --- Module : (Module) --- Maintainer : (Maintainer) +-- Module : UnicodeF +-- Maintainer : AR -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date $ --- > CVS $Author $ --- > CVS $Revision $ +-- > CVS $Date: 2005/02/18 19:21:16 $ +-- > CVS $Author: peb $ +-- > CVS $Revision: 1.3 $ -- -- (Description of the module) ----------------------------------------------------------------------------- -module UnicodeF where +module UnicodeF (fudlogueWriteU) where import Fudgets import Operations |
