GithubHelp home page GithubHelp logo

pascalpp / freeruler Goto Github PK

View Code? Open in Web Editor NEW
302.0 302.0 24.0 27.12 MB

A ruler application for Mac OS X

Home Page: https://www.pascal.com/freeruler

License: MIT License

Swift 96.91% HTML 2.11% CSS 0.98%

freeruler's People

Contributors

carlfriess avatar j-rg avatar jeff-h avatar lanurmi avatar pascalpp avatar pluwen avatar rudifa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freeruler's Issues

Ticks joined on non-retina

On a non-retina display, the ticks which are drawn at every second pixel are actually joined. I am unsure why, but wondering if instead of pixels 2, 4, 6 etc they should be draw at 2.5, 4.5, 6.5 etc

10.12 compatibility?

First off, thanks for this! I was just wondering what would become of this app when my laptop gets upgraded to 10.15, and you're already here (before a few paid apps I'm waiting on even).

Second, should this be able to run on 10.12? I know I can use the old version, but was just curious if the compatibility was a "new at cocoa" issue or if the ruler is using some fancy features that aren't in 10.12.

credits

Update about window with credits, paypal link?

Ruler value not visible

Ruler_value_not_visible

Hi,

This is my problem: ruler value not visible. Can you help me?

Thanks!
Krisztian

I have an LG 38" UltraWide display with Mac Mini 2018.
System: macOS Catalina 10.15.5 (19F101)
Ruler app version: 2.0.2 (222) (App Store)

add vertical window

create a new RulerVerticalWindow: NSWindowController class and corresponding XIB, set all that up, and add to the AppDelegate.

Updated version not showing in App Store updates tab

I pushed out a new release last night and after several hours in review it's now available in the App Store:

image

But it's not showing up in the updates tab:
image

Is there something special I need to do in order to enable auto-updates from the app store?

inconsistent cursor behavior

expected:

  • when the mouse is over a ruler, should show the hand cursor.
  • when the mouse is outside a ruler, should show the crosshair cursor.

actual:

  • the cursors behave correctly when you first start the app, but they quickly get confused, sometimes showing the arrow cursor instead of the hand when over a ruler, sometimes showing the hand cursor when outside a ruler.

Implement grouping as per v1.7.

Assuming you're thinking of just two rulers at this stage, in a nutshell I think it will involve:

  • a boolean on the AppDelegate
  • capturing the window movement from each window controller's NSWindowDelegate extension, and passing it back up to the AppDelegate. Something roughly like:
    extension RulerHorizontalWindow: NSWindowDelegate {
    
        ...
    
        func windowDidMove(_ notification: Notification) {
            let appDelegate = NSApplication.shared.delegate as? AppDelegate
            appDelegate?.windowDidMove(notification)
        }
    }
  • having the AppDelegate "choreograph" the synchronisation of the two windows' positions, by implementing its own homegrown version of windowDidMove, as called by the two windows as per above .

You'd likely need to:

  • get the window out of the notification (guard let window = notification.object as? NSWindow or similar)
  • somehow identify which window triggered the window move (a switch or something checking for window.windowController as? RulerHorizontalWindow perhaps?)
  • then adjust the other window's frame

Please let me know which parts of the above make no sense whatsoever! :)

Is FreeRuler 2.0 coming any time soon?

Now that MacOS Catalina is upon us, the old 32-bit 1.7b5 app does not work any more.
In the meantime, I made a local build for myself.
Could I help in any way to speed up the release 2.0?

Crosshairs

Hi, and thank you for releasing this great tool!

I'd like to request a future enhancement - would you consider adding a Crosshair function to this? Something that can be toggled on/off and would just be a fullscreen crosshair centered on the mouse cursor position, e.g:

image

This could be very useful and a good complement to this tool I think.

Features

Hi Pascal,

Just add all the features that were in previous versions- like those found in Version 1.7b5.

Cheers,

Steve

Preferences window

After implementing UserDefaults #16

  • ruler color
  • active transparency
  • inactive transparency
  • float above other windows

Does not have the conversion settings

Hello,

I have been using the ruler for quite a while and enjoy using it. I am wondering the new version of the ruler will be available in inches instead of pixels and if it will have a conversion settings available like it did in the previous versions. It sucks that with the new Mac Catalina update, it doesn't allow for the old version to work. This ruler rocks!

Suggestions for desirable options

I really appreciate the simple, basic way that FreeRuler meets an occasional need. I'm wondering if there is any way that the option could be added to rotate the ruler, so that, for example, measurements of objects that are at an angle in a photo could be made. Simply choosing a degree of rotation would be great; having live rotation would be even better. Thank you for providing this great tool, and for reading my suggestions!

Regards,

Dave B.

Ability to scale the ruler

Hi, the specific feature your previous version that was invaluable was the ability to scale the ruler. It allowed me to scale to a pdf set of plans and measure areas of a drawing. Please add this back. Thank you

when 'snapping' windows together, they don't quite meet

there is native window-snapping in Mac OS X; unfortunately when trying to snap rulers together they don't quite meet up. the system leaves a 2px gap.

image

might have to implement some sort of custom snapping logic to fix this.

Awesome!

Super cool that you're re-doing this in Swift. I've used your REALbasic version for so many years I can't even remember :)

Let me know if you have any particular questions about reimplementing this in Cocoa and Swift. I'd love to try to help.

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.