Toolbar - Define size of icons 16x16, 32x32 ...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Toolbar - Define size of icons 16x16, 32x32 ...

Post by va!n »

its nice to have toobar feature in pure. but is there any way to user bigger icons (like 32x32, 48x48 and so on) ???? Would be nice to have the possibility to set the icon size of the toolbar!<br><br>
Maybe the pureteam can/will add some features of the nice old ToolBarLib from danilo ;)

Code: Select all

  If OpenWindow(0, 0, 0, 150, 25, "ToolBar", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
    CreateImage(0,16,16)
    StartDrawing(ImageOutput(0))
      Box(0,0,32,32,RGB(255,255,255))
      Box(4,4,16,16,RGB(255,0,0))
    StopDrawing()
    CreateImage(1,32,32)
    StartDrawing(ImageOutput(1))
      Box(0,0,32,32,RGB(255,0,0))
      Box(4,4,16,16,RGB(255,255,255))
    StopDrawing()
    
    If CreateToolBar(0, WindowID(0))
      ToolBarImageButton(0,ImageID(0),#PB_ToolBar_Toggle)
      ToolBarImageButton(1,ImageID(1))
    EndIf
    Repeat
    Until WaitWindowEvent() = #PB_Event_CloseWindow 
  EndIf
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
USCode
Addict
Addict
Posts: 923
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

good idea!

Post by USCode »

I agree! I posted a similar request recently as well:
http://www.purebasic.fr/english/viewtop ... highlight=
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

seems there is no really big interest in this feature!? maybe we should start a poll thread?
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
USCode
Addict
Addict
Posts: 923
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Post by USCode »

va!n wrote:seems there is no really big interest in this feature!? maybe we should start a poll thread?
Sounds reasonable to me ... go for it.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

There is already 2 threads (may be more) on this subject, no need to start another one. It's not by flooding the forum you will get such or such command implemented..
USCode
Addict
Addict
Posts: 923
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Post by USCode »

USCode wrote:Sounds reasonable to me ... go for it.
Fred wrote:There is already 2 threads (may be more) on this subject, no need to start another one. It's not by flooding the forum you will get such or such command implemented..
Scratch that... :wink:
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

@Fred:
ok ^^ But will you give us any info about this topic and what do you think about this feature? will you implent this in any future version or is there any issue you dont want it? Thanks! :wink:
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

It won't be done for now. Dunno about future versions.
quidquid Latine dictum sit altum videtur
Post Reply