Author Topic: [Lua] Image Editor  (Read 45087 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Lua] Image Editor
« Reply #90 on: April 12, 2012, 09:36:47 pm »
The graphical libs are
Global Library/screen.lua and
Global Library/widgets.lua.

Right now I do not have so many widgets, but it is easy to add more. The part I am mainly focusing on is the structure.
Take a look at http://tiplanet.org/forum/archives_voir.php?id=4177, you can see how a very basic program works. (If you ignore the library code)

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Image Editor
« Reply #91 on: April 13, 2012, 02:35:41 pm »
Oh, I see.
Your way seems now really better than mine, good job :)

My GUI only allow to use widgets in a window, while with your one, you can put buttons or list wherever you want to.
« Last Edit: April 13, 2012, 02:38:39 pm by Chockosta »

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Lua] Image Editor
« Reply #92 on: April 13, 2012, 03:33:34 pm »
Thanks :)

A nice thing too is that I have special widgets that can acts like a screenmanager, they can include other widgets.
This way you can create simple widgets and combine them to create advanced widgets.

Offline Alex

  • LV2 Member (Next: 40)
  • **
  • Posts: 32
  • Rating: +3/-0
    • View Profile
Re: [Lua] Image Editor
« Reply #93 on: April 13, 2012, 08:39:38 pm »
Nice work Chockosta.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Lua] Image Editor
« Reply #94 on: April 17, 2012, 09:15:11 pm »
Nice to see this updated Chockosta, but you should use a less crappy host than imgserv, because it's down often. :P

Offline AzNg0d1030

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 522
  • Rating: +45/-4
  • Hardcore anime watcher.
    • View Profile
Re: [Lua] Image Editor
« Reply #95 on: June 05, 2012, 08:11:54 pm »
Tribute to Chockosta and nSpaint 0.7:
You just lost the game.



Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Lua] Image Editor
« Reply #96 on: June 05, 2012, 11:10:43 pm »
wOw, that's nice :) it looks really good, impressive รถ
« Last Edit: June 05, 2012, 11:10:51 pm by Nick »

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Image Editor
« Reply #97 on: June 06, 2012, 07:28:53 am »
Great work, this is awesome !

Offline h4v0k3i

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Re: [Lua] Image Editor
« Reply #98 on: March 11, 2013, 10:13:30 pm »
Is there a way I can view pictures that I add to my calculator?

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: [Lua] Image Editor
« Reply #99 on: March 12, 2013, 03:08:02 am »
Not with this program iirc. You need to use either mViewer for that, or use the TINCS to load images into text apps or as graph backgrounds. mViewer however requires ndless.

Some people need a high five in the face... with a chair.
~EC

Offline h4v0k3i

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Re: [Lua] Image Editor
« Reply #100 on: March 12, 2013, 09:30:58 am »
I saw a couple apps for ndless but I just got my nspire and have 3.2 on it. I figured I would try to find an app I could use without going back to 3.1
I scanned some notes from my math class and tried to put them into a document and it was not readable and I didn't know how to zoom.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Lua] Image Editor
« Reply #101 on: March 12, 2013, 09:41:45 am »
Well for now, from what I read from your post, there are only drawbacks in staying with 3.2 :P
So why don't you downgrade and be able to view your images ?
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Lua] Image Editor
« Reply #102 on: March 12, 2013, 03:20:47 pm »
The only thing better about 3.2 for gamers is that Lua has a physical engine, which is used by some recent Lua programs, but other than that not much.