Created
April 12, 2012 14:09
-
-
Save xenophobia/2367565 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- タイムラインのフィールドにデータを描画 | |
drawTimelineData :: GUI -> [Tweet] -> IO () | |
drawTimelineData gui tweets = do | |
let home = homeTimeline gui | |
field = timelineField home | |
tlText = foldl (\s -> \t -> s ++ (show t) ++ "\n") "" tweets | |
-- 描画イベントを発生させる | |
GUI.drawString field (0, 0, 0) (0, 0) tlText | |
return () |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment