a cartoon character with a hat and a dog