diff --git a/examples/listbox.c b/examples/listbox.c index 0324507..ec0ae89 100644 --- a/examples/listbox.c +++ b/examples/listbox.c @@ -1,24 +1,15 @@ /* $Id$ */ #include +#include "../resource/harvard.c" + int main(){ MwWidget w = MwVaCreateWidget(MwWindowClass, "main", NULL, MwDEFAULT, MwDEFAULT, 640, 480, MwNtitle, "test", NULL); MwWidget lb = MwCreateWidget(MwListBoxClass, "listbox", w, 5, 5, 630, 470); - char* str[512]; - int i; - for(i = 0; i < sizeof(str) / sizeof(str[0]); i++){ - str[i] = malloc(16); - sprintf(str[i], "element %d", i); - } - - MwListBoxInsertMultiple(lb, -1, str, sizeof(str) / sizeof(str[0])); - - for(i = 0; i < sizeof(str) / sizeof(str[0]); i++){ - free(str[i]); - } + MwListBoxInsertMultiple(lb, -1, (char**)harvard, sizeof(harvard) / sizeof(harvard[0]) - 1); MwLoop(w); } diff --git a/include/Mw/Widget/ListBox.h b/include/Mw/Widget/ListBox.h index 4ab19b2..8cf2cee 100644 --- a/include/Mw/Widget/ListBox.h +++ b/include/Mw/Widget/ListBox.h @@ -33,7 +33,7 @@ MWDECL void MwListBoxInsert(MwWidget handle, int index, const char* text); * %param text Text * %param count Count */ -MWDECL void MwListBoxInsertMultiple(MwWidget handle, int index, char* const* text, int count); +MWDECL void MwListBoxInsertMultiple(MwWidget handle, int index, char** text, int count); /*! * %brief Deletes item from the listbox diff --git a/resource/harvard.c b/resource/harvard.c new file mode 100644 index 0000000..837f18d --- /dev/null +++ b/resource/harvard.c @@ -0,0 +1,725 @@ +/* $Id$ */ + +const char* harvard[] = { + "The birch canoe slid on the smooth planks. ", + "Glue the sheet to the dark blue background.", + "It's easy to tell the depth of a well. ", + "These days a chicken leg is a rare dish. ", + "Rice is often served in round bowls.", + "The juice of lemons makes fine punch. ", + "The box was thrown beside the parked truck. ", + "The hogs were fed chopped corn and garbage. ", + "Four hours of steady work faced us. ", + "A large size in stockings is hard to sell. ", + "The boy was there when the sun rose.", + "A rod is used to catch pink salmon. ", + "The source of the huge river is the clear spring. ", + "Kick the ball straight and follow through.", + "Help the woman get back to her feet. ", + "A pot of tea helps to pass the evening. ", + "Smoky fires lack flame and heat. ", + "The soft cushion broke the man's fall. ", + "The salt breeze came across from the sea. ", + "The girl at the booth sold fifty bonds. ", + "The small pup gnawed a hole in the sock. ", + "The fish twisted and turned on the bent hook. ", + "Press the pants and sew a button on the vest. ", + "The swan dive was far short of perfect. ", + "The beauty of the view stunned the young boy. ", + "Two blue fish swam in the tank. ", + "Her purse was full of useless trash. ", + "The colt reared and threw the tall rider. ", + "It snowed, rained, and hailed the same morning. ", + "Read verse out loud for pleasure.", + "Hoist the load to your left shoulder. ", + "Take the winding path to reach the lake. ", + "Note closely the size of the gas tank. ", + "Wipe the grease off his dirty face. ", + "Mend the coat before you go out. ", + "The wrist was badly strained and hung limp. ", + "The stray cat gave birth to kittens. ", + "The young girl gave no clear response. ", + "The meal was cooked before the bell rang.", + "What joy there is in living. ", + "A king ruled the state in the early days. ", + "The ship was torn apart on the sharp reef. ", + "Sickness kept him home the third week. ", + "The wide road shimmered in the hot sun. ", + "The lazy cow lay in the cool grass. ", + "Lift the square stone over the fence. ", + "The rope will bind the seven books at once. ", + "Hop over the fence and plunge in. ", + "The friendly gang left the drug store. ", + "Mesh wire keeps chicks inside. ", + "The frosty air passed through the coat. ", + "The crooked maze failed to fool the mouse. ", + "Adding fast leads to wrong sums. ", + "The show was a flop from the very start. ", + "A saw is a tool used for making boards.", + "The wagon moved on well oiled wheels.", + "March the soldiers past the next hill. ", + "A cup of sugar makes sweet fudge. ", + "Place a rosebush near the porch steps. ", + "Both lost their lives in the raging storm. ", + "We talked of the side show in the circus.", + "Use a pencil to write the first draft.", + "He ran half way to the hardware store. ", + "The clock struck to mark the third period.", + "A small creek cut across the field.", + "Cars and busses stalled in snow drifts.", + "The set of china hit the floor with a crash. ", + "This is a grand season for hikes on the road.", + "The dune rose from the edge of the water. ", + "Those words were the cue for the actor to leave.", + "A yacht slid around the point into the bay.", + "The two met while playing on the sand.", + "The ink stain dried on the finished page.", + "The walled town was seized without a fight. ", + "The lease ran out in sixteen weeks. ", + "A tame squirrel makes a nice pet. ", + "The horn of the car woke the sleeping cop. ", + "The heart beat strongly and with firm strokes. ", + "The pearl was worn in a thin silver ring. ", + "The fruit peel was cut in thick slices.", + "The Navy attacked the big task force.", + "See the cat glaring at the scared mouse. ", + "There are more than two factors here.", + "The hat brim was wide and too droopy.", + "The lawyer tried to lose his case.", + "The grass curled around the fence post.", + "Cut the pie into large parts.", + "Men strive but seldom get rich. ", + "Always close the barn door tight.", + "He lay prone and hardly moved a limb.", + "The slush lay deep along the street. ", + "A wisp of cloud hung in the blue air. ", + "A pound of sugar costs more than eggs.", + "The fin was sharp and cut the clear water.", + "The play seems dull and quite stupid.", + "Bail the boat to stop it from sinking.", + "The term ended in late june that year.", + "A Tusk is used to make costly gifts.", + "Ten pins were set in order.", + "The bill was paid every third week.", + "Oak is strong and also gives shade.", + "Cats and Dogs each hate the other.", + "The pipe began to rust while new.", + "Open the crate but don't break the glass.", + "Add the sum to the product of these three.", + "Thieves who rob friends deserve jail.", + "The ripe taste of cheese improves with age.", + "Act on these orders with great speed.", + "The hog crawled under the high fence.", + "Move the vat over the hot fire.", + "The bark of the pine tree was shiny and dark.", + "Leaves turn brown and yellow in the fall. ", + "The pennant waved when the wind blew.", + "Split the log with a quick, sharp blow.", + "Burn peat after the logs give out.", + "He ordered peach pie with ice cream.", + "Weave the carpet on the right hand side.", + "Hemp is a weed found in parts of the tropics.", + "A lame back kept his score low.", + "We find joy in the simplest things.", + "Type out three lists of orders.", + "The harder he tried the less he got done.", + "The boss ran the show with a watchful eye.", + "The cup cracked and spilled its contents.", + "Paste can cleanse the most dirty brass.", + "The slang word for raw whiskey is booze.", + "It caught its hind paw in a rusty trap.", + "The wharf could be seen at the farther shore.", + "Feel the heat of the weak dying flame.", + "The tiny girl took off her hat.", + "A cramp is no small danger on a swim.", + "He said the same phrase thirty times.", + "Pluck the bright rose without leaves.", + "Two plus seven is less than ten.", + "The glow deepened in the eyes of the sweet girl.", + "Bring your problems to the wise chief.", + "Write a fond note to the friend you cherish.", + "Clothes and lodging are free to new men.", + "We frown when events take a bad turn.", + "Port is a strong wine with a smoky taste.", + "The young kid jumped the rusty gate.", + "Guess the result from the first scores. ", + "A salt pickle tastes fine with ham.", + "The just claim got the right verdict.", + "Those thistles bend in a high wind.", + "Pure bred poodles have curls.", + "The tree top waved in a graceful way. ", + "The spot on the blotter was made by green ink. ", + "Mud was spattered on the front of his white shirt.", + "The cigar burned a hole in the desk top. ", + "The empty flask stood on the tin tray.", + "A speedy man can beat this track mark. ", + "He broke a new shoelace that day.", + "The coffee stand is too high for the couch. ", + "The urge to write short stories is rare. ", + "The pencils have all been used.", + "The pirates seized the crew of the lost ship.", + "We tried to replace the coin but failed. ", + "She sewed the torn coat quite neatly. ", + "The sofa cushion is red and of light weight.", + "The jacket hung on the back of the wide chair.", + "At that high level the air is pure.", + "Drop the two when you add the figures.", + "A filing case is now hard to buy.", + "An abrupt start does not win the prize. ", + "Wood is best for making toys and blocks.", + "The office paint was a dull, sad tan.", + "He knew the skill of the great young actress.", + "A rag will soak up spilled water.", + "A shower of dirt fell from the hot pipes.", + "Steam hissed from the broken valve. ", + "The child almost hurt the small dog.", + "There was a sound of dry leaves outside.", + "The sky that morning was clear and bright blue.", + "Torn scraps littered the stone floor.", + "Sunday is the best part of the week. ", + "The doctor cured him with these pills.", + "The new girl was fired today at noon.", + "They felt gay when the ship arrived in port.", + "Add the store's account to the last cent.", + "Acid burns holes in wool cloth.", + "Fairy tales should be fun to write.", + "Eight miles of woodland burned to waste.", + "The third act was dull and tired the players.", + "A young child should not suffer fright.", + "Add the column and put the sum here.", + "We admire and love a good cook.", + "There the flood mark is ten inches.", + "He carved a head from the round block of marble.", + "She has a smart way of wearing clothes.", + "The fruit of a fig tree is apple shaped.", + "Corn cobs can be used to kindle a fire. ", + "Where were they when the noise started.", + "The paper box is full of thumb tacks.", + "Sell your gift to a buyer at a good gain.", + "The tongs lay beside the ice pail.", + "The petals fall with the next puff of wind.", + "Bring your best compass to the third class.", + "They could laugh although they were sad.", + "Farmers came in to thresh the oat crop.", + "The brown house was on fire to the attic.", + "The lure is used to catch trout and flounder.", + "Float the soap on top of the bath water.", + "A blue crane is a tall wading bird.", + "A fresh start will work such wonders.", + "The club rented the rink for the fifth night.", + "After the dance, they went straight home.", + "The hostess taught the new maid to serve.", + "He wrote his last novel there at the inn.", + "Even the worst will beat his low score.", + "The cement had dried when he moved it.", + "The loss of the second ship was hard to take.", + "The fly made its way along the wall.", + "Do that with a wooden stick.", + "Live wires should be kept covered.", + "The large house had hot water taps.", + "It is hard to erase blue or red ink.", + "Write at once or you may forget it.", + "The doorknob was made of bright clean brass.", + "The wreck occurred by the bank on Main Street.", + "A pencil with black lead writes best.", + "Coax a young calf to drink from a bucket.", + "Schools for ladies teach charm and grace.", + "The lamp shone with a steady green flame.", + "They took the axe and the saw to the forest.", + "The ancient coin was quite dull and worn.", + "The shaky barn fell with a loud crash. ", + "Jazz and swing fans like fast music.", + "Rake the rubbish up and then burn it.", + "Slash the gold cloth into fine ribbons.", + "Try to have the court decide the case.", + "They are pushed back each time they attack.", + "He broke his ties with groups of former friends.", + "They floated on the raft to sun their white backs.", + "The map had an X that meant nothing.", + "Whitings are small fish caught in nets.", + "Some ads serve to cheat buyers.", + "Jerk the rope and the bell rings weakly.", + "A waxed floor makes us lose balance.", + "Madam, this is the best brand of corn.", + "On the islands the sea breeze is soft and mild.", + "The play began as soon as we sat down.", + "This will lead the world to more sound and fury.", + "Add salt before you fry the egg.", + "The rush for funds reached its peak Tuesday.", + "The birch looked stark white and lonesome.", + "The box is held by a bright red snapper.", + "To make pure ice, you freeze water.", + "The first worm gets snapped early.", + "Jump the fence and hurry up the bank.", + "Yell and clap as the curtain slides back.", + "They are men who walk the middle of the road.", + "Both brothers wear the same size.", + "In some form or other we need fun.", + "The prince ordered his head chopped off.", + "The houses are built of red clay bricks.", + "Ducks fly north but lack a compass.", + "Fruit flavors are used in fizz drinks.", + "These pills do less good than others.", + "Canned pears lack full flavor.", + "The dark pot hung in the front closet.", + "Carry the pail to the wall and spill it there.", + "The train brought our hero to the big town.", + "We are sure that one war is enough.", + "Gray paint stretched for miles around.", + "The rude laugh filled the empty room.", + "High seats are best for football fans.", + "Tea served from the brown jug is tasty.", + "A dash of pepper spoils beef stew.", + "A zestful food is the hot-cross bun.", + "The horse trotted around the field at a brisk pace.", + "Find the twin who stole the pearl necklace.", + "Cut the cord that binds the box tightly.", + "The red tape bound the smuggled food.", + "Look in the corner to find the tan shirt.", + "The cold drizzle will halt the bond drive.", + "Nine men were hired to dig the ruins.", + "The junk yard had a mouldy smell.", + "The flint sputtered and lit a pine torch.", + "Soak the cloth and drown the sharp odor.", + "The shelves were bare of both jam or crackers.", + "A joy to every child is the swan boat.", + "All sat frozen and watched the screen.", + "A cloud of dust stung his tender eyes.", + "To reach the end he needs much courage.", + "Shape the clay gently into block form.", + "A ridge on a smooth surface is a bump or flaw.", + "Hedge apples may stain your hands green.", + "Quench your thirst, then eat the crackers.", + "Tight curls get limp on rainy days.", + "The mute muffled the high tones of the horn.", + "The gold ring fits only a pierced ear.", + "The old pan was covered with hard fudge.", + "Watch the log float in the wide river.", + "The node on the stalk of wheat grew daily.", + "The heap of fallen leaves was set on fire.", + "Write fast if you want to finish early.", + "His shirt was clean but one button was gone.", + "The barrel of beer was a brew of malt and hops.", + "Tin cans are absent from store shelves.", + "Slide the box into that empty space.", + "The plant grew large and green in the window.", + "The beam dropped down on the workman's head.", + "Pink clouds floated with the breeze.", + "She danced like a swan, tall and graceful.", + "The tube was blown and the tire flat and useless.", + "It is late morning on the old wall clock.", + "Let's all join as we sing the last chorus.", + "The last switch cannot be turned off.", + "The fight will end in just six minutes.", + "The store walls were lined with colored frocks.", + "The peace league met to discuss their plans. ", + "The rise to fame of a person takes luck.", + "Paper is scarce, so write with much care.", + "The quick fox jumped on the sleeping cat.", + "The nozzle of the fire hose was bright brass.", + "Screw the round cap on as tight as needed.", + "Time brings us many changes.", + "The purple tie was ten years old.", + "Men think and plan and sometimes act.", + "Fill the ink jar with sticky glue.", + "He smoke a big pipe with strong contents.", + "We need grain to keep our mules healthy.", + "Pack the records in a neat thin case.", + "The crunch of feet in the snow was the only sound.", + "The copper bowl shone in the sun's rays.", + "Boards will warp unless kept dry. ", + "The plush chair leaned against the wall. ", + "Glass will clink when struck by metal.", + "Bathe and relax in the cool green grass.", + "Nine rows of soldiers stood in a line.", + "The beach is dry and shallow at low tide.", + "The idea is to sew both edges straight.", + "The kitten chased the dog down the street.", + "Pages bound in cloth make a book.", + "Try to trace the fine lines of the painting.", + "Women form less than half of the group. ", + "The zones merge in the central part of town.", + "A gem in the rough needs work to polish.", + "Code is used when secrets are sent.", + "Most of the news is easy for us to hear.", + "He used the lathe to make brass objects.", + "The vane on top of the pole revolved in the wind.", + "Mince pie is a dish served to children.", + "The clan gathered on each dull night.", + "Let it burn, it gives us warmth and comfort.", + "A castle built from sand fails to endure.", + "A child's wit saved the day for us.", + "Tack the strip of carpet to the worn floor.", + "Next Tuesday we must vote.", + "Pour the stew from the pot into the plate.", + "Each penny shone like new.", + "The man went to the woods to gather sticks.", + "The dirt piles were lines along the road.", + "The logs fell and tumbled into the clear stream.", + "Just hoist it up and take it away.", + "A ripe plum is fit for a king's palate.", + "Our plans right now are hazy. ", + "Brass rings are sold by these natives.", + "It takes a good trap to capture a bear.", + "Feed the white mouse some flower seeds.", + "The thaw came early and freed the stream.", + "He took the lead and kept it the whole distance.", + "The key you designed will fit the lock.", + "Plead to the council to free the poor thief.", + "Better hash is made of rare beef.", + "This plank was made for walking on .", + "The lake sparkled in the red hot sun.", + "He crawled with care along the ledge.", + "Tend the sheep while the dog wanders.", + "It takes a lot of help to finish these.", + "Mark the spot with a sign painted red.", + "Take two shares as a fair profit. ", + "The fur of cats goes by many names.", + "North winds bring colds and fevers.", + "He asks no person to vouch for him.", + "Go now and come here later.", + "A sash of gold silk will trim her dress.", + "Soap can wash most dirt away.", + "That move means the game is over.", + "He wrote down a long list of items.", + "A siege will crack the strong defense.", + "Grape juice and water mix well.", + "Roads are paved with sticky tar.", + "Fake stones shine but cost little.", + "The drip of the rain made a pleasant sound. ", + "Smoke poured out of every crack. ", + "Serve the hot rum to the tired heroes.", + "Much of the story makes good sense. ", + "The sun came up to light the eastern sky.", + "Heave the line over the port side.", + "A lathe cuts and trims any wood.", + "It's a dense crowd in two distinct ways.", + "His hip struck the knee of the next player.", + "The stale smell of old beer lingers.", + "The desk was firm on the shaky floor.", + "It takes heat to bring out the odor.", + "Beef is scarcer than some lamb.", + "Raise the sail and steer the ship northward.", + "A cone costs five cents on Mondays.", + "A pod is what peas always grow in.", + "Jerk that dart from the cork target.", + "No cement will hold hard wood.", + "We now have a new base for shipping.", + "A list of names is carved around the base.", + "The sheep were led home by a dog.", + "Three for a dime, the young peddler cried.", + "The sense of smell is better than that of touch.", + "No hardship seemed to make him sad.", + "Grace makes up for lack of beauty.", + "Nudge gently but wake her now.", + "The news struck doubt into restless minds.", + "Once we stood beside the shore.", + "A chink in the wall allowed a draft to blow.", + "Fasten two pins on each side.", + "A cold dip restores health and zest.", + "He takes the oath of office each March.", + "The sand drifts over the sills of the old house.", + "The point of the steel pen was bent and twisted.", + "There is a lag between thought and act.", + "Seed is needed to plant the spring corn.", + "Draw the chart with heavy black lines.", + "The boy owed his pal thirty cents.", + "The chap slipped into the crowd and was lost.", + "Hats are worn to tea and not to dinner.", + "The ramp led up to the wide highway.", + "Beat the dust from the rug onto the lawn.", + "Say it slowly but make it ring clear.", + "The straw nest housed five robins.", + "Screen the porch with woven straw mats.", + "This horse will nose his way to the finish.", + "The dry wax protects the deep scratch.", + "He picked up the dice for a second roll.", + "These coins will be needed to pay his debt.", + "The nag pulled the frail cart along.", + "Twist the valve and release hot steam.", + "The vamp of the shoe had a gold buckle.", + "The smell of burned rags itches my nose.", + "New pants lack cuffs and pockets.", + "The marsh will freeze when cold enough.", + "They slice the sausage thin with a knife.", + "The bloom of the rose lasts a few days.", + "A gray mare walked before the colt.", + "Breakfast buns are fine with a hot drink.", + "Bottles hold four kinds of rum.", + "The man wore a feather in his felt hat.", + "He wheeled the bike past the winding road.", + "Drop the ashes on the worn old rug.", + "The desk and both chairs were painted tan.", + "Throw out the used paper cup and plate.", + "A clean neck means a neat collar.", + "The couch cover and hall drapes were blue.", + "The stems of the tall glasses cracked and broke.", + "The wall phone rang loud and often.", + "The clothes dried on a thin wooden rack.", + "Turn out the lantern which gives us light.", + "The cleat sank deeply into the soft turf.", + "The bills were mailed promptly on the tenth of the month.", + "To have is better than to wait and hope.", + "The price is fair for a good antique clock.", + "The music played on while they talked.", + "Dispense with a vest on a day like this.", + "The bunch of grapes was pressed into wine.", + "He sent the figs, but kept the ripe cherries.", + "The hinge on the door creaked with old age.", + "The screen before the fire kept in the sparks.", + "Fly by night and you waste little time.", + "Thick glasses helped him read the print.", + "Birth and death marks the limits of life.", + "The chair looked strong but had no bottom.", + "The kite flew wildly in the high wind.", + "A fur muff is stylish once more.", + "The tin box held priceless stones.", + "We need an end of all such matter.", + "The case was puzzling to the old and wise.", + "The bright lanterns were gay on the dark lawn.", + "We don't get much money but we have fun.", + "The youth drove with zest, but little skill.", + "Five years he lived with a shaggy dog.", + "A fence cuts through the corner lot.", + "The way to save money is not to spend much.", + "Shut the hatch before the waves push it in.", + "The odor of spring makes young hearts jump.", + "Crack the walnut with your sharp side teeth.", + "He offered proof in the form of a large chart.", + "Send the stuff in a thick paper bag.", + "A quart of milk is water for the most part.", + "They told wild tales to frighten him.", + "The three story house was built of stone.", + "In the rear of the ground floor was a large passage.", + "A man in a blue sweater sat at the desk.", + "Oats are a food eaten by horse and man.", + "Their eyelids droop for want of sleep.", + "A sip of tea revives his tired friend.", + "There are many ways to do these things.", + "Tuck the sheet under the edge of the mat.", + "A force equal to that would move the earth.", + "We like to see clear weather.", + "The work of the tailor is seen on each side.", + "Take a chance and win a china doll.", + "Shake the dust from your shoes, stranger.", + "She was kind to sick old people.", + "The square wooden crate was packed to be shipped.", + "The dusty bench stood by the stone wall.", + "We dress to suit the weather of most days.", + "Smile when you say nasty words.", + "A bowl of rice is free with chicken stew.", + "The water in this well is a source of good health.", + "Take shelter in this tent, but keep still.", + "That guy is the writer of a few banned books.", + "The little tales they tell are false.", + "The door was barred, locked, and bolted as well.", + "Ripe pears are fit for a queen's table.", + "A big wet stain was on the round carpet.", + "The kite dipped and swayed, but stayed aloft.", + "The pleasant hours fly by much too soon.", + "The room was crowded with a wild mob.", + "This strong arm shall shield your honor.", + "She blushed when he gave her a white orchid.", + "The beetle droned in the hot June sun.", + "Press the pedal with your left foot.", + "Neat plans fail without luck.", + "The black trunk fell from the landing.", + "The bank pressed for payment of the debt.", + "The theft of the pearl pin was kept secret.", + "Shake hands with this friendly child.", + "The vast space stretched into the far distance.", + "A rich farm is rare in this sandy waste.", + "His wide grin earned many friends.", + "Flax makes a fine brand of paper.", + "Hurdle the pit with the aid of a long pole.", + "A strong bid may scare your partner stiff.", + "Even a just cause needs power to win.", + "Peep under the tent and see the clowns.", + "The leaf drifts along with a slow spin.", + "Cheap clothes are flashy but don't last.", + "A thing of small note can cause despair.", + "Flood the mails with requests for this book.", + "A thick coat of black paint covered all.", + "The pencil was cut to be sharp at both ends.", + "Those last words were a strong statement.", + "He wrote his name boldly at the top of the sheet.", + "Dill pickles are sour but taste fine.", + "Down that road is the way to the grain farmer.", + "Either mud or dust are found at all times.", + "The best method is to fix it in place with clips.", + "If you mumble your speech will be lost.", + "At night the alarm roused him from a deep sleep.", + "Read just what the meter says.", + "Fill your pack with bright trinkets for the poor.", + "The small red neon lamp went out.", + "Clams are small, round, soft, and tasty.", + "The fan whirled its round blades softly.", + "The line where the edges join was clean.", + "Breathe deep and smell the piny air.", + "It matters not if he reads these words or those.", + "A brown leather bag hung from its strap.", + "A toad and a frog are hard to tell apart.", + "A white silk jacket goes with any shoes.", + "A break in the dam almost caused a flood.", + "Paint the sockets in the wall dull green.", + "The child crawled into the dense grass.", + "Bribes fail where honest men work.", + "Trample the spark, else the flames will spread.", + "The hilt of the sword was carved with fine designs.", + "A round hole was drilled through the thin board.", + "Footprints showed the path he took up the beach.", + "She was waiting at my front lawn.", + "A vent near the edge brought in fresh air.", + "Prod the old mule with a crooked stick.", + "It is a band of steel three inches wide.", + "The pipe ran almost the length of the ditch.", + "It was hidden from sight by a mass of leaves and shrubs.", + "The weight of the package was seen on the high scale.", + "Wake and rise, and step into the green outdoors.", + "The green light in the brown box flickered.", + "The brass tube circled the high wall.", + "The lobes of her ears were pierced to hold rings.", + "Hold the hammer near the end to drive the nail.", + "Next Sunday is the twelfth of the month.", + "Every word and phrase he speaks is true.", + "He put his last cartridge into the gun and fired.", + "They took their kids from the public school.", + "Drive the screw straight into the wood.", + "Keep the hatch tight and the watch constant.", + "Sever the twine with a quick snip of the knife.", + "Paper will dry out when wet.", + "Slide the catch back and open the desk.", + "Help the weak to preserve their strength.", + "A sullen smile gets few friends.", + "Stop whistling and watch the boys march.", + "Jerk the cord, and out tumbles the gold.", + "Slide the tray across the glass top.", + "The cloud moved in a stately way and was gone.", + "Light maple makes for a swell room.", + "Set the piece here and say nothing.", + "Dull stories make her laugh.", + "A stiff cord will do to fasten your shoe.", + "Get the trust fund to the bank early.", + "Choose between the high road and the low.", + "A plea for funds seems to come again.", + "He lent his coat to the tall gaunt stranger.", + "There is a strong chance it will happen once more.", + "The duke left the park in a silver coach.", + "Greet the new guests and leave quickly.", + "When the frost has come it is time for turkey.", + "Sweet words work better than fierce.", + "A thin stripe runs down the middle.", + "A six comes up more often than a ten.", + "Lush ferns grow on the lofty rocks.", + "The ram scared the school children off.", + "The team with the best timing looks good.", + "The farmer swapped his horse for a brown ox.", + "Sit on the perch and tell the others what to do.", + "A steep trail is painful for our feet.", + "The early phase of life moves fast.", + "Green moss grows on the northern side.", + "Tea in thin china has a sweet taste.", + "Pitch the straw through the door of the stable.", + "The latch on the back gate needed a nail.", + "The goose was brought straight from the old market.", + "The sink is the thing in which we pile dishes.", + "A whiff of it will cure the most stubborn cold.", + "The facts don't always show who is right.", + "She flaps her cape as she parades the street.", + "The loss of the cruiser was a blow to the fleet.", + "Loop the braid to the left and then over.", + "Plead with the lawyer to drop the lost cause.", + "Calves thrive on tender spring grass.", + "Post no bills on this office wall.", + "Tear a thin sheet from the yellow pad.", + "A cruise in warm waters in a sleek yacht is fun.", + "A streak of color ran down the left edge.", + "It was done before the boy could see it.", + "Crouch before you jump or miss the mark.", + "Pack the kits and don't forget the salt.", + "The square peg will settle in the round hole.", + "Fine soap saves tender skin.", + "Poached eggs and tea must suffice.", + "Bad nerves are jangled by a door slam.", + "Ship maps are different from those for planes.", + "Dimes showered down from all sides.", + "They sang the same tunes at each party.", + "The sky in the west is tinged with orange red.", + "The pods of peas ferment in bare fields.", + "The horse balked and threw the tall rider.", + "The hitch between the horse and cart broke.", + "Pile the coal high in the shed corner.", + "A gold vase is both rare and costly.", + "The knife was hung inside its bright sheath.", + "The rarest spice comes from the far East.", + "The roof should be tilted at a sharp slant.", + "A smatter of French is worse than none.", + "The mule trod the treadmill day and night.", + "The aim of the contest is to raise a great fund.", + "To send it now in large amounts is bad.", + "There is a fine hard tang in salty air.", + "Cod is the main business of the north shore.", + "The slab was hewn from heavy blocks of slate.", + "Dunk the stale biscuits into strong drink.", + "Hang tinsel from both branches.", + "Cap the jar with a tight brass cover.", + "The poor boy missed the boat again.", + "Be sure to set that lamp firmly in the hole.", + "Pick a card and slip it under the pack.", + "A round mat will cover the dull spot.", + "The first part of the plan needs changing.", + "A good book informs of what we ought to know.", + "The mail comes in three batches per day.", + "You cannot brew tea in a cold pot.", + "Dots of light betrayed the black cat.", + "Put the chart on the mantel and tack it down.", + "The night shift men rate extra pay.", + "The red paper brightened the dim stage.", + "See the player scoot to third base.", + "Slide the bill between the two leaves.", + "Many hands help get the job done.", + "We don't like to admit our small faults.", + "No doubt about the way the wind blows.", + "Dig deep in the earth for pirate's gold.", + "The steady drip is worse than a drenching rain.", + "A flat pack takes less luggage space.", + "Green ice frosted the punch bowl.", + "A stuffed chair slipped from the moving van.", + "The stitch will serve but needs to be shortened.", + "A thin book fits in the side pocket.", + "The gloss on top made it unfit to read.", + "The hail pattered on the burnt brown grass.", + "Seven seals were stamped on great sheets.", + "Our troops are set to strike heavy blows.", + "The store was jammed before the sale could start.", + "It was a bad error on the part of the new judge.", + "One step more and the board will collapse.", + "Take the match and strike it against your shoe.", + "The pot boiled but the contents failed to jell.", + "The baby puts his right foot in his mouth.", + "The bombs left most of the town in ruins.", + "Stop and stare at the hard working man.", + "The streets are narrow and full of sharp turns.", + "The pup jerked the leash as he saw a feline shape.", + "Open your book to the first page.", + "Fish evade the net and swim off.", + "Dip the pail once and let it settle.", + "Will you please answer that phone.", + "The big red apple fell to the ground.", + "The curtain rose and the show was on.", + "The young prince became heir to the throne.", + "He sent the boy on a short errand.", + "Leave now and you will arrive on time.", + "The corner store was robbed last night.", + "A gold ring will please most any girl.", + "The long journey home took a year.", + "She saw a cat in the neighbor's house.", + "A pink shell was found on the sandy beach.", + "Small children came to see him.", + "The grass and bushes were wet with dew.", + "The blind man counted his old coins.", + "A severe storm tore down the barn.", + "She called his name many times.", + "When you hear the bell, come quickly.", + NULL +}; diff --git a/resource/harvard.txt b/resource/harvard.txt new file mode 100644 index 0000000..2f756d8 --- /dev/null +++ b/resource/harvard.txt @@ -0,0 +1,792 @@ +H1 Harvard Sentences + 1. The birch canoe slid on the smooth planks. + 2. Glue the sheet to the dark blue background. + 3. It's easy to tell the depth of a well. + 4. These days a chicken leg is a rare dish. + 5. Rice is often served in round bowls. + 6. The juice of lemons makes fine punch. + 7. The box was thrown beside the parked truck. + 8. The hogs were fed chopped corn and garbage. + 9. Four hours of steady work faced us. +10. A large size in stockings is hard to sell. +H2 Harvard Sentences + 1. The boy was there when the sun rose. + 2. A rod is used to catch pink salmon. + 3. The source of the huge river is the clear spring. + 4. Kick the ball straight and follow through. + 5. Help the woman get back to her feet. + 6. A pot of tea helps to pass the evening. + 7. Smoky fires lack flame and heat. + 8. The soft cushion broke the man's fall. + 9. The salt breeze came across from the sea. +10. The girl at the booth sold fifty bonds. +H3 Harvard Sentences + 1. The small pup gnawed a hole in the sock. + 2. The fish twisted and turned on the bent hook. + 3. Press the pants and sew a button on the vest. + 4. The swan dive was far short of perfect. + 5. The beauty of the view stunned the young boy. + 6. Two blue fish swam in the tank. + 7. Her purse was full of useless trash. + 8. The colt reared and threw the tall rider. + 9. It snowed, rained, and hailed the same morning. +10. Read verse out loud for pleasure. +H4 Harvard Sentences + 1. Hoist the load to your left shoulder. + 2. Take the winding path to reach the lake. + 3. Note closely the size of the gas tank. + 4. Wipe the grease off his dirty face. + 5. Mend the coat before you go out. + 6. The wrist was badly strained and hung limp. + 7. The stray cat gave birth to kittens. + 8. The young girl gave no clear response. + 9. The meal was cooked before the bell rang. +10. What joy there is in living. +H5 Harvard Sentences + 1. A king ruled the state in the early days. + 2. The ship was torn apart on the sharp reef. + 3. Sickness kept him home the third week. + 4. The wide road shimmered in the hot sun. + 5. The lazy cow lay in the cool grass. + 6. Lift the square stone over the fence. + 7. The rope will bind the seven books at once. + 8. Hop over the fence and plunge in. + 9. The friendly gang left the drug store. +10. Mesh wire keeps chicks inside. +H6 Harvard Sentences + 1. The frosty air passed through the coat. + 2. The crooked maze failed to fool the mouse. + 3. Adding fast leads to wrong sums. + 4. The show was a flop from the very start. + 5. A saw is a tool used for making boards. + 6. The wagon moved on well oiled wheels. + 7. March the soldiers past the next hill. + 8. A cup of sugar makes sweet fudge. + 9. Place a rosebush near the porch steps. +10. Both lost their lives in the raging storm. +H7 Harvard Sentences + 1. We talked of the side show in the circus. + 2. Use a pencil to write the first draft. + 3. He ran half way to the hardware store. + 4. The clock struck to mark the third period. + 5. A small creek cut across the field. + 6. Cars and busses stalled in snow drifts. + 7. The set of china hit the floor with a crash. + 8. This is a grand season for hikes on the road. + 9. The dune rose from the edge of the water. +10. Those words were the cue for the actor to leave. +H8 Harvard Sentences + 1. A yacht slid around the point into the bay. + 2. The two met while playing on the sand. + 3. The ink stain dried on the finished page. + 4. The walled town was seized without a fight. + 5. The lease ran out in sixteen weeks. + 6. A tame squirrel makes a nice pet. + 7. The horn of the car woke the sleeping cop. + 8. The heart beat strongly and with firm strokes. + 9. The pearl was worn in a thin silver ring. +10. The fruit peel was cut in thick slices. +H9 Harvard Sentences + 1. The Navy attacked the big task force. + 2. See the cat glaring at the scared mouse. + 3. There are more than two factors here. + 4. The hat brim was wide and too droopy. + 5. The lawyer tried to lose his case. + 6. The grass curled around the fence post. + 7. Cut the pie into large parts. + 8. Men strive but seldom get rich. + 9. Always close the barn door tight. +10. He lay prone and hardly moved a limb. +H10 Harvard Sentences + 1. The slush lay deep along the street. + 2. A wisp of cloud hung in the blue air. + 3. A pound of sugar costs more than eggs. + 4. The fin was sharp and cut the clear water. + 5. The play seems dull and quite stupid. + 6. Bail the boat to stop it from sinking. + 7. The term ended in late june that year. + 8. A Tusk is used to make costly gifts. + 9. Ten pins were set in order. +10. The bill was paid every third week. +H11 Harvard Sentences + 1. Oak is strong and also gives shade. + 2. Cats and Dogs each hate the other. + 3. The pipe began to rust while new. + 4. Open the crate but don't break the glass. + 5. Add the sum to the product of these three. + 6. Thieves who rob friends deserve jail. + 7. The ripe taste of cheese improves with age. + 8. Act on these orders with great speed. + 9. The hog crawled under the high fence. +10. Move the vat over the hot fire. +H12 Harvard Sentences + 1. The bark of the pine tree was shiny and dark. + 2. Leaves turn brown and yellow in the fall. + 3. The pennant waved when the wind blew. + 4. Split the log with a quick, sharp blow. + 5. Burn peat after the logs give out. + 6. He ordered peach pie with ice cream. + 7. Weave the carpet on the right hand side. + 8. Hemp is a weed found in parts of the tropics. + 9. A lame back kept his score low. +10. We find joy in the simplest things. +H13 Harvard Sentences + 1. Type out three lists of orders. + 2. The harder he tried the less he got done. + 3. The boss ran the show with a watchful eye. + 4. The cup cracked and spilled its contents. + 5. Paste can cleanse the most dirty brass. + 6. The slang word for raw whiskey is booze. + 7. It caught its hind paw in a rusty trap. + 8. The wharf could be seen at the farther shore. + 9. Feel the heat of the weak dying flame. +10. The tiny girl took off her hat. +H14 Harvard Sentences + 1. A cramp is no small danger on a swim. + 2. He said the same phrase thirty times. + 3. Pluck the bright rose without leaves. + 4. Two plus seven is less than ten. + 5. The glow deepened in the eyes of the sweet girl. + 6. Bring your problems to the wise chief. + 7. Write a fond note to the friend you cherish. + 8. Clothes and lodging are free to new men. + 9. We frown when events take a bad turn. +10. Port is a strong wine with a smoky taste. +H15 Harvard Sentences + 1. The young kid jumped the rusty gate. + 2. Guess the result from the first scores. + 3. A salt pickle tastes fine with ham. + 4. The just claim got the right verdict. + 5. Those thistles bend in a high wind. + 6. Pure bred poodles have curls. + 7. The tree top waved in a graceful way. + 8. The spot on the blotter was made by green ink. + 9. Mud was spattered on the front of his white shirt. +10. The cigar burned a hole in the desk top. +H16 Harvard Sentences + 1. The empty flask stood on the tin tray. + 2. A speedy man can beat this track mark. + 3. He broke a new shoelace that day. + 4. The coffee stand is too high for the couch. + 5. The urge to write short stories is rare. + 6. The pencils have all been used. + 7. The pirates seized the crew of the lost ship. + 8. We tried to replace the coin but failed. + 9. She sewed the torn coat quite neatly. +10. The sofa cushion is red and of light weight. +H17 Harvard Sentences + 1. The jacket hung on the back of the wide chair. + 2. At that high level the air is pure. + 3. Drop the two when you add the figures. + 4. A filing case is now hard to buy. + 5. An abrupt start does not win the prize. + 6. Wood is best for making toys and blocks. + 7. The office paint was a dull, sad tan. + 8. He knew the skill of the great young actress. + 9. A rag will soak up spilled water. +10. A shower of dirt fell from the hot pipes. +H18 Harvard Sentences + 1. Steam hissed from the broken valve. + 2. The child almost hurt the small dog. + 3. There was a sound of dry leaves outside. + 4. The sky that morning was clear and bright blue. + 5. Torn scraps littered the stone floor. + 6. Sunday is the best part of the week. + 7. The doctor cured him with these pills. + 8. The new girl was fired today at noon. + 9. They felt gay when the ship arrived in port. +10. Add the store's account to the last cent. +H19 Harvard Sentences + 1. Acid burns holes in wool cloth. + 2. Fairy tales should be fun to write. + 3. Eight miles of woodland burned to waste. + 4. The third act was dull and tired the players. + 5. A young child should not suffer fright. + 6. Add the column and put the sum here. + 7. We admire and love a good cook. + 8. There the flood mark is ten inches. + 9. He carved a head from the round block of marble. +10. She has a smart way of wearing clothes. +H20 Harvard Sentences + 1. The fruit of a fig tree is apple shaped. + 2. Corn cobs can be used to kindle a fire. + 3. Where were they when the noise started. + 4. The paper box is full of thumb tacks. + 5. Sell your gift to a buyer at a good gain. + 6. The tongs lay beside the ice pail. + 7. The petals fall with the next puff of wind. + 8. Bring your best compass to the third class. + 9. They could laugh although they were sad. +10. Farmers came in to thresh the oat crop. +H21 Harvard Sentences + 1. The brown house was on fire to the attic. + 2. The lure is used to catch trout and flounder. + 3. Float the soap on top of the bath water. + 4. A blue crane is a tall wading bird. + 5. A fresh start will work such wonders. + 6. The club rented the rink for the fifth night. + 7. After the dance, they went straight home. + 8. The hostess taught the new maid to serve. + 9. He wrote his last novel there at the inn. +10. Even the worst will beat his low score. +H22 Harvard Sentences + 1. The cement had dried when he moved it. + 2. The loss of the second ship was hard to take. + 3. The fly made its way along the wall. + 4. Do that with a wooden stick. + 5. Live wires should be kept covered. + 6. The large house had hot water taps. + 7. It is hard to erase blue or red ink. + 8. Write at once or you may forget it. + 9. The doorknob was made of bright clean brass. +10. The wreck occurred by the bank on Main Street. +H23 Harvard Sentences + 1. A pencil with black lead writes best. + 2. Coax a young calf to drink from a bucket. + 3. Schools for ladies teach charm and grace. + 4. The lamp shone with a steady green flame. + 5. They took the axe and the saw to the forest. + 6. The ancient coin was quite dull and worn. + 7. The shaky barn fell with a loud crash. + 8. Jazz and swing fans like fast music. + 9. Rake the rubbish up and then burn it. +10. Slash the gold cloth into fine ribbons. +H24 Harvard Sentences + 1. Try to have the court decide the case. + 2. They are pushed back each time they attack. + 3. He broke his ties with groups of former friends. + 4. They floated on the raft to sun their white backs. + 5. The map had an X that meant nothing. + 6. Whitings are small fish caught in nets. + 7. Some ads serve to cheat buyers. + 8. Jerk the rope and the bell rings weakly. + 9. A waxed floor makes us lose balance. +10. Madam, this is the best brand of corn. +H25 Harvard Sentences + 1. On the islands the sea breeze is soft and mild. + 2. The play began as soon as we sat down. + 3. This will lead the world to more sound and fury. + 4. Add salt before you fry the egg. + 5. The rush for funds reached its peak Tuesday. + 6. The birch looked stark white and lonesome. + 7. The box is held by a bright red snapper. + 8. To make pure ice, you freeze water. + 9. The first worm gets snapped early. +10. Jump the fence and hurry up the bank. +H26 Harvard Sentences + 1. Yell and clap as the curtain slides back. + 2. They are men who walk the middle of the road. + 3. Both brothers wear the same size. + 4. In some form or other we need fun. + 5. The prince ordered his head chopped off. + 6. The houses are built of red clay bricks. + 7. Ducks fly north but lack a compass. + 8. Fruit flavors are used in fizz drinks. + 9. These pills do less good than others. +10. Canned pears lack full flavor. +H27 Harvard Sentences + 1. The dark pot hung in the front closet. + 2. Carry the pail to the wall and spill it there. + 3. The train brought our hero to the big town. + 4. We are sure that one war is enough. + 5. Gray paint stretched for miles around. + 6. The rude laugh filled the empty room. + 7. High seats are best for football fans. + 8. Tea served from the brown jug is tasty. + 9. A dash of pepper spoils beef stew. +10. A zestful food is the hot-cross bun. +H28 Harvard Sentences + 1. The horse trotted around the field at a brisk pace. + 2. Find the twin who stole the pearl necklace. + 3. Cut the cord that binds the box tightly. + 4. The red tape bound the smuggled food. + 5. Look in the corner to find the tan shirt. + 6. The cold drizzle will halt the bond drive. + 7. Nine men were hired to dig the ruins. + 8. The junk yard had a mouldy smell. + 9. The flint sputtered and lit a pine torch. +10. Soak the cloth and drown the sharp odor. +H29 Harvard Sentences + 1. The shelves were bare of both jam or crackers. + 2. A joy to every child is the swan boat. + 3. All sat frozen and watched the screen. + 4. A cloud of dust stung his tender eyes. + 5. To reach the end he needs much courage. + 6. Shape the clay gently into block form. + 7. A ridge on a smooth surface is a bump or flaw. + 8. Hedge apples may stain your hands green. + 9. Quench your thirst, then eat the crackers. +10. Tight curls get limp on rainy days. +H30 Harvard Sentences + 1. The mute muffled the high tones of the horn. + 2. The gold ring fits only a pierced ear. + 3. The old pan was covered with hard fudge. + 4. Watch the log float in the wide river. + 5. The node on the stalk of wheat grew daily. + 6. The heap of fallen leaves was set on fire. + 7. Write fast if you want to finish early. + 8. His shirt was clean but one button was gone. + 9. The barrel of beer was a brew of malt and hops. +10. Tin cans are absent from store shelves. +H31 Harvard Sentences + 1. Slide the box into that empty space. + 2. The plant grew large and green in the window. + 3. The beam dropped down on the workman's head. + 4. Pink clouds floated with the breeze. + 5. She danced like a swan, tall and graceful. + 6. The tube was blown and the tire flat and useless. + 7. It is late morning on the old wall clock. + 8. Let's all join as we sing the last chorus. + 9. The last switch cannot be turned off. +10. The fight will end in just six minutes. +H32 Harvard Sentences + 1. The store walls were lined with colored frocks. + 2. The peace league met to discuss their plans. + 3. The rise to fame of a person takes luck. + 4. Paper is scarce, so write with much care. + 5. The quick fox jumped on the sleeping cat. + 6. The nozzle of the fire hose was bright brass. + 7. Screw the round cap on as tight as needed. + 8. Time brings us many changes. + 9. The purple tie was ten years old. +10. Men think and plan and sometimes act. +H33 Harvard Sentences + 1. Fill the ink jar with sticky glue. + 2. He smoke a big pipe with strong contents. + 3. We need grain to keep our mules healthy. + 4. Pack the records in a neat thin case. + 5. The crunch of feet in the snow was the only sound. + 6. The copper bowl shone in the sun's rays. + 7. Boards will warp unless kept dry. + 8. The plush chair leaned against the wall. + 9. Glass will clink when struck by metal. +10. Bathe and relax in the cool green grass. +H34 Harvard Sentences + 1. Nine rows of soldiers stood in a line. + 2. The beach is dry and shallow at low tide. + 3. The idea is to sew both edges straight. + 4. The kitten chased the dog down the street. + 5. Pages bound in cloth make a book. + 6. Try to trace the fine lines of the painting. + 7. Women form less than half of the group. + 8. The zones merge in the central part of town. + 9. A gem in the rough needs work to polish. +10. Code is used when secrets are sent. +H35 Harvard Sentences + 1. Most of the news is easy for us to hear. + 2. He used the lathe to make brass objects. + 3. The vane on top of the pole revolved in the wind. + 4. Mince pie is a dish served to children. + 5. The clan gathered on each dull night. + 6. Let it burn, it gives us warmth and comfort. + 7. A castle built from sand fails to endure. + 8. A child's wit saved the day for us. + 9. Tack the strip of carpet to the worn floor. +10. Next Tuesday we must vote. +H36 Harvard Sentences + 1. Pour the stew from the pot into the plate. + 2. Each penny shone like new. + 3. The man went to the woods to gather sticks. + 4. The dirt piles were lines along the road. + 5. The logs fell and tumbled into the clear stream. + 6. Just hoist it up and take it away. + 7. A ripe plum is fit for a king's palate. + 8. Our plans right now are hazy. + 9. Brass rings are sold by these natives. +10. It takes a good trap to capture a bear. +H37 Harvard Sentences + 1. Feed the white mouse some flower seeds. + 2. The thaw came early and freed the stream. + 3. He took the lead and kept it the whole distance. + 4. The key you designed will fit the lock. + 5. Plead to the council to free the poor thief. + 6. Better hash is made of rare beef. + 7. This plank was made for walking on . + 8. The lake sparkled in the red hot sun. + 9. He crawled with care along the ledge. +10. Tend the sheep while the dog wanders. +H38 Harvard Sentences + 1. It takes a lot of help to finish these. + 2. Mark the spot with a sign painted red. + 3. Take two shares as a fair profit. + 4. The fur of cats goes by many names. + 5. North winds bring colds and fevers. + 6. He asks no person to vouch for him. + 7. Go now and come here later. + 8. A sash of gold silk will trim her dress. + 9. Soap can wash most dirt away. +10. That move means the game is over. +H39 Harvard Sentences + 1. He wrote down a long list of items. + 2. A siege will crack the strong defense. + 3. Grape juice and water mix well. + 4. Roads are paved with sticky tar. + 5. Fake stones shine but cost little. + 6. The drip of the rain made a pleasant sound. + 7. Smoke poured out of every crack. + 8. Serve the hot rum to the tired heroes. + 9. Much of the story makes good sense. +10. The sun came up to light the eastern sky. +H40 Harvard Sentences + 1. Heave the line over the port side. + 2. A lathe cuts and trims any wood. + 3. It's a dense crowd in two distinct ways. + 4. His hip struck the knee of the next player. + 5. The stale smell of old beer lingers. + 6. The desk was firm on the shaky floor. + 7. It takes heat to bring out the odor. + 8. Beef is scarcer than some lamb. + 9. Raise the sail and steer the ship northward. +10. A cone costs five cents on Mondays. +H41 Harvard Sentences. + 1. A pod is what peas always grow in. + 2. Jerk that dart from the cork target. + 3. No cement will hold hard wood. + 4. We now have a new base for shipping. + 5. A list of names is carved around the base. + 6. The sheep were led home by a dog. + 7. Three for a dime, the young peddler cried. + 8. The sense of smell is better than that of touch. + 9. No hardship seemed to make him sad. +10. Grace makes up for lack of beauty. +H42 Harvard Sentences + 1. Nudge gently but wake her now. + 2. The news struck doubt into restless minds. + 3. Once we stood beside the shore. + 4. A chink in the wall allowed a draft to blow. + 5. Fasten two pins on each side. + 6. A cold dip restores health and zest. + 7. He takes the oath of office each March. + 8. The sand drifts over the sills of the old house. + 9. The point of the steel pen was bent and twisted. +10. There is a lag between thought and act. +H43 Harvard Sentences + 1. Seed is needed to plant the spring corn. + 2. Draw the chart with heavy black lines. + 3. The boy owed his pal thirty cents. + 4. The chap slipped into the crowd and was lost. + 5. Hats are worn to tea and not to dinner. + 6. The ramp led up to the wide highway. + 7. Beat the dust from the rug onto the lawn. + 8. Say it slowly but make it ring clear. + 9. The straw nest housed five robins. +10. Screen the porch with woven straw mats. +H44 Harvard Sentences. + 1. This horse will nose his way to the finish. + 2. The dry wax protects the deep scratch. + 3. He picked up the dice for a second roll. + 4. These coins will be needed to pay his debt. + 5. The nag pulled the frail cart along. + 6. Twist the valve and release hot steam. + 7. The vamp of the shoe had a gold buckle. + 8. The smell of burned rags itches my nose. + 9. New pants lack cuffs and pockets. +10. The marsh will freeze when cold enough. +H45 Harvard Sentences. + 1. They slice the sausage thin with a knife. + 2. The bloom of the rose lasts a few days. + 3. A gray mare walked before the colt. + 4. Breakfast buns are fine with a hot drink. + 5. Bottles hold four kinds of rum. + 6. The man wore a feather in his felt hat. + 7. He wheeled the bike past the winding road. + 8. Drop the ashes on the worn old rug. + 9. The desk and both chairs were painted tan. +10. Throw out the used paper cup and plate. +H46 Harvard Sentences + 1. A clean neck means a neat collar. + 2. The couch cover and hall drapes were blue. + 3. The stems of the tall glasses cracked and broke. + 4. The wall phone rang loud and often. + 5. The clothes dried on a thin wooden rack. + 6. Turn out the lantern which gives us light. + 7. The cleat sank deeply into the soft turf. + 8. The bills were mailed promptly on the tenth of the month. + 9. To have is better than to wait and hope. +10. The price is fair for a good antique clock. +H47 Harvard Sentences + 1. The music played on while they talked. + 2. Dispense with a vest on a day like this. + 3. The bunch of grapes was pressed into wine. + 4. He sent the figs, but kept the ripe cherries. + 5. The hinge on the door creaked with old age. + 6. The screen before the fire kept in the sparks. + 7. Fly by night and you waste little time. + 8. Thick glasses helped him read the print. + 9. Birth and death marks the limits of life. +10. The chair looked strong but had no bottom. +H48 Harvard Sentences + 1. The kite flew wildly in the high wind. + 2. A fur muff is stylish once more. + 3. The tin box held priceless stones. + 4. We need an end of all such matter. + 5. The case was puzzling to the old and wise. + 6. The bright lanterns were gay on the dark lawn. + 7. We don't get much money but we have fun. + 8. The youth drove with zest, but little skill. + 9. Five years he lived with a shaggy dog. +10. A fence cuts through the corner lot. +H49 Harvard Sentences + 1. The way to save money is not to spend much. + 2. Shut the hatch before the waves push it in. + 3. The odor of spring makes young hearts jump. + 4. Crack the walnut with your sharp side teeth. + 5. He offered proof in the form of a large chart. + 6. Send the stuff in a thick paper bag. + 7. A quart of milk is water for the most part. + 8. They told wild tales to frighten him. + 9. The three story house was built of stone. +10. In the rear of the ground floor was a large passage. +H50 Harvard Sentences + 1. A man in a blue sweater sat at the desk. + 2. Oats are a food eaten by horse and man. + 3. Their eyelids droop for want of sleep. + 4. A sip of tea revives his tired friend. + 5. There are many ways to do these things. + 6. Tuck the sheet under the edge of the mat. + 7. A force equal to that would move the earth. + 8. We like to see clear weather. + 9. The work of the tailor is seen on each side. +10. Take a chance and win a china doll. +H51 Harvard Sentences + 1. Shake the dust from your shoes, stranger. + 2. She was kind to sick old people. + 3. The square wooden crate was packed to be shipped. + 4. The dusty bench stood by the stone wall. + 5. We dress to suit the weather of most days. + 6. Smile when you say nasty words. + 7. A bowl of rice is free with chicken stew. + 8. The water in this well is a source of good health. + 9. Take shelter in this tent, but keep still. +10. That guy is the writer of a few banned books. +H52 Harvard Sentences. + 1. The little tales they tell are false. + 2. The door was barred, locked, and bolted as well. + 3. Ripe pears are fit for a queen's table. + 4. A big wet stain was on the round carpet. + 5. The kite dipped and swayed, but stayed aloft. + 6. The pleasant hours fly by much too soon. + 7. The room was crowded with a wild mob. + 8. This strong arm shall shield your honor. + 9. She blushed when he gave her a white orchid. +10. The beetle droned in the hot June sun. +H53 Harvard Sentences + 1. Press the pedal with your left foot. + 2. Neat plans fail without luck. + 3. The black trunk fell from the landing. + 4. The bank pressed for payment of the debt. + 5. The theft of the pearl pin was kept secret. + 6. Shake hands with this friendly child. + 7. The vast space stretched into the far distance. + 8. A rich farm is rare in this sandy waste. + 9. His wide grin earned many friends. +10. Flax makes a fine brand of paper. +H54 Harvard Sentences + 1. Hurdle the pit with the aid of a long pole. + 2. A strong bid may scare your partner stiff. + 3. Even a just cause needs power to win. + 4. Peep under the tent and see the clowns. + 5. The leaf drifts along with a slow spin. + 6. Cheap clothes are flashy but don't last. + 7. A thing of small note can cause despair. + 8. Flood the mails with requests for this book. + 9. A thick coat of black paint covered all. +10. The pencil was cut to be sharp at both ends. +H55 Harvard Sentences + 1. Those last words were a strong statement. + 2. He wrote his name boldly at the top of the sheet. + 3. Dill pickles are sour but taste fine. + 4. Down that road is the way to the grain farmer. + 5. Either mud or dust are found at all times. + 6. The best method is to fix it in place with clips. + 7. If you mumble your speech will be lost. + 8. At night the alarm roused him from a deep sleep. + 9. Read just what the meter says. +10. Fill your pack with bright trinkets for the poor. +H56 Harvard Sentences + 1. The small red neon lamp went out. + 2. Clams are small, round, soft, and tasty. + 3. The fan whirled its round blades softly. + 4. The line where the edges join was clean. + 5. Breathe deep and smell the piny air. + 6. It matters not if he reads these words or those. + 7. A brown leather bag hung from its strap. + 8. A toad and a frog are hard to tell apart. + 9. A white silk jacket goes with any shoes. +10. A break in the dam almost caused a flood. +H57 Harvard Sentences + 1. Paint the sockets in the wall dull green. + 2. The child crawled into the dense grass. + 3. Bribes fail where honest men work. + 4. Trample the spark, else the flames will spread. + 5. The hilt of the sword was carved with fine designs. + 6. A round hole was drilled through the thin board. + 7. Footprints showed the path he took up the beach. + 8. She was waiting at my front lawn. + 9. A vent near the edge brought in fresh air. +10. Prod the old mule with a crooked stick. +H58 Harvard Sentences + 1. It is a band of steel three inches wide. + 2. The pipe ran almost the length of the ditch. + 3. It was hidden from sight by a mass of leaves and shrubs. + 4. The weight of the package was seen on the high scale. + 5. Wake and rise, and step into the green outdoors. + 6. The green light in the brown box flickered. + 7. The brass tube circled the high wall. + 8. The lobes of her ears were pierced to hold rings. + 9. Hold the hammer near the end to drive the nail. +10. Next Sunday is the twelfth of the month. +H59 Harvard Sentences + 1. Every word and phrase he speaks is true. + 2. He put his last cartridge into the gun and fired. + 3. They took their kids from the public school. + 4. Drive the screw straight into the wood. + 5. Keep the hatch tight and the watch constant. + 6. Sever the twine with a quick snip of the knife. + 7. Paper will dry out when wet. + 8. Slide the catch back and open the desk. + 9. Help the weak to preserve their strength. +10. A sullen smile gets few friends. +H60 Harvard Sentences + 1. Stop whistling and watch the boys march. + 2. Jerk the cord, and out tumbles the gold. + 3. Slide the tray across the glass top. + 4. The cloud moved in a stately way and was gone. + 5. Light maple makes for a swell room. + 6. Set the piece here and say nothing. + 7. Dull stories make her laugh. + 8. A stiff cord will do to fasten your shoe. + 9. Get the trust fund to the bank early. +10. Choose between the high road and the low. +H61 Harvard Sentences + 1. A plea for funds seems to come again. + 2. He lent his coat to the tall gaunt stranger. + 3. There is a strong chance it will happen once more. + 4. The duke left the park in a silver coach. + 5. Greet the new guests and leave quickly. + 6. When the frost has come it is time for turkey. + 7. Sweet words work better than fierce. + 8. A thin stripe runs down the middle. + 9. A six comes up more often than a ten. +10. Lush ferns grow on the lofty rocks. +H62 Harvard Sentences + 1. The ram scared the school children off. + 2. The team with the best timing looks good. + 3. The farmer swapped his horse for a brown ox. + 4. Sit on the perch and tell the others what to do. + 5. A steep trail is painful for our feet. + 6. The early phase of life moves fast. + 7. Green moss grows on the northern side. + 8. Tea in thin china has a sweet taste. + 9. Pitch the straw through the door of the stable. +10. The latch on the back gate needed a nail. +H63 Harvard Sentences + 1. The goose was brought straight from the old market. + 2. The sink is the thing in which we pile dishes. + 3. A whiff of it will cure the most stubborn cold. + 4. The facts don't always show who is right. + 5. She flaps her cape as she parades the street. + 6. The loss of the cruiser was a blow to the fleet. + 7. Loop the braid to the left and then over. + 8. Plead with the lawyer to drop the lost cause. + 9. Calves thrive on tender spring grass. +10. Post no bills on this office wall. +H64 Harvard Sentences + 1. Tear a thin sheet from the yellow pad. + 2. A cruise in warm waters in a sleek yacht is fun. + 3. A streak of color ran down the left edge. + 4. It was done before the boy could see it. + 5. Crouch before you jump or miss the mark. + 6. Pack the kits and don't forget the salt. + 7. The square peg will settle in the round hole. + 8. Fine soap saves tender skin. + 9. Poached eggs and tea must suffice. +10. Bad nerves are jangled by a door slam. +H65 Harvard Sentences + 1. Ship maps are different from those for planes. + 2. Dimes showered down from all sides. + 3. They sang the same tunes at each party. + 4. The sky in the west is tinged with orange red. + 5. The pods of peas ferment in bare fields. + 6. The horse balked and threw the tall rider. + 7. The hitch between the horse and cart broke. + 8. Pile the coal high in the shed corner. + 9. A gold vase is both rare and costly. +10. The knife was hung inside its bright sheath. +H66 Harvard Sentences + 1. The rarest spice comes from the far East. + 2. The roof should be tilted at a sharp slant. + 3. A smatter of French is worse than none. + 4. The mule trod the treadmill day and night. + 5. The aim of the contest is to raise a great fund. + 6. To send it now in large amounts is bad. + 7. There is a fine hard tang in salty air. + 8. Cod is the main business of the north shore. + 9. The slab was hewn from heavy blocks of slate. +10. Dunk the stale biscuits into strong drink. +H67 Harvard Sentences + 1. Hang tinsel from both branches. + 2. Cap the jar with a tight brass cover. + 3. The poor boy missed the boat again. + 4. Be sure to set that lamp firmly in the hole. + 5. Pick a card and slip it under the pack. + 6. A round mat will cover the dull spot. + 7. The first part of the plan needs changing. + 8. A good book informs of what we ought to know. + 9. The mail comes in three batches per day. +10. You cannot brew tea in a cold pot. +H68 Harvard Sentences + 1. Dots of light betrayed the black cat. + 2. Put the chart on the mantel and tack it down. + 3. The night shift men rate extra pay. + 4. The red paper brightened the dim stage. + 5. See the player scoot to third base. + 6. Slide the bill between the two leaves. + 7. Many hands help get the job done. + 8. We don't like to admit our small faults. + 9. No doubt about the way the wind blows. +10. Dig deep in the earth for pirate's gold. +H69 Harvard Sentences + 1. The steady drip is worse than a drenching rain. + 2. A flat pack takes less luggage space. + 3. Green ice frosted the punch bowl. + 4. A stuffed chair slipped from the moving van. + 5. The stitch will serve but needs to be shortened. + 6. A thin book fits in the side pocket. + 7. The gloss on top made it unfit to read. + 8. The hail pattered on the burnt brown grass. + 9. Seven seals were stamped on great sheets. +10. Our troops are set to strike heavy blows. +H70 Harvard Sentences + 1. The store was jammed before the sale could start. + 2. It was a bad error on the part of the new judge. + 3. One step more and the board will collapse. + 4. Take the match and strike it against your shoe. + 5. The pot boiled but the contents failed to jell. + 6. The baby puts his right foot in his mouth. + 7. The bombs left most of the town in ruins. + 8. Stop and stare at the hard working man. + 9. The streets are narrow and full of sharp turns. +10. The pup jerked the leash as he saw a feline shape. +H71 Harvard Sentences + 1. Open your book to the first page. + 2. Fish evade the net and swim off. + 3. Dip the pail once and let it settle. + 4. Will you please answer that phone. + 5. The big red apple fell to the ground. + 6. The curtain rose and the show was on. + 7. The young prince became heir to the throne. + 8. He sent the boy on a short errand. + 9. Leave now and you will arrive on time. +10. The corner store was robbed last night. +H72 Harvard Sentences + 1. A gold ring will please most any girl. + 2. The long journey home took a year. + 3. She saw a cat in the neighbor's house. + 4. A pink shell was found on the sandy beach. + 5. Small children came to see him. + 6. The grass and bushes were wet with dew. + 7. The blind man counted his old coins. + 8. A severe storm tore down the barn. + 9. She called his name many times. +10. When you hear the bell, come quickly. diff --git a/src/widget/listbox.c b/src/widget/listbox.c index 357268b..5aa61c6 100644 --- a/src/widget/listbox.c +++ b/src/widget/listbox.c @@ -225,7 +225,7 @@ void MwListBoxInsert(MwWidget handle, int index, const char* text) { } } -void MwListBoxInsertMultiple(MwWidget handle, int index, char* const* text, int count) { +void MwListBoxInsertMultiple(MwWidget handle, int index, char** text, int count) { int i; MwListBox lb = handle->internal; int old; diff --git a/tools/harvard.pl b/tools/harvard.pl new file mode 100755 index 0000000..f45a7c5 --- /dev/null +++ b/tools/harvard.pl @@ -0,0 +1,14 @@ +#!/usr/bin/env perl +# $Id$ + +open(IN, "<", "resource/harvard.txt"); +print("const char* harvard[] = {\n"); +while(my $l = ){ + $l =~ s/\r?\n$//; + if($l =~ /^[ \t]*[0-9]+\. (.+)$/){ + print(" \"" . $1 . "\",\n"); + } +} +print(" NULL\n"); +print("};\n"); +close(IN);