HOME | DD

Published: 2009-08-29 06:21:04 +0000 UTC; Views: 39466; Favourites: 66; Downloads: 5165
Redirect to original
Description
For all of you who still care and patiently await GNP2, I FINALLY have news. It will never be released. Never. Not. Ever. BUT! Before I get you all sad and angry and stuff, let me tell you something else...I am making a better program. A newer program. A faster program. And a more feature-packed program.
Codename: AVA
And she's found here: [link]
Related content
Comments: 169
Satukoro In reply to ??? [2010-02-26 02:55:08 +0000 UTC]
I love my Zune HD, and making games/apps for it would be pretty fun. Is it really that easy to program the touch support?
π: 0 β©: 1
Komrad-Toast In reply to Satukoro [2010-02-26 02:57:19 +0000 UTC]
Yeah, the way the touch works is it is an array (i'm assuming you know what that is), that contains the position and pressure and various info about the touch point. So if i wanted to know where i was touching my first finger i would say "touches[0].Position" where "touches" is what i named the array (i would also say "touches[1].Position" to get the second finger and so on so forth).
π: 0 β©: 1
Satukoro In reply to Komrad-Toast [2010-02-26 03:02:09 +0000 UTC]
Wow, that's a lot easier than I anticipated. I never would have thought to use an array for touch support. I've used arrays in php, but haven't really gotten to use them for any real purpose.
π: 0 β©: 1
Komrad-Toast In reply to Satukoro [2010-02-26 03:05:02 +0000 UTC]
I use arrays SOOOOO much more than i thought i would, they are amazingly useful after you think of what could be done with them. I used arrays when i created a particle system in XNA (that was one awesome project! i even managed to get it to run on the Zune HD). In fact, i just used arrays in a program i made while i was talking to you - Here . That took about 5 minutes, but i needed it badly (i actually got the idea when i was looking through your gallery and saw your minimalistic image viewer, haha)
π: 0 β©: 1
Satukoro In reply to Komrad-Toast [2010-02-26 03:13:39 +0000 UTC]
The image viewer is a fine example of how new I am to application programming. I was trying to make it snap to the image when an image was loaded, but I couldn't figure out how, so I ended up just having it scale the image. I'll probably end up re-doing the program in C# because I wanted to have the background be solid aero glass, but VB isn't exactly friendly to that kind of stuff as far as I know. Well, as long as it could be a source of inspiration for someone, I'm happy.
Also, what was the particle system you mentioned?
π: 0 β©: 1
Komrad-Toast In reply to Satukoro [2010-02-26 03:17:31 +0000 UTC]
Yeah, i don't know how to make it snap to the image either (exactly the same reason why i went with the scaling too). But the Particle system was a basic program (using lotsa arrays) where a position, velocity, lifetime, and other things that could be used to describe a particle were stored, and when i ran the program i would have lots of multi-colored dots shoot out of my mouse cursor, it was pretty neat, i think i got a few thousand particles on the Zune HD before it lagged (but i prolly wasn't using that efficient of a method)
π: 0 β©: 1
Satukoro In reply to Komrad-Toast [2010-02-26 03:20:08 +0000 UTC]
Oh, that's pretty cool. Have you been able to get it so that the Zune doesn't have to restart every time you try and go the home menu from a homemade application?
Also, couldn't you just take width and height of the image the same way you can take the filename from it to display in the titlebar?
π: 0 β©: 1
Komrad-Toast In reply to Satukoro [2010-02-26 03:22:25 +0000 UTC]
No, unfortunately Microsoft needs to sign apps in order for it not to restart, there is no way around that (until the app store gets revamped in the spring i'd assume)
And yeah, i guess i could, then i could probably just add the area of the bar up top and resize the form, i'll try that now, should only be a few lines of code.
π: 0 β©: 1
Satukoro In reply to Komrad-Toast [2010-02-26 03:27:53 +0000 UTC]
I can only hope that Microsoft revamps the app store for user-made app support and kind of a community app upload section; it would make the app experience far better.
Couldn't you just have the picturebox resize itself and have the window width = picturebox and window height = picturebox + barheight?
π: 0 β©: 1
Komrad-Toast In reply to Satukoro [2010-02-26 03:29:30 +0000 UTC]
Yeah, i agree with you there, and hey, the Windows Phone 7 came out (looks oddly like the Zune HD...).
And i just tried exactly what you said, but for larger images the window is too large for the screen, and i have no idea how to fix that, so i just took it out. It's only a converter, so i shouldn't need to see it actual size
π: 0 β©: 1
Satukoro In reply to Komrad-Toast [2010-02-26 03:37:40 +0000 UTC]
The Windows Phone 7 looks a lot like the Zune HD, but with two extra buttons I think. Also, the interface is more like the left half of the home menu on the HD rather than being balanced out.
So, the snap-to thing worked? Care to share the code for that?
π: 0 β©: 1
Komrad-Toast In reply to Satukoro [2010-02-26 03:43:09 +0000 UTC]
Yeah, the snap worked, but it does make the window a little large for bigger pics either way, here's the code i used:
====================================================
Uptop i declared the variable:
"Size imageSize = new Size(0, 0);"
====================================================
then in the method where i lod the image i did this:
"imageSize = pictureBox1.Image.Size;"
"this.Size = new Size(imageSize.Width, imageSize.Height + 46);"
the "+46" was for the bar up top, but by the looks of it you don't need it.
And since you used VB i think you need to replace anything that says "this.whatever" with "me.whatever". "pictureBox1 is also the name of the pictureBox i have on the form.
π: 0 β©: 1
Satukoro In reply to Komrad-Toast [2010-02-26 03:58:32 +0000 UTC]
It didn't exactly work in VB, it was expecting a declaration or something. But I'm going to remake the program in C# for the aero background effect anyway, so I'll probably be able to use this code to make it work. Thanks.
π: 0 β©: 1
Komrad-Toast In reply to Satukoro [2010-02-26 04:04:14 +0000 UTC]
Yeah, by the way, while you worked on that i was able to get the program to check if the image was larger than the screen, and if it was it would just maximize itself, but if the image were smaller then your screen resolution it would snap to the picture size. The source for that is this (it will replace the source i showed you earlier:
====================================
Declare the imageSize variable:
Size imageSize = new Size(0, 0);
====================================
In the method where i load my image:
imageSize = pictureBox1.Image.Size;
if (imageSize.Width > Screen.PrimaryScreen.Bounds.Width || imageSize.Height > Screen.PrimaryScreen.Bounds.Height)
{
this.WindowState = FormWindowState.Maximized;
}
else
{
this.Size = new Size(imageSize.Width, imageSize.Height + 46);
}
==================================================================
I hope you can re-work this code into the Image Viewer whn you mmake it in C#!
π: 0 β©: 2
Satukoro In reply to Komrad-Toast [2010-02-26 04:30:39 +0000 UTC]
Oh, nevermind, I got it to work, I had to set the form so that it would resize to fit it's contents; grow and shrink.
π: 0 β©: 1
Satukoro In reply to Komrad-Toast [2010-02-26 04:48:28 +0000 UTC]
Although, I just found that there is an issue with the maximization when an image larger than your screen is applied. It doesn't maximize and the image doesn't stretch to fit. I was thinking if I could set it so that if it was maximized (if I could get it to), it would set the picturebox1.sizemode to zoom.
π: 0 β©: 1
Komrad-Toast In reply to Satukoro [2010-02-26 17:33:10 +0000 UTC]
I actually just made an image viewer last night to test all these comments. I got it to work wonderfully, when maximized, the sizemode is set to zoom, and when not maximized the form auto-centers itself on screen, and sets the sizemode to normal
π: 0 β©: 1
Satukoro In reply to Komrad-Toast [2010-02-27 01:43:10 +0000 UTC]
Uhuh. I don't think I'm putting the code snippets in the right place. I still need to get used to this.
π: 0 β©: 1
Komrad-Toast In reply to Satukoro [2010-02-27 03:55:43 +0000 UTC]
hahha, yeahh, it takes a while
π: 0 β©: 0
Satukoro In reply to Komrad-Toast [2010-02-26 04:24:45 +0000 UTC]
I've had a couple problems with it. The code seems alright, there are no syntax errors, its just that when I load an image, it doesn't change the window size.
π: 0 β©: 0
SlyAceZeta [2010-02-18 06:23:19 +0000 UTC]
I'm a huge fan of the v1.2, so when I saw a link to v2 in the description, I was like "YES!" then I realized it's not out yet. D: I joined DA just to be able to comment here. A couple of things that would probably be good to have in v2:
Spell Checker - You got that. xD*
CTRL+F Finding Words/Phrases
CTRL+S Auto Saving
File > Save*
Default program for .TXT files*
*These are a must. Sorry to hear you lost the source code, and hope everything's going okay. Good luck!
π: 0 β©: 1
Komrad-Toast In reply to SlyAceZeta [2010-02-21 23:57:47 +0000 UTC]
Actually, i finally learned how to do hotkeys like CTRL+F (they are alot easier than i thought), and i should be able to set it as the default *.txt file viewer/editor. I'm glad you like GNP enough to join deviantArt for it!
π: 0 β©: 0
hardstyle-dragon26 In reply to ??? [2010-02-07 11:57:12 +0000 UTC]
IΒ΄ve testet the version 1.2 and IΒ΄ve noticed that i canΒ΄t open an existing .txt document witch the glass notpad so its not favourable to replace them witch the original notepad.
Is that possible in version 2.0?
π: 0 β©: 1
Komrad-Toast In reply to hardstyle-dragon26 [2010-02-08 03:19:12 +0000 UTC]
Unfortunately i lost all the source files to 2.0 a few months back. I am currently re-working it, but it may be a while until release. I have school to pay attention to, and numerous other things. Plus, i want this release to be nearly perfect
π: 0 β©: 2
CoderCow In reply to Komrad-Toast [2010-02-28 21:11:56 +0000 UTC]
If you (or a friend?) got an exe of your application you could reflect most of the XAML and code from it (if you didn't do so already), would save you a lot of rewriting-work
π: 0 β©: 1
Komrad-Toast In reply to CoderCow [2010-03-01 02:27:26 +0000 UTC]
Unfortunately the only .exe was in the Debug folder with all the sources. So it's gone, not that it matters now, i am up to the point i was before with GNP2
π: 0 β©: 0
hardstyle-dragon26 In reply to Komrad-Toast [2010-02-08 10:36:45 +0000 UTC]
okay ^^
I thnik the v2.0 would be great ^^
π: 0 β©: 1
PacMani In reply to ??? [2010-02-02 09:18:48 +0000 UTC]
Oh finally someone found out how to draw text correctly on glass...
π: 0 β©: 1
Komrad-Toast In reply to PacMani [2010-02-02 11:16:20 +0000 UTC]
Haha, well, technically you still can't have black text. But v2 does allow any color text (it's WPF, and still being developed)
π: 0 β©: 0
wallybescotty In reply to ??? [2010-02-02 05:11:00 +0000 UTC]
how does this work, does it replace notepad, or is another one that i install?
π: 0 β©: 1
Komrad-Toast In reply to wallybescotty [2010-02-02 11:16:55 +0000 UTC]
Well, for right now this is only a preview
π: 0 β©: 1
wallybescotty In reply to Komrad-Toast [2010-02-03 00:10:02 +0000 UTC]
i tried ur glass notepad i like it its pretty good, i put the shortcut in my start menu, instead of the original
π: 0 β©: 1
Komrad-Toast In reply to wallybescotty [2010-02-03 03:58:28 +0000 UTC]
Thanks, it needs some tweaks, but hey, that's what v2 is for!
π: 0 β©: 1
wallybescotty In reply to Komrad-Toast [2010-02-03 04:22:19 +0000 UTC]
yeah, keep up the good work
π: 0 β©: 1
Komrad-Toast In reply to wallybescotty [2010-02-03 22:26:47 +0000 UTC]
I'll be sure too!
π: 0 β©: 0
gersma [2010-02-01 21:11:23 +0000 UTC]
This looks very cool, when do you plan to release?
π: 0 β©: 1
Komrad-Toast In reply to gersma [2010-02-01 21:15:17 +0000 UTC]
Well, i lost the source files a while ago in a massive computer backup. So - i had to restart the whole project, it's going slower than it would have a few months back, but i am taking it slower, as to avoid programming errors and really flesh this release out.
π: 0 β©: 1
gersma In reply to Komrad-Toast [2010-02-01 21:33:40 +0000 UTC]
ok i'll be waiting for it !! thank you in advance !!
π: 0 β©: 1
Komrad-Toast In reply to gersma [2010-02-01 21:46:40 +0000 UTC]
You're welcome! I'm glad people are interested in this.
π: 0 β©: 0
Royce-Barber In reply to ??? [2010-01-11 22:40:14 +0000 UTC]
This is sooo cool. As a writer who never aced a spelling class, I get creativity from the glass effect, as well as simultaneous spelling perfection! Insta-favorite! Thank you! <3!
Now only if Firefox would get off it's lazy as...tushie and introduce a well-working glass effect! For whatever reason, all the glass plugins I've seen for firefox were all just horrible.
π: 0 β©: 0
citybreakers [2009-12-05 18:06:54 +0000 UTC]
dude i need the source code thanks dude very awesome app
π: 0 β©: 1
Komrad-Toast In reply to citybreakers [2009-12-05 18:36:46 +0000 UTC]
This is only a preview right now, not an open source app.
π: 0 β©: 0
juanelargosilva In reply to ??? [2009-10-27 21:10:56 +0000 UTC]
Esta es una nueva version del glass notepad, podras mandarme un tuto para que me quede asi.-
π: 0 β©: 0
crion1 In reply to ??? [2009-10-25 04:16:16 +0000 UTC]
The glass effect gives me wood. If you really want to make my day, make version 3.0 work with Notepad++, a programmer's notepad: [link]
It's open source, so I doubt it'd be too hard to work with. You could do it with vim or something too, but nowhere near as many people use it.
π: 0 β©: 1
Komrad-Toast In reply to crion1 [2009-10-25 19:53:00 +0000 UTC]
Yeah, i wish i could do this with Notepad++ But i believe that's programmed in C++, not C#, which i use. And i have no idea how to achieve that in C++. I could give it a shot though. And thanks for the comment
π: 0 β©: 0
Jlstepper In reply to ??? [2009-10-16 17:13:01 +0000 UTC]
Whoooaa looks awesome, I'm going to use this
π: 0 β©: 0
imani9009 In reply to ??? [2009-09-26 14:10:11 +0000 UTC]
the download is not working. the first version did not open txt files when associated with the txt files.
π: 0 β©: 1
Komrad-Toast In reply to imani9009 [2009-09-26 18:59:17 +0000 UTC]
Do you mean the download for 2.0 is not working? 2.0 is not released yet, this is just a preview, only a picture. And as for 1.0 not opening text files when associated with it, i do not know how to fix that
π: 0 β©: 0
<= Prev | | Next =>