Giter Club home page Giter Club logo

ruler's Introduction

ruler

Simple on-screen pixel ruler.

download page

Releases

https://github.com/andrijac/ruler/releases

Legacy

Ruler is fork of small utility application originally developed by Jeff Key:

Support for .NET 2.0 is kept. ๐Ÿ‘

Added features in this fork.

Contributions

If you want to contribute to project, please follow the rules:

  1. Zero-Warning policy. There should be no C# compiler warnings in PR. ๐Ÿ™
  2. Use StyleCop Visual Studio Extension (by Chris Dahlberg) to check for StyleCop warnings https://marketplace.visualstudio.com/items?itemName=ChrisDahlberg.StyleCop. Zero-warning policy extends to StyleCop warnings. ๐Ÿ‘ฎ Custom StyleCop rules file is part of repository and it should be picked up by StyleCop in Visual Studio once you run it.
  3. Keep in mind that Ruler should be simple tool. It should be disposable, easy to run, easy to close, easy to run in multiple instances. For now, I still refuse to add any kind of additional dependency to project like persistent storage for Ruler settings (which are still, at the moment, few), having a Ruler icon in system tray etc. for sake of keeping Ruler simple. Since Ruler can run multiple instances, features mentioned would add unnecessary complexity to project. ๐Ÿ’ฌ
  4. Use Visual Studio 2017 with latest updates. โ˜•

Ruler shortcuts:

  • Space and Double click: will toggle direction of Ruler
  • Arrow keys: move Ruler (+ Shift for small step)
  • Ctrl + Arrow keys: resize Ruler (+ Shift for small step)

Command line parameters (optional):

In current implementation, you can either not use parameters (just start app) or use all parameters (you cannot used parameters selectively). Parameters are intended to be used internally to duplicate Ruler by passing configuration to new instance, but you can use them to save prefered Ruler configuration too The way parameters are passed to program and parsed might change in future.

ruler.exe [Width:int] [Height:int] [IsVertical:bool] [Opacity:double] [ShowToolTip:bool] [IsLocked:bool] [TopMost:bool]

Example: ruler.exe 100 50 false 0.6 true false true

Gifs are made using LICEcap http://www.cockos.com/licecap/

ruler's People

Contributors

andrijac avatar alexis-m avatar isaacmorris1980 avatar ben-burlingham avatar kahadev avatar flmbray avatar leglock avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.