TechNet Posted July 26, 2013 Report Share Posted July 26, 2013 Hi,I need help with this function. Can somebody write simple example how to use it? I know that it isn't too hard but I have problem with this :oops: And another question. Can you recommend good font converter with compatible format to uGFX (32 px height).I' m really thankful for yours help Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 26, 2013 Report Share Posted July 26, 2013 Hello TechNet,The documentation describes the process as following: * @note The image custom draw function @p gwinButtonDraw_Image() uses param to pass in the gdispImage pointer. * The image must be already opened before calling @p gwinSetCustomDraw(). The image should be 3 * times the height of the button. The button image is repeated 3 times vertically, the first (top) for * the "up" image, the 2nd for the "down" image, and the third (bottom) image for the disabled state. If * the disabled state is never going to be used then the image can be just 2 times the button height. * No checking is done to compare the size of the button to the size of the image. * Note text is drawn on top of the image.If you have any problem getting it running anyway, please post some code so we can take a look and tell you what might be of a problem.~ Tectu Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 26, 2013 Report Share Posted July 26, 2013 I found some time to write a demo for you. The following is just an extension of the demo you can find in the repository and on the web page.main.c#include "gfx.h"#include "image_buttons.h"static GListener gl;static GHandle ghButton1;static gdispImage buttons;static void createWidgets(void) { GWidgetInit wi; // Apply some default values for GWIN wi.customDraw = 0; wi.customParam = 0; wi.customStyle = 0; wi.g.show = TRUE; // Prepare the images for the button gdispImageSetMemoryReader(&buttons, image_buttons); gdispImageOpen(&buttons); // Apply the button parameters wi.g.width = 79; wi.g.height = 32; wi.g.y = 10; wi.g.x = 10; wi.text = ""; // Create the actual button ghButton1 = gwinButtonCreate(NULL, &wi); // Apply the image gwinSetCustomDraw(ghButton1, gwinButtonDraw_Image, &buttons);}int main(void) { GEvent* pe; // Initialize the display gfxInit(); // Set the widget defaults gwinSetDefaultFont(gdispOpenFont("UI2")); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gdispClear(White); // Attach the mouse input gwinAttachMouse(0); // create the widget createWidgets(); // We want to listen for widget events geventListenerInit(&gl); gwinAttachListener(&gl); while(1) { // Get an Event pe = geventEventWait(&gl, TIME_INFINITE); switch(pe->type) { case GEVENT_GWIN_BUTTON: if (((GEventGWinButton*)pe)->button == ghButton1) { // Our button has been pressed printf("Button clicked\r\n"); } break; default: break; } } return 0;}image_buttons.hstatic const unsigned char image_buttons[] = { 0x47, 0x49, 0x46, 0x38, 0x37, 0x61, 0x4F, 0x00, 0x60, 0x00, 0xE7, 0xF1, 0x00, 0x18, 0x19, 0x17, 0x19, 0x1B, 0x18, 0x1A, 0x1C, 0x19, 0x1B, 0x1C, 0x1A, 0x1C, 0x1D, 0x1B, 0x1D, 0x1F, 0x1C, 0x1E, 0x1F, 0x1D, 0x1F, 0x20, 0x1E, 0x20, 0x21, 0x1F, 0x21, 0x23, 0x20, 0x22, 0x24, 0x21, 0x23, 0x24, 0x22, 0x24, 0x25, 0x23, 0x25, 0x27, 0x24, 0x26, 0x28, 0x25, 0x27, 0x28, 0x26, 0x28, 0x29, 0x27, 0x29, 0x2B, 0x28, 0x2A, 0x2C, 0x29, 0x2B, 0x2D, 0x2A, 0x2C, 0x2D, 0x2B, 0x2D, 0x2E, 0x2C, 0x2E, 0x2F, 0x2D, 0x2F, 0x31, 0x2E, 0x30, 0x32, 0x2F, 0x31, 0x33, 0x30, 0x32, 0x33, 0x31, 0x33, 0x34, 0x32, 0x34, 0x36, 0x33, 0x35, 0x37, 0x34, 0x36, 0x38, 0x35, 0x37, 0x39, 0x36, 0x38, 0x39, 0x37, 0x39, 0x3A, 0x38, 0x3A, 0x3B, 0x39, 0x3B, 0x3D, 0x3A, 0x3C, 0x3E, 0x3B, 0x3D, 0x3F, 0x3C, 0x3E, 0x40, 0x3D, 0x3F, 0x40, 0x3E, 0x40, 0x41, 0x3F, 0x41, 0x42, 0x40, 0x41, 0x43, 0x41, 0x43, 0x45, 0x42, 0x44, 0x46, 0x43, 0x45, 0x47, 0x44, 0x46, 0x48, 0x45, 0x47, 0x49, 0x46, 0x48, 0x49, 0x47, 0x49, 0x4A, 0x48, 0x4A, 0x4B, 0x49, 0x4A, 0x4C, 0x4A, 0x4C, 0x4E, 0x4B, 0x4D, 0x4F, 0x4C, 0x4E, 0x50, 0x4D, 0x4F, 0x51, 0x4E, 0x50, 0x52, 0x4F, 0x51, 0x53, 0x50, 0x52, 0x54, 0x51, 0x53, 0x54, 0x52, 0x54, 0x55, 0x53, 0x55, 0x56, 0x54, 0x56, 0x57, 0x55, 0x56, 0x58, 0x55, 0x57, 0x59, 0x56, 0x59, 0x5B, 0x58, 0x5A, 0x5C, 0x59, 0x5B, 0x5D, 0x5A, 0x5C, 0x5E, 0x5B, 0x5D, 0x5F, 0x5C, 0x5E, 0x60, 0x5D, 0x5F, 0x61, 0x5E, 0x60, 0x62, 0x5F, 0x61, 0x63, 0x60, 0x62, 0x64, 0x61, 0x63, 0x65, 0x62, 0x64, 0x65, 0x63, 0x65, 0x66, 0x64, 0x66, 0x67, 0x65, 0x67, 0x68, 0x66, 0x68, 0x69, 0x67, 0x68, 0x6A, 0x67, 0x69, 0x6B, 0x68, 0x6A, 0x6C, 0x69, 0x6B, 0x6D, 0x6A, 0x6C, 0x6E, 0x6B, 0x6D, 0x6F, 0x6C, 0x6E, 0x70, 0x6D, 0x6F, 0x71, 0x6E, 0x71, 0x73, 0x70, 0x72, 0x74, 0x71, 0x73, 0x75, 0x72, 0x74, 0x76, 0x73, 0x75, 0x77, 0x74, 0x76, 0x78, 0x75, 0x77, 0x79, 0x76, 0x78, 0x7A, 0x77, 0x79, 0x7B, 0x78, 0x7A, 0x7C, 0x79, 0x7B, 0x7D, 0x7A, 0x7C, 0x7E, 0x7B, 0x7D, 0x7F, 0x7C, 0x7E, 0x80, 0x7D, 0x7F, 0x81, 0x7E, 0x80, 0x82, 0x7F, 0x81, 0x83, 0x80, 0x82, 0x84, 0x81, 0x83, 0x85, 0x82, 0x84, 0x86, 0x83, 0x85, 0x87, 0x84, 0x86, 0x88, 0x85, 0x87, 0x89, 0x86, 0x88, 0x8A, 0x87, 0x89, 0x8B, 0x88, 0x8A, 0x8C, 0x89, 0x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C, 0x62, 0x20, 0x07, 0x74, 0x94, 0xA3, 0x0B, 0x3D, 0xA8, 0xC4, 0x39, 0xC0, 0x91, 0x03, 0x06, 0xC4, 0xA1, 0x1B, 0xDC, 0xE0, 0x44, 0x02, 0x1A, 0x80, 0xCC, 0x1C, 0x58, 0x40, 0x06, 0x3F, 0x68, 0xC1, 0x4B, 0x1A, 0x30, 0x02, 0x1F, 0xF0, 0x80, 0x09, 0xC8, 0x9C, 0x82, 0x01, 0x18, 0x30, 0xB2, 0x09, 0xC8, 0xE0, 0x19, 0xB6, 0x3C, 0x40, 0x03, 0xB0, 0xA0, 0x00, 0x06, 0x48, 0x60, 0x02, 0x7C, 0xC8, 0xA5, 0x3A, 0x6B, 0xA9, 0xCE, 0x5C, 0xEE, 0xB2, 0x0A, 0x64, 0x10, 0x01, 0x0A, 0x08, 0xA1, 0x31, 0x70, 0xFC, 0x00, 0x04, 0x81, 0xFE, 0x18, 0x47, 0x37, 0x3A, 0x51, 0x01, 0x14, 0x90, 0xC3, 0x1B, 0xDD, 0xA8, 0x82, 0x12, 0x30, 0x91, 0x8E, 0x72, 0x80, 0x23, 0x15, 0x39, 0xA8, 0x82, 0x3A, 0xCC, 0x31, 0x0E, 0x4F, 0x20, 0x80, 0x02, 0xBB, 0x28, 0x87, 0x36, 0x94, 0xB0, 0x82, 0x3B, 0x20, 0x13, 0x02, 0x25, 0xB0, 0x01, 0x2B, 0xCA, 0x91, 0x06, 0x1C, 0x58, 0xC1, 0x1B, 0xED, 0xBC, 0x65, 0x55, 0xB6, 0x41, 0xD2, 0x92, 0x9A, 0x94, 0xA4, 0x72, 0x80, 0x41, 0x15, 0xD0, 0xE0, 0x02, 0x10, 0xD4, 0x81, 0x1B, 0xE5, 0xE8, 0xC6, 0x10, 0x68, 0xE0, 0x88, 0x98, 0x76, 0x22, 0x04, 0x43, 0x38, 0x07, 0x40, 0xB1, 0xC0, 0x04, 0x82, 0x1A, 0x34, 0x15, 0x3D, 0xB0, 0xC2, 0x3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C2, 0x07, 0xAA, 0xFE, 0xC0, 0x75, 0x47, 0xD8, 0x40, 0x07, 0x7C, 0x7F, 0xC3, 0x15, 0xFE, 0xB0, 0xF9, 0x4C, 0x60, 0xC1, 0x0A, 0xAC, 0x80, 0x85, 0x1B, 0x32, 0xC0, 0x00, 0x03, 0x4F, 0xC2, 0x12, 0x43, 0x38, 0xC0, 0x89, 0xDB, 0xB0, 0xF5, 0x59, 0xD8, 0x01, 0x08, 0x2B, 0xB8, 0xC1, 0x18, 0x64, 0xE1, 0xF4, 0x59, 0x64, 0x01, 0x0B, 0x95, 0x10, 0x08, 0x37, 0xC0, 0x02, 0x62, 0x00, 0x7B, 0x22, 0x77, 0x7D, 0x22, 0xC7, 0x78, 0x5D, 0x30, 0x02, 0x59, 0xC0, 0x75, 0x49, 0xD0, 0x02, 0x74, 0xC0, 0x77, 0x2D, 0x50, 0x00, 0x59, 0xB0, 0x79, 0x84, 0x30, 0x00, 0x07, 0x00, 0x7D, 0x2D, 0xD0, 0x00, 0x25, 0x00, 0x03, 0x21, 0x10, 0x08, 0x81, 0x60, 0x00, 0x18, 0xF0, 0x02, 0x2D, 0xA0, 0x03, 0xB2, 0x40, 0x0B, 0x42, 0x10, 0x00, 0x05, 0x20, 0x03, 0x16, 0xB0, 0x00, 0x27, 0xE0, 0x09, 0xAF, 0x30, 0x0B, 0x02, 0x60, 0x00, 0x45, 0x40, 0x00, 0x05, 0xA0, 0x00, 0x0B, 0x40, 0x06, 0xD6, 0xC7, 0x6E, 0xC5, 0x60, 0x7C, 0x3E, 0xF8, 0x83, 0x96, 0x37, 0x0B, 0x5F, 0x50, 0x02, 0x43, 0xF0, 0x04, 0x18, 0xE0, 0x01, 0x6B, 0x10, 0x75, 0xB6, 0x20, 0x03, 0x17, 0x60, 0x06, 0x50, 0x67, 0x08, 0x0E, 0xE0, 0x01, 0x7F, 0x67, 0x0B, 0x6A, 0x85, 0x07, 0x96, 0x27, 0x0B, 0x8A, 0xC0, 0x02, 0xB6, 0x27, 0x0B, 0xB6, 0x80, 0x08, 0x03, 0xD0, 0x00, 0x8F, 0x10, 0x0B, 0xAA, 0xA0, 0x03, 0x20, 0x00, 0x06, 0xB2, 0x80, 0x0B, 0x09, 0xB0, 0x01, 0x29, 0x70, 0x08, 0xB3, 0x40, 0x05, 0x2B, 0x60, 0x7B, 0x40, 0x08, 0x84, 0xB4, 0xC0, 0x6E, 0xC9, 0x00, 0x76, 0x76, 0x78, 0x87, 0x5C, 0xA7, 0x0B, 0x61, 0x60, 0x02, 0x46, 0x40, 0x05, 0x25, 0x90, 0x01, 0x61, 0xF0, 0x0A, 0xB6, 0xB0, 0x0B, 0x38, 0x90, 0x02, 0x74, 0x40, 0x0B, 0xFE, 0xBA, 0xA0, 0x08, 0x19, 0x60, 0x03, 0xB3, 0x30, 0x88, 0x48, 0xF0, 0x03, 0x7C, 0xC0, 0x75, 0xB8, 0xE0, 0x08, 0x31, 0x70, 0x04, 0x5C, 0xB7, 0x0B, 0x4C, 0xD0, 0x00, 0x5B, 0x90, 0x87, 0x85, 0x90, 0x03, 0x3D, 0x30, 0x88, 0x11, 0x20, 0x03, 0x85, 0x80, 0x88, 0x76, 0xE0, 0x03, 0x58, 0x80, 0x87, 0xA8, 0xB8, 0x0B, 0x74, 0x88, 0x8A, 0x77, 0x88, 0x88, 0x7B, 0xE8, 0x05, 0x88, 0x78, 0x06, 0x2C, 0x33, 0x88, 0x39, 0xF0, 0x02, 0x78, 0x30, 0x88, 0x8B, 0xD0, 0x01, 0x3E, 0x70, 0x89, 0x3F, 0x50, 0x03, 0x79, 0x20, 0x89, 0x8C, 0x50, 0x02, 0x41, 0x40, 0x0B, 0x88, 0x58, 0x03, 0x1C, 0x60, 0x07, 0x9D, 0xB7, 0x0B, 0x8F, 0x50, 0x03, 0x3C, 0x30, 0x88, 0x13, 0xE0, 0x23, 0x88, 0xB8, 0x06, 0x32, 0xE0, 0x05, 0xAC, 0x78, 0x87, 0xAA, 0x38, 0x08, 0x75, 0x58, 0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, 0xA1, 0x80, 0x71, 0xF6, 0x56, 0x9D, 0xD6, 0x79, 0x9D, 0xD8, 0xC9, 0x6E, 0x8A, 0x05, 0x00, 0x0A, 0xCF, 0x10, 0x10, 0x00, 0x3B,};The image is a *.gif so make sure you got that format enabled in your gfxconf.h.I hope that helps,~ Tectu Link to comment Share on other sites More sharing options...
TechNet Posted July 26, 2013 Author Report Share Posted July 26, 2013 Yes, it works. You're great! Really thanks for support. If anyone can help with second question please write. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 26, 2013 Report Share Posted July 26, 2013 The font stuff is in the progress of a complete rework right now. Please stay tight, all your issues will be resolved soon...~ Tectu Link to comment Share on other sites More sharing options...
DeusExMachina Posted August 9, 2013 Report Share Posted August 9, 2013 What about non ASCI symbols? I need to use Russian fonts in my device Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted August 9, 2013 Report Share Posted August 9, 2013 That will work soon. µGFX gets UTF support shortly.~ Tectu Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted August 17, 2013 Report Share Posted August 17, 2013 Okay guys, here you go: unicode support!~ Tectu Link to comment Share on other sites More sharing options...
DeusExMachina Posted August 22, 2013 Report Share Posted August 22, 2013 Thank you for the greate stuff! I have another question - what about 2 lines in button text? Is it possible? Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted August 22, 2013 Report Share Posted August 22, 2013 Two lined button text is currently not possible. Of course you could add the text in the image of the button, if you're using the custom rendering routine.Please open an appropriate thread for future questions.~ Tectu Link to comment Share on other sites More sharing options...
rain62ster Posted September 21, 2018 Report Share Posted September 21, 2018 (edited) // Prepare the images for the button gdispImageSetMemoryReader(&buttons, image_buttons); gdispImageOpen(&buttons) undefined reference to `gdispImageSetMemoryReader' undefined reference to `gdispImageOpen' Edited September 21, 2018 by rain62ster Link to comment Share on other sites More sharing options...
wctltya Posted September 27, 2018 Report Share Posted September 27, 2018 On 22/08/2013 at 17:01, Joel Bodenmann said: Two lined button text is currently not possible. Actually It is, just use the new line inside the text and the library will take care. I've the following code for example: snprintf(buff, sizeof(buff), "%s\n%s", GetStringResource(txtUnitbackupsTitle[unbackupsItem_IAMtoMB], language), TextBuff); gwinSetText(ghUnitbackupsPageElmButton[unbackupsItem_IAMtoMB], buff, TRUE); Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted September 27, 2018 Report Share Posted September 27, 2018 Agreed - Over five years ago this wasn't supported/working. These days it works just fine Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now