Search found 3910 matches

by jsantos
11 Sep 2013, 01:58
Forum: General Discussion
Replies: 30
Views: 14294

Re: Noob questions about wether some things are possible or

Thanks for the answers. Actually i was editing the post on purpose in order not to spam you because otherwise you are going to start hating me :) hehe Getting feedback from users is not a reason to hate, in fact it is the opposite. Open as many threads as you want. I cannot guarantee you fast respo...
by jsantos
11 Sep 2013, 01:49
Forum: General Discussion
Replies: 30
Views: 15996

Re: How to change Image source at runtime?

An example, creating a texture filled in red #include <NsRender/IRenderSystem.h> #include <NsDrawing/Image.h> #include <NsDrawing/ImageSet.h> #include <NsDrawing/Color.h> using namespace Noesis; using namespace Noesis::Core; using namespace Noesis::Drawing; using namespace Noesis::Render; Ptr<ITextu...
by jsantos
09 Sep 2013, 14:49
Forum: General Discussion
Replies: 30
Views: 14294

Re: Noob questions about wether some things are possible or

Jesus (i think it's your name), I'm not sure i understand what you are saying here. Eliminating the Background does not result in the desired behavior. I need to get the MouseEvents on the full screen, on the root. A control doesn't send MouseEvent if there is no background nor "foreground&quo...
by jsantos
09 Sep 2013, 14:38
Forum: General Discussion
Replies: 30
Views: 15996

Re: How to change Image source at runtime?

We have a ticket to implement this in Unity but in C++ it can already be done. Although I would like to test it before if you can try these are the steps: 1. Create a texture using the rendersystem Ptr<ImageSet> imageSet = *new ImageSet(ImageSetLayout_2D, 1); imageSet->SetImage(image.GetPtr()); text...
by jsantos
06 Sep 2013, 13:17
Forum: General Discussion
Replies: 30
Views: 14294

Re: Noob questions about wether some things are possible or

I think this is confusing... Having the property BackGround to Transparent means that control starts with a background set to (0,0,0,0). This is not the same as having the control background being transparent. So the behavior when the control fills the screen is correct although the result when it i...
by jsantos
06 Sep 2013, 00:57
Forum: General Discussion
Replies: 5
Views: 2755

Re: Error when adding style.xaml

Hi!

I just sent you a hotfix for this problem.

Thank.
by jsantos
06 Sep 2013, 00:26
Forum: General Discussion
Replies: 5
Views: 3145

Re: DependencyProperty with string value

The functions passed to NsProp must use const NsString&: const NsString& MyClass::GetText() const { return GetValue<NsString>(TextProperty); } void MyClass::SetText(const NsString& text) { SetValue<NsString>(TextProperty, text); } ... NsProp("Text", &MyClass::GetText, &...
by jsantos
06 Sep 2013, 00:19
Forum: General Discussion
Replies: 13
Views: 7454

Re: Tab Order / Focus

Hi, Excellent work! I see that there are more codes in OIS but many of them were intentionally omitted in Noesis. For example KC_LBRACKET and KC_RBRACKET don't correspond to a physical key in a Spanish Keyboard. We tried to avoid those conflicting keys. Although may be we should extend our enumerati...
by jsantos
06 Sep 2013, 00:00
Forum: General Discussion
Replies: 15
Views: 7719

Re: Build tool refusing Class directive

I think we don't have to change anything, the current architecture is correct.
  • You register your components in a new function called as you wish.
  • You implement the required exported function NsRegisterReflection. It is implemented by invoking the function defined above.
by jsantos
04 Sep 2013, 21:03
Forum: General Discussion
Replies: 13
Views: 7454

Re: Tab Order / Focus

Yeah, I would put it in the OgreBindings logic. I was mainly curious if Noesis already had that array defined so that I could paste it into my version of the bindings as a hot-fix (as opposed to me writing it by hand). If you don't already have it written though I can wait until the update goes out...