55.1 F
Los Angeles
Tuesday, April 16, 2024

Trump Lawyer Resigns One Day Before Trial To Begin

Joseph Tacopina has filed with the courts that he will not represent Donald J. Trump. The E. Jean Carroll civil case is schedule to begin Tuesday January 16,...

Judge Lewis A. Kaplan Issues Order RE Postponement

On May 9, 2023, a jury found Donald J. Trump liable for sexual assault and defamation. The jury awarded Ms. Carroll $5 million in damages. Seven months ago,...

ASUS Announces 2023 Vivobook Classic Series

On April 7, 2023, ASUS introduced five new models in the 2023 Vivobook Classic series of laptops. The top laptops in the series use the 13th Gen Intel® Core™...
StaffIncremental BloggerMy first ink from a desktop Twitter client

My first ink from a desktop Twitter client

Following up on my tweaks to the Witty Twitter client yesterday, I went ahead and put the first stabs at ink into the client app. Here’s my first successful ink post via Witty:

twittyink1.png

What mods to Witty did I do to enable this? First, I added an InkCanvas to the UpdatePanel (the area where you write a tweet in Witty) like this:

twittyinkpanel.png

Now if any ink exists in the InkCanvas, the ink is rendered to a png stream which is then uploaded to Flickr using the FlickrNet library and then a tweet message is contructed to point to this Flickr image.

After a couple quick experiments I realized that the UpdatePanel needs to be contained in a splitter window more like Messenger does so you can size the drawing area as large as you need it. Currently, the UpdatePanel size is fixed because that’s the way Witty was written. This was a reasonable assumption when all you could do was post 140 characters. With ink though, this limit is too, well, uh, limiting.

What’s next? Make the InkCanvas real. Not only do I need to move the writing/drawing surface to a splitter window, it also needs pen colors and an eraser.

Inch by inch.

Loren
Lorenhttp://www.lorenheiny.com
Loren Heiny (1961 - 2010) was a software developer and author of several computer language textbooks. He graduated from Arizona State University in computer science. His first love was robotics.

Latest news

Related news

2 COMMENTS

2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
trackback

[…] I experimented a bit more with adding site preview thumbnails to the open-source Twitter client, Witty. […]

trackback

[…] whether it’s really worth it to try to add features to a twitter client (web page thumbnails, ink, and so on). After all, isn’t the current action over on […]