Thread
:
[Announce] MStarDict for N900
View Single Post
Wikiwide
2015-01-15 , 22:12
Posts: 2,000 | Thanked: 3,345 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#
167
Colors, font size and copy-ability of the dictionary entries depend on what widget was used within MStarDict to display dictionary entries. Ideally, it would have been something using currently active theme for both color and font size of the text.
If I understand correctly, it's currently (see src/transwin.cpp ) :
window>alignment>pannable>vbox>several trans
trans=vbox consists of: hbox and Definition=label, where hbox consists of Expression=label and Bookname=label
So, we should be looking at style (or, even better, class - to be same as other parts of operating system) of
label = gtk_label_new("Definition");
to see any change in text color and text size. I am not sure what exactly sets the black background color, though.
[Edit]
label->set_selectable (true)
around
here
should work. Hopefully.
[/Edit]
Thank you. Best wishes.
Last edited by Wikiwide; 2015-01-15 at
22:27
.
Quote & Reply
|
Wikiwide
View Public Profile
Send a private message to Wikiwide
Find all posts by Wikiwide