April 24, 2024, 05:22:10 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Latest WME version:
WME 1.9.1
(January 1st, 2010) -
download
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Persitence in Windows
« previous
next »
Pages: [
1
]
Print
Author
Topic: Persitence in Windows (Read 2693 times)
0 Members and 1 Guest are viewing this topic.
eborr
Regular poster
Karma: 4
Offline
Posts: 196
Persitence in Windows
«
on:
March 23, 2012, 12:51:57 PM »
Quick question, if I change a value - say the sprite image in a window control, unload the window, and subsequently reload the window, does the image revert to the orginal, or will the changed image persist in the same way that if I change an image in a scene node it will persist
Logged
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: Persitence in Windows
«
Reply #1 on:
March 23, 2012, 05:37:12 PM »
Windows don't remember their state when unloaded/reloaded. This is typically not needed (or desirable) so if you need such behavior, you'll need to implement it yourself.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
eborr
Regular poster
Karma: 4
Offline
Posts: 196
Re: Persitence in Windows
«
Reply #2 on:
March 24, 2012, 10:39:27 AM »
I need to remember the state of certain window controls, I have managed it through the visible non visible options which seems to work ok, I guess the other way of doing it is to store the state values in a series of globals that are checked each time the window is loaded.
Logged
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Persitence in Windows