Got a ruler?

Arantor

Well-known member
Staff member
Joined
24 May 2022
Messages
726 (3.72/day)
So here's a fun little thing... I've been doing web stuff for a lot of years but before I did web stuff, I did desktop stuff back in like 2000. I originally did Visual Basic for my A-Level Computing Course, and just carried on with it for a bit, did a bunch of random fun things.

One of the things I did back in the day was a screen ruler. And now here I am experimenting with remaking it from scratch in PureBasic because I wanted to try a small scale GUI app.

So here I am.

1668636290202.png

You can drag it around, you can rotate it horizontally and vertically, you can make it partially transparent to see through to the windows below, you can move it precisely with the keyboard, you can also make it longer with keyboard shortcuts. Just need to make it so you can drag the ruler out longer from the edges and I'm about done with it. Just a few evenings work, and maybe I might style up the quit button. Maybe add buttons for the rotation stuff too.

It's been a fun little project dipping back into desktop apps.
 

Tiffany

Pixel Princess
Staff member
Joined
13 Apr 2022
Messages
858 (3.64/day)
Love your ruler; amazing work! I've only been able to conquer graphic work. Someday, I wouldn't mind learing animated graphics. Your ruler is just that....code, graphic and animated. Very cooll!
 

Retro

Founder
Staff member
Joined
4 Jun 2021
Messages
2,072 (3.77/day)
Sounds like a useful app, especially due to its simplicity. Will you be releasing it for everyone to use, or just have it for yourself?

If you release it, you can make it a resource on here, perhaps.
 

Arantor

Well-known member
Staff member
Joined
24 May 2022
Messages
726 (3.72/day)
I probably will release it for free once it’s done, there’s a few minor features to go, then I need to test out what happens on split monitors and high DPI yet but we’ll see. It will be Windows only for now, and I think I need a better name than “Ruler”…
 

Retro

Founder
Staff member
Joined
4 Jun 2021
Messages
2,072 (3.77/day)
That will be cool and I'll be happy to beta test it for you.

Ruler is actually very good name for it. Sometimes, the simplest and most obvious are the best. For example, Snipping Tool in Windows. Does exactly what it says.
 

Tiffany

Pixel Princess
Staff member
Joined
13 Apr 2022
Messages
858 (3.64/day)
I'd use the "ruler". It would be excellent for graphic work. I've literally held a physcal ruler up to my screen when doing general measurements. :)
 

Arantor

Well-known member
Staff member
Joined
24 May 2022
Messages
726 (3.72/day)
Been thinking about the name. Names are important.

A couple of years ago I started work on a game called Undaunted, and I ended up with a partial skeleton pixel art app called Unpainted and a mapping tool called Uncharted. I'm now thinking about picking some of those up and revamping them - and perhaps adding this to the tool chest, under the name Unmeasured.
 

Crims

Well-known member
Joined
5 Aug 2022
Messages
297 (2.43/day)
Been thinking about the name. Names are important.

A couple of years ago I started work on a game called Undaunted, and I ended up with a partial skeleton pixel art app called Unpainted and a mapping tool called Uncharted. I'm now thinking about picking some of those up and revamping them - and perhaps adding this to the tool chest, under the name Unmeasured.
I've not made enough progress on my game to log it, though I'm working on a Source 2 game which I planned a long while ago with online friends. I'm at a similar stage.
 

Retro

Founder
Staff member
Joined
4 Jun 2021
Messages
2,072 (3.77/day)
Nice, I like it. You could also have a second colour scheme in the official NerdZone blue and yellow colour scheme. 😁
 

Arantor

Well-known member
Staff member
Joined
24 May 2022
Messages
726 (3.72/day)
Technically that would be the fourth colour scheme it has ;)

I haven't settled on greens, blues or purples yet or whether I end up having light/dark versions of all of the above.

The fun will be when I start to deal with 'remembering what the user picked last time'...
 

Retro

Founder
Staff member
Joined
4 Jun 2021
Messages
2,072 (3.77/day)
I've just had a thought: the colour scheme I suggested could be called NerdZone Blue and comprise of a blue ruler with black measurement markings (or other suitably contrasting colour) and the yellow NerdZone logo on the left. I think that would look really cool and you could release it as a resource on the forum, either free or paid.

Waddya think?
 

Tiffany

Pixel Princess
Staff member
Joined
13 Apr 2022
Messages
858 (3.64/day)
Emerald colors; blues, purples, pinks/magenta and rich greens :)

Can't wait to see your color schemes!
 

Uncrowned

Member
Joined
28 Nov 2022
Messages
8 (1.33/day)
I actually really like this. Trying to size things the same between programs can be a nightmare and this seems to make that a wee bit simple.
 

Mars

Moderator
Staff member
Joined
10 Jul 2021
Messages
123 (0.24/day)
That will be cool and I'll be happy to beta test it for you.

Ruler is actually very good name for it. Sometimes, the simplest and most obvious are the best. For example, Snipping Tool in Windows. Does exactly what it says.
I agree.
I also think 'Ruler' is the perfect name: it is simple and direct. It says exactly what it is, you need nothing else.
Just grab the ruler and do your measurements. 'Ruler' rules ok!
 
Top Bottom