1. WEE: Enhancement Request

If possible, can the Ctrl+Tab key combo be made to advance to the next tab? Ctrl+Shift+Tab to go backwards?

Also, can the active tab be somewhat more obvious? On my Windows 7 PC, it's not quickly obvious.

Thank you!

new topic     » topic index » view message » categorize

2. Re: WEE: Enhancement Request

I can do the ctrl-tab switching, no problem.

I don't know what you mean by active tab being hard to notice. On my Win7, the active tab is white and other tabs are shaded grey. What does it look like on your system?

new topic     » goto parent     » topic index » view message » categorize

3. Re: WEE: Enhancement Request

euphoric said...

Also, can the active tab be somewhat more obvious? On my Windows 7 PC, it's not quickly obvious.

Thank you!

Ditto. On my Ubuntu Linux system the active tab does not appear to be shaded at all, but the vertical border lines encompassing the active tab are slightly darker than the border lines of the inactive tabs which are so faint as to be nearly invisible. Also, the tab font is very small perhaps 10 pts or less. Is there any way to configure the size of the tab fonts, and perhaps the menu fonts as well under GTK/Linux?

Regards, Ken

new topic     » goto parent     » topic index » view message » categorize

4. Re: WEE: Enhancement Request

Ken,

The GTK menus and tab fonts are controlled by your GTK theme. Can you adjust the font sizes using one of these tools?

Irv, do you have any suggestions?

new topic     » goto parent     » topic index » view message » categorize

5. Re: WEE: Enhancement Request

I switched from Ubuntu's default Unity Desktop or whatever to LXDE. Immediately the Wee's current tab was displayed in bold letters with a distinctive blue underline - really nice looking. I then was able to run desktop preferences and increase the menu font size.

Something must be wrong with my Unity configuration. I think I'll stick with LXDE.

Thanks for the suggestions.

Ken

new topic     » goto parent     » topic index » view message » categorize

6. Re: WEE: Enhancement Request

PeteE said...

I can do the ctrl-tab switching, no problem.

I don't know what you mean by active tab being hard to notice. On my Win7, the active tab is white and other tabs are shaded grey. What does it look like on your system?

Screenshot of WEE Tabs

Thanks, Pete!

new topic     » goto parent     » topic index » view message » categorize

7. Re: WEE: Enhancement Request

euphoric said...

Screenshot of WEE Tabs

Thanks, Pete!

If you're translating WEE to an executable, make sure you include a Resource file with a manifest to enable Common Controls version 6.

This is what provides the "themed" tab interface. The Interpreter is already compiled with the requisite manifest.

-Greg

new topic     » goto parent     » topic index » view message » categorize

8. Re: WEE: Enhancement Request

ghaberek said...
euphoric said...

Screenshot of WEE Tabs

Thanks, Pete!

If you're translating WEE to an executable, make sure you include a Resource file with a manifest to enable Common Controls version 6.

This is what provides the "themed" tab interface. The Interpreter is already compiled with the requisite manifest.

-Greg

Greg, running wee.exw interpreted seems to have the same indistinguishable tab styling as the translated wee.exe for me. getlost

new topic     » goto parent     » topic index » view message » categorize

9. Re: WEE: Enhancement Request

Well, so much for the "easy fix".

Euphoric, could you test this for me before I release it? In ui_win.e replace the ui_select_tab function with this:

global procedure ui_select_tab(integer tab) 
    atom junk, rect 
    integer w, h 
 
    -- change tab, and highlight it to make it stand out 
    junk = c_func(SendMessage, {htabs, TCM_HIGHLIGHTITEM,  
	c_func(SendMessage, {htabs, TCM_GETCURSEL, 0, 0}), 0}) 
    junk = c_func(SendMessage, {htabs, TCM_SETCURSEL, tab-1, 0}) 
    junk = c_func(SendMessage, {htabs, TCM_HIGHLIGHTITEM, tab-1, 1}) 
 
    if hedit then 
        -- hide the previous hedit 
        c_proc(ShowWindow, {hedit, SW_HIDE}) 
    end if 
 
    hedit = ui_hedits[tab] 
 
    -- update the richedit control to the window size 
    rect = allocate(16) 
    c_proc(GetClientRect, {hMainWnd, rect}) 
    c_proc(MoveWindow, {hedit, 0, tab_h, peek4u(rect+8), peek4u(rect+12)-tab_h, 1}) 
    free(rect) 
    c_proc(ShowWindow, {hedit, SW_SHOW}) 
    junk = c_func(SetFocus, {hedit}) 
end procedure 
new topic     » goto parent     » topic index » view message » categorize

10. Re: WEE: Enhancement Request

euphoric said...

Greg, running wee.exw interpreted seems to have the same indistinguishable tab styling as the translated wee.exe for me. getlost

Are you using eui.exe or euiw.exe? I don't know if eui.exe has the manifest compiled in.

Scratch that. I just downloaded the latest WEE and mine looks fine with eui.exe or euiw.exe. Not sure what your problem is there, bud.

-Greg

new topic     » goto parent     » topic index » view message » categorize

11. Re: WEE: Enhancement Request

PeteE said...

Well, so much for the "easy fix".

Euphoric, could you test this for me before I release it? In ui_win.e replace the ui_select_tab function with this:

global procedure ui_select_tab(integer tab) 
--...end procedure 

Pete, I see no difference between the interpreted one with your change and the translated one without it.

Anything else you want me to try?

Running with euiw.exe seems to work for highlighting the active tab, even without your change to ui_select_tab().

new topic     » goto parent     » topic index » view message » categorize

12. Re: WEE: Enhancement Request

ghaberek said...
euphoric said...

Greg, running wee.exw interpreted seems to have the same indistinguishable tab styling as the translated wee.exe for me. getlost

Are you using eui.exe or euiw.exe? I don't know if eui.exe has the manifest compiled in.

Scratch that. I just downloaded the latest WEE and mine looks fine with eui.exe or euiw.exe. Not sure what your problem is there, bud.

-Greg

Well, I ran it with euiw, and I get highlighted tabs. IOW, running with EUIW works for me, even without Pete's change to ui_select_tab() (as far as I can tell).

I tested that theory by running update and getting the latest updated code. Now, if you've updated that, then well. If you haven't, then the problem is me running wee.exw with eui instead of euiw.

When I translate wee.exw, how do I "install" a manifest with it? smile

new topic     » goto parent     » topic index » view message » categorize

13. Re: WEE: Enhancement Request

euphoric said...

[...]

When I translate wee.exw, how do I "install" a manifest with it? smile

I use OpenWatcom, works fine to build wee.exe even with eu4.0.6

my rc_file:

#include <winver.h> 
ICON	  ICON			wee.ico 
 
1 24 manifest.xml 
 
//-- version info (shown in file properties) 
VS_VERSION_INFO VERSIONINFO 
FILEVERSION 0, 0, 3, 2 
PRODUCTVERSION 0, 0, 3, 2 
FILEOS VOS__WINDOWS32 
FILETYPE VFT_APP 
// FILETYPE VFT_DLL 
 
BEGIN 
   BLOCK "VarFileInfo" 
   BEGIN 
      VALUE "Translation", 0x409, 1252  // Englisch (USA), Windows/Multilingual 
//    VALUE "Translation", 0x407, 1252  // German,         Windows/Multilingual 
   END 
 
   BLOCK "StringFileInfo" 
   BEGIN 
      BLOCK "040904E4"                  // Englisch (USA), Windows/Multilingual 
//    BLOCK "040704E4"                  // German,         Windows/Multilingual 
      BEGIN 
         VALUE "FileVersion",      "0.32\0" 
         VALUE "FileDescription",  "Wee Euphoria Editor\0" 
         VALUE "LegalCopyright",   "(c) Pete Eberlein\0" 
 
         VALUE "ProductVersion",   "0.32\0" 
         VALUE "ProductName",      "WEE Editor\0" 
         VALUE "OriginalFilename", "wee.exe\0" 
         VALUE "InternalName",     "WEE\0" 
         VALUE "CompanyName",      "Pete Eberlein\0" 
         VALUE "Comments",         "Work in progress\0" 
      END 
   END 
END 
 

my manifest.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
<dependency> 
<dependentAssembly> 
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*"/> 
</dependentAssembly> 
</dependency> 
</assembly> 

Hope tis helps

Andreas

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu