Email or username:

Password:

Forgot your password?
Top-level
Devil Lu Linvega

It's strange how the traps for the cursor are not really aligned to the grid and the caret changes to a mouse before the menubar begins.

64 comments
Devil Lu Linvega

First time doing mouse-picking that isn't using rectangular regions 🐁

Devil Lu Linvega

@cancel wait, should I have used bitmasks for this? I'm just doing if x and y are more than half the height/width of the selection, then pick the other.

cancel

@neauoire Nah that's fine. If it gets more fancy, you might consider it, though. Since it lets you adjust the graphics and hit zones really precisely without having to write custom logic each time. And the size of a small bitmask is often smaller than the bytes of code needed to do a custom hit test.

the bouncing paw 🎃

@neauoire loving how it's shaping up. Makes a good friend to Decker, a modern reimagination of Hypercard, which looks very similar! I want to see more Macintosh software reimagined like that. I wonder what is the next good candidate.

the bouncing paw 🎃

@neauoire hmm, it uses the multi-window paradigm. One would either implement a window manager in the port, or... embed it in Potato 😳

Devil Lu Linvega

@bouncepaw I'd implement it with its own window handling, I've done some of that in potato and noodle, it's not too much trouble.

David JONES

@neauoire i find your ideas intriguing and would like to subscribe to your newsletter.

Devil Lu Linvega

Found some screenshots where people have the NewYork12 font in their Note Pad application instead. I'm not sure why that's different from the one I have, but I much prefer NewYork12 to mine.

[DATA EXPUNGED]
Devil Lu Linvega

Time to get serious, rendering proportional text wrapping.

Devil Lu Linvega

You're given 8 pages, EIGHT, what are you going to do with all that power.

Devil Lu Linvega

Mimicking the system 7 windowing behavior for close.

Devil Lu Linvega

@mcc what does cmd-drag does? It doesn't seem to do anything for me.

mcc replied to Devil Lu Linvega

@neauoire in every Mac OS 6 (or before?) to current, if you hold command (Apple) and drag a window which is *backgrounded*, the window will move without being foregrounded.

Other hidden operations which are related but not relevant to Notepad: Holding option and clicking close closes all windows in the current application; holding cmd and clicking the title bar title shows the path the file is at (if the window represent a file).

Devil Lu Linvega replied to mcc

@mcc I'm not planning on implementing operating system and windowing behaviours, I'll end at the Note Pad application I think ^^;

Devil Lu Linvega

Added text input, and cursor blinking. The timing seems to be pretty close.

Rasmus Andersson

@neauoire lovely!
I think you’ll want to reset the blink timer on user input (and when cursor moves for any reason) so that it is always visible when “syncing your brain to the screen”

Devil Lu Linvega replied to Rasmus

@rsms I did after I recorded the last clip, but I noticed that the macintosh doesn't do it, the cursor keeps showing up briefly while I type at intervals.

cancel replied to Devil Lu Linvega

@neauoire @rsms it does in some software. also, this might be one of the things that sometimes goes wrong in Mini vMac, but I could be misremembering.

floatvoid replied to Devil Lu Linvega

@neauoire @rsms cool exercise in observation skills. trying to recreate something as it actually is and not as you think it should be.

Devil Lu Linvega replied to Rasmus

@rsms Do you remember if there was a way of collapsing the note pad application like this in system 7?

cancel replied to Devil Lu Linvega

@neauoire @rsms install WindowShade extension. Everyone used it. It was so popular Apple put it into the OS later.

Capital

@neauoire Curious about your approach to text wrapping here. How whitespace gets handled (on modern systems) was hell in a hand basket.

Devil Lu Linvega

Proportional text selection always trips me up, I feel like each time I have to relearn how to handle mouse-picking..

Devil Lu Linvega replied to Devil Lu Linvega

Added keyboard controls, along with modifiers like shift+arrows to modify the selection length.

Devil Lu Linvega replied to Devil Lu Linvega

Starting to handle the less-fun stuff like string insertion and shifting memory around.

Devil Lu Linvega replied to Devil Lu Linvega

Back to fun things now that the textarea is pretty much done. Added copy/pasting, theme supports, and made the window collapsible.

Devil Lu Linvega replied to Devil Lu Linvega

Routing text editing to the right memory slot, there will be 8 pages of memory like the original.

R. L. Dane :debian: :openbsd: replied to Devil Lu Linvega

@neauoire

There should be a keybinding in i3 to remove the window border.
I think it's $mod-u by default

abortretryfail

@neauoire
Suzume! I just saw that in the theater. 😁

Go Up