Skip to main content

Official coding starts, my first task - polished!

Hello again, it's been a while!


The last time I wrote this, I felt like I was getting pretty close to the completion of my first task. But, whenever I'd complete one thing, another thing popped up and so on and so forth it went.

These past 3 weeks,

- I worked on the positioning of tabs and dialogs which overlapped each other.

- I then worked on some individual widgets and added the support to flip them internally.
Have a look at some of them!

DropDownButtons:



Orignal
Flipped

Lists:

Orignal


Flipped

Sliders:

Orignal


Flipped


These involved majorly working with the XML theme-based layout system that ScummVM uses, and it feels so awesome that all of them now have the support to be viewed as in RTL!

- I worked on extending this RTL based support to the 3 existing themes, as well as extending support for RTL based on the resolution. Have a look!

High res: 960x600

Small res: 320x200
If you've ever played IGI, this gives some sort of relevance to it. I love this theme, so classy!
ScummVM classic theme

I also worked on making the text look right aligned and easy to see for RTL users
Load game lists - the numbers are on the right

While working on these, I also found a problem with the grid-based loading and saving of games. Notice how the middle row shows icons correctly, but the other rows don't? I spent a lot of time looking for this (2 days!), but couldn't figure it out!
Load game icons glitched

I asked for help and eventually saw what was causing the issue. It was because my code - while flipping the icons, did not modify the widths of the image basically. I didn't study the backends code related to this, which was causing me more time to understand what was going wrong. 
I thought my work would be abstracted away from the backend (and for the most part it was), but having at least a basic knowledge of how everything works internally can be very helpful, as you can see in situations like this. Below is the issue resolved!


Lastly, I worked on the input-able text: 
Adding text

From the last week, I am polishing up on this task, and making everything pitch-perfect. For the most part, I am so happy to say this - It is complete! 

Except for one small thing, you see the search bar above? It does not have the ability to view the previous chars if the text expands beyond the region it is drawn... at least, not yet :)
Tonight is the night I plan to finish this and have my PR feature ready and enabled for use!

It was a pleasure talking! The coding period might officially start now, but my schedule will stay the same, as I started my tasks right after my acceptance. I'll be blogging more often now, so - I'll see you in a week!


Thanks for reading!






Comments

Popular posts from this blog

I got accepted into GSoC!

Hello World GSoC!A start of a wonderful journey, and I'm a part of it! I'm pleased to announce that my proposal has been accepted to GSoC 2020! 
From coding "Hello World", to making small projects, to being a part of ScummVM's GSoC student is fascinating. You know, honestly speaking, I didn't think I would make it. I started my GSoC proposal late, around 19th March. I sent in the first mail to my potential mentor then - and crafting a great proposal usually takes many days. Regardless of the proximity to the deadline, I worked as hard as I could to make a decent proposal, and on 4th May - that hard-work reflected an essential part of my life!
This is my first ever professional experience, and things look a little scary but I have fantastic mentors. Eugene "sev" Sandulenko - the current project lead of ScummVM & John "DJWillis" Willis - team member of ScummVM since 2006. In fact, they're so qualified that it's almost overwhelming! …

My first week experience and my first task!

Hello, it's nice to talk to you again! This is my first week after being accepted into ScummVM and I have a lot to talk about, so let's get started. A little sidenote - Originally, I thought to update my blog once every two weeks and that it would be a good idea, but I just really wanted to update you guys with my exciting first week! 
I was reading my fellow GSoC student's introductory blog post when I realized that the introductory blog post is also meant to introduce a person, something I completely forgot in my first post.
Yes, that's right, I forgot to introduce myself - in my introductory blog post. You read that right - but I hope that you didn't find it rude, I was just really excited to be a part of ScummVM for this summer, and somehow forgot what I was supposed to write! Let's do it right this time before we move on to my first week's experience!

Introduction Hiya! I am Aryan Rawlani, a Computer Science student in Ahmedabad, India. I am 19 years o…